Discussion:
[Ltsp-discuss] I can't get the client to start in kiosk mode
Robert Mavrinac
2016-06-30 15:41:27 UTC
Permalink
I have several Debian 8 LTSP servers. For a summer program, I need to create an additional image for a kiosk option to load the VMWare View client.


These are the steps I used to create the image:


+++++++++++++++


On the ltsp server:

ltsp-build-client --arch=i386 --chroot=vdi --dist=jessie --mirror=http://httpredir.debian.org/debian --kiosk --prompt-rootpass --purge-chroot


Enter the chroot and perform the following tasks:

ltsp-chroot -p -d -a vdi


cat > /etc/apt/sources.list << EOF
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
EOF


apt-get update
apt-get -y install vim aptitude linux-image-686-pae libxss1 openssl openssh-server libudev1 libglibmm-2.4 firmware-linux-nonfree firmware-realtek less wget
ln -s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
apt-get -y purge linux-image-586 linux-image-3.16.0-4-586 linux-image-486


wget https://download3.vmware.com/software/view/viewclients/CART15Q3/VMware-Horizon-Client-3.5.0-2999900.x86.bundle
sh VMware-Horizon-Client-3.5.0-2999900.x86.bundle
rm VMware-Horizon-Client-3.5.0-2999900.x86.bundle


cat > /usr/share/applications/vmware-view-client.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Icon=vmware-view-client-vmware
Exec=vmware-view
Categories=Application;Network;
Name=VMware View Client
Comment=Deliver rich, personalized virtual desktops with VMware View 6
EOF


cat > /etc/vmware/view-mandatory-config << EOF
view.sslVerificationMode="3"
EOF


(You can ignore the next 4 lines - I have a custom a update-kernels.conf)
rm -r /boot/pxelinux.cfg
scp root@`hostname`:/etc/ltsp/update-kernels.conf /etc/ltsp/update-kernels.conf
sed -i 's|ltsp/i386|ltsp/vdi|g' /etc/ltsp/update-kernels.conf
scp root@`hostname`:/boot/lpxelinux.0 /boot
/usr/share/ltsp/update-kernels

adduser --no-create-home --disabled-password --gecos ",,," ltspkiosk
adduser ltspkiosk audio
adduser ltspkiosk pulse
adduser ltspkiosk pulse-access


Exit the chroot


On the ltsp server again:

ltsp=update-image vdi
rm -r /var/lib/tftpboot/lsp/vdi/pxelinux.cfg
ltsp-update-kernels


Edit /var/lib/tftpboot/ltsp/vdi/lts.conf (add to top of section [default]):

KIOSK_EXE=/usr/bin/vmware-view
KIOSK_OPTIONS="--fullscreen --protocol=PCOIP -s view.your.domain -l -d CSPC1"
SCREEN_07=kiosk


+++++++++++++++


Even if I comment out the KIOSK exe and options, the client still won't start in kiosk mode (e.g. Firefox) and just drops into the LTSP login screen.


Any suggestions?
Robert Mavrinac
2016-07-07 19:31:19 UTC
Permalink
Never mind responding to this request!


I got multiple kiosks working on different ttys with our ltsp-pnp environment. I will be posting a separate question regarding how to maximize the kiosk application to work at the full resolution of any monitor.
Robert Mavrinac
2016-07-07 19:49:30 UTC
Permalink
I have kiosk applications working in LTSP, but I can't they don't use the full screen resolution.


Normally, I set this up per client using XRANDR_COMMANDs in lts.conf, like


XRANDR_DISABLE=False
XRANDR_COMMAND_1="xrandr --newmode 1280x1024 109.0 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync"
XRANDR_COMMAND_2="xrandr --addmode VGA-0 1280x1024"
XRANDR_COMMAND_3="xrandr --output VGA-0 --mode 1280x1024"


How do I get a kiosk applications to run at the full screen resolution of any monitor?
Robert Mavrinac
2016-07-08 17:59:02 UTC
Permalink
Well ...


This only seems to be happening with our 32-bit servers, which will soon be retired when we replace the last thin clients over the next couple of weeks.
Loading...