“UbuntuHelp:UbuntuLTSP/VMWareViewVDI”的版本间的差异
来自Ubuntu中文
小 (以内容'{{From|https://help.ubuntu.com/community/UbuntuLTSP/VMWareViewVDI}} {{Languages|UbuntuHelp:UbuntuLTSP/VMWareViewVDI}} # Author: Mikael Fridh <[email protected]> == …'创建新页面) |
(没有差异)
|
2010年5月20日 (四) 00:33的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
- Author: Mikael Fridh <[email protected]>
Introduction
This is the short documentation of a VDI (Virtual Desktop Infrastructure) client solution for connecting standard PC clients to a VMWare View VDI server solution. We use it on roughly 20 client computers in an interim period before we replace the client computers with _true_ thin clients.
Recipe
You will need to Install the VMWare View Open Client You will also need to create/modify a few files on the LTSP Server and the client chroot there. 1. Download and Install the View Client inside the chroot:
Example:
chroot /opt/ltsp/i386 mount -t proc proc /proc dpkg -i /tmp/VMware-view-open-client_4.0.1-235010_i386.deb umount /proc
2. Now we need to create or modify a few files:
- /opt/ltsp/i386/usr/share/ltsp/screen.d/vmview
- /opt/ltsp/i386/usr/share/ltsp/xinitrc.d/I15-rdesktop-keyfix
- /var/lib/tftpboot/ltsp/i386/lts.conf
/opt/ltsp/i386/usr/share/ltsp/screen.d/vmview
#!text #!/bin/sh # # The following script works for LTSP5 and was tested in Ubuntu 9.10 (Karmic Koala) Linux. # Original rdesktop script by James A. McQuillan, # modified for LTSP5 by Colin Osterhout of SERRC (www.serrc.org). # modified for VMWare View Open Client by # Mikael Fridh <[email protected]> # # This software is licensed under the Gnu General Public License. # The full text of which can be found at http://www.LTSP.org/license.txt # # Call this through /opt/ltsp/i386/etc/lts.conf like this: # CONSOLE_KEYMAP="se" # VMVIEW_SERVERURL="view01.etraveli.net" # VMVIEW_OPTIONS="--fullscreen" # RDP_OPTIONS="-k sv" # XKBLAYOUT="se" # SCREEN_02=vmview # PATH=/bin:$PATH; export PATH . /usr/share/ltsp/screen-x-common RDP_OPTIONS=${RDP_OPTIONS:-"-f"} if [ -x /usr/share/ltsp/xinitrc ]; then xinitrc=/usr/share/ltsp/xinitrc fi xinit $xinitrc /usr/bin/vmware-view \ --serverURL="${VMVIEW_SERVERURL}" \ "${VMVIEW_OPTIONS}" \ --rdesktopOptions=\"${RDP_OPTIONS}\" -- ${DISPLAY} vt${TTY} ${X_ARGS} -br >/dev/null
Make this file executable. /opt/ltsp/i386/usr/share/ltsp/xinitrc.d/I15-rdesktop-keyfix
#!text # Sourced # Try to work around sticking Alt/Meta keys. if [ -n "${RDP_OPTIONS}" ]; then xmodmap -e "keysym Alt_L = Alt_L" xmodmap -e "keysym Alt_R = Alt_R" fi
/var/lib/tftpboot/ltsp/i386/lts.conf
#!text [default] CONSOLE_KEYMAP="se" VMVIEW_SERVERURL="view01.etraveli.net" VMVIEW_OPTIONS="--fullscreen" RDP_OPTIONS="-k sv" XKBLAYOUT="se" SCREEN_02=vmview
Now configure your DHCP Server to make clients boot from this LTSP Server.
Extras
Caps Lock Issues
Caps Lock is per default inhibited in rdesktop v1.6.0. If you need Caps Lock and it doesn't work over your remote sessions, find and disable the Caps_Lock line in /opt/ltsp/i386/usr/share/rdesktop/keymaps/common:
# # Inhibited keys # #Caps_Lock 0x0 inhibit Multi_key 0x0 inhibit