VDI Thin Client Deployment +++++++++++++++++++++++++++ Deployment of EncloudEn thin client on client system. Step 1: ^^^^^^^ Install latest version of fedora xfce from https://spins.fedoraproject.org/xfce/download/index.html and follow below steps after making bootable USB from ISO which is downloaded from given link. Select 'Start Fedora-Xfce-Live 29' and press Enter --------------------------------------------------- .. figure:: images/vdipics/1.png .. figure:: images/vdipics/2.png :align: center After booting click on 'Login In' ---------------------------------- .. figure:: images/vdipics/3.png :align: center Then main desktop screen shows, double click on 'Install to Hard Drive' option from Desktop --------------------------------------------------------------------------------------------- .. figure:: images/vdipics/4.png :align: center Main screen will come, select 'English' from left side and 'English (United States)', then click on 'Continue' --------------------------------------------------------------------------------------------------------------- .. figure:: images/vdipics/5.png :align: center On next screen, click on 'Time & Date' & then select Asia/Kolkata from map, then click on Done ------------------------------------------------------------------------------------------------ .. figure:: images/vdipics/6.png .. figure:: images/vdipics/7.png :align: center Now click on 'INSTALLATION DESTINATION' & click on disk and then on Done ------------------------------------------------------------------------- .. figure:: images/vdipics/8.png :align: center From summary screen click on 'Begin Installation' -------------------------------------------------- .. figure:: images/vdipics/9.png :align: center Then on next screen click on 'Root Password' to set root password and then on Done. ----------------------------------------------------------------------------------- .. figure:: images/vdipics/10.png .. figure:: images/vdipics/11.png :align: center Now click on 'User Creation' to create new user & then on Done --------------------------------------------------------------- .. figure:: images/vdipics/12.png :align: center After process is done, 'Reboot' option will show, click on Reboot to restart the system ------------------------------------------------------------------------------------------ .. figure:: images/vdipics/13.png :align: center Step 2: ^^^^^^^^ Copy **vdiclient** folder from session_broker folder to /home/vuser/Desktop location and also copy 'redhat' folder to /usr/lib/rpm/ folder. Step 3: ^^^^^^^^ Change permission of vdiclient folder .. code-block:: bash # chown vuser:vuser /home/vuser/Desktop/vdiclient # chown -R vuser:vuser /home/vuser/Desktop/vdiclient* Step 4: ^^^^^^^ Install vdiclient by running install.sh .. code-block:: bash # sh /home/vuser/Desktop/vdiclient/install.sh .. figure:: images/vdi/install.sh.png Step 5: ^^^^^^^^ Create launch.sh file to launch vdi after system is booted. .. code-block:: bash # vim /home/vuser/Desktop/vdiclient/launch.sh python /home/vuser/Desktop/vdiclient/enclouden_vdi_client.py .. figure:: images/vdi/launch.sh.png - Change permission of files .. code-block:: bash # chmod +x /home/vuser/Desktop/vdiclient/enclouden_vdi_client.py # chmod +x /home/vuser/Desktop/vdiclient/launch.sh Step 6 ^^^^^^^ To create startup application for vdiclient. - Right Click on screen --> Applications --> Settings --> Session ans startup - Application Autostart --> Add .. figure:: images/vdi/star1.png :align: center .. figure:: images/vdi/star2.png :align: center .. figure:: images/vdi/star3.png :align: center - Name ---- Name of App ---- - Description ---- Description of App ---- - Command ---- Full path of launch.sh ---- .. figure:: images/vdi/add.png .. figure:: images/vdi/add1.png Step 7: ^^^^^^^^ Disable screensaver - Right click on screen --> Applications --> Settings --> screensaver - Mode --> Disable Screen Saver .. figure:: images/vdi/screensaver.png Step 8: ^^^^^^^ Change power settings - Right click on screen --> Settings --> power manager - When power button is pressed --> Shutdown .. figure:: images/vdi/power.png :align: center Step 9: ^^^^^^^^ Change user password - Right Click on screen --> Applications --> Administration --> Users and groups - Login as root .. figure:: images/vdi/root.png :align: center - Select 'vuser' --> Properties --> delete password --> ok .. figure:: images/vdi/vuser.png Step 10: ^^^^^^^^ Edit /etc/lightdm/lightdm.conf .. code-block:: bash # vim /etc/lightdm/lightdm.conf *under[seat.*] section uncomment following lines* autologin-user=vuser autologin-in-background=false .. figure:: images/vdi/lightm.conf.png :align: center - Change wallpaper - right click --> Desktop Settings --> Background Step 11: ^^^^^^^^^ Change IP in config file - We have to give cloudIP of machine where vdiclient will take request from. - Edit /home/vuser/Desktop/vdiclient/config/app_config.yaml - Give CloudIP - 192.168.230.40 .. figure:: images/vdi/condif.png - Save file and exit Step 12: ^^^^^^^^ - Reboot the thin client machine to take changes. - After reboot it should open directly EncloudEn vdiclient GUI .. figure:: images/vdi/gui.png Step 13: ^^^^^^^^^ - Enter credentials to login to VM