LTSP 5.2.1 kiosk not working

Bug #572974 reported by SClause
38
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This bug occurs in LTSP server package "ltsp-server_5.2.1-0ubuntu9_all".

I tried to build a client image with "ltsp-build-client --kiosk".
It finished with no error. Starting of the client was possible.

Problem: After booting the client there appears the login screen. Autologin of kiosk user does not work.

I searched for the problem in the package and that's what I found:
According to file /usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/030-kiosk
1) The user is not longer named "kiosk" but "ltspkiosk" instead
2) GDM is not installed in the kiosk-script
3) The lines for setting up autologin are missing.
In older packages there was something like this:

            # create a custom configuration for gdm
            cp $ROOT/etc/gdm/gdm.conf $ROOT/etc/gdm/gdm-kiosk.conf

            # do some sed magic to enable autologin
            sed -i s/AutomaticLoginEnable=false/AutomaticLoginEnable=true/ $ROOT/etc/gdm/gdm-kiosk.conf
            sed -i s/AutomaticLogin=/AutomaticLogin=kiosk/ $ROOT/etc/gdm/gdm-kiosk.conf
            sed -i s/TimedLoginEnable=false/TimedLoginEnable=true/ $ROOT/etc/gdm/gdm-kiosk.conf
            sed -i s/TimedLogin=/TimedLogin=kiosk/ $ROOT/etc/gdm/gdm-kiosk.conf
            sed -i s/TimedLoginDelay=30/TimedLoginDelay=5/ $ROOT/etc/gdm/gdm-kiosk.conf

            # set the new alternative we created as default config
            chroot $ROOT update-alternatives --install /etc/gdm/gdm-cdd.conf gdm-config-derivative /etc/gdm/gdm-kiosk.conf 55

4) The user ltspkiosk has no home-directory anymore
5) There is a comment in the 030-kiosk file describing to add "SCREEN_07=kiosk" to lts.conf file. This is not working as the X-server is crashing everytime.

At the login screen it is not possible to login with the "ltspkiosk" user. Instead it is possible to login with the server user but only a xterm appears.

Greetings
SClause

Revision history for this message
Tuomo Kallio-Kokko (tuomo-kalliokokko) wrote :

ltsp-client-core package in lucid seem to be missing files.
kioskSession script from /usr/share/ltsp/ is missing, It is used in /usr/share/ltsp/screen.d/kiosk
to workaround this, download the file from upstream (link below), copy it to chroot and it should be working.

http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/annotate/head%3A/client/kioskSession

Revision history for this message
Alex Zimmerman (azimmerman) wrote :

I still cannot seem to get this to work...

Where are you suggesting I copy kioskSession?

/usr/share/ltsp/screen.d/kiosk ?

if so I still cannot seem to get it to start the kiosk.

Thanks

Revision history for this message
Tuomo Kallio-Kokko (tuomo-kalliokokko) wrote :

You have to copy kioskSession-file to /usr/share/ltsp/ in your kiosk-root.
Also i forgot to mention that you have to give execute-permissions to that kioskSession -script.
sudo chmod +x kioskSession will do that.

Also i had problems with XCONF-parameter which is set by /usr/share/ltsp/screen-session.d/XS90-assembleXorgConf.
Because xinit is executed by ltspkiosk -user and not by root, it doesn't give permission to set xorg.conf.
i did workaround this by creating /usr/share/ltsp/screen-session.d/XS90-disassembleXorgConf and writing in there "unset XCONF X_CONF"

Revision history for this message
Vsgehlot7 (vsgehlot7) wrote :

noting is working after doing all this configuration .......client is not booting with firefox or kiosk mode instead it is booting in ubuntu login page ......what i can do ...tell me the exact way so that i can do that easily....
it is urgent basis....

os m using ubuntu 10.04
and ltsp-server i installed in kiosk mode

thanks in advance

Revision history for this message
Tuomo Kallio-Kokko (tuomo-kalliokokko) wrote :

if you are getting login screen then you have to add SCREEN_07 = kiosk to lts.conf

Revision history for this message
Robuntu (stiebel) wrote :

I run into the same issue.

Ubuntu 10.10, ltsp-build-image --chroot kiosk --kiosk

I "installed" the kioskSession to /opt/ltsp/kiosk/usr/share/ltsp/
I added the SCREEN_07 = kiosk to lts.conf
I did a ltsp-update-image -a kiosk

I still get a login-screen.

What else can we do?

Revision history for this message
Dro (thunsucker) wrote :

I ran into the same issue.

Setup: Ubuntu 10.04, fat clients running the kiosk screen script.

Steps to fix:
1. logged into the server
2. cd /opt/ltsp/kiosk/usr/share/ltsp/
3. wget http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/download/head:/kiosksession-20100126175421-j3qe71nsxfopg3p6-1/kioskSession
4. sudo chmod +x kioskSession
5. cd /usr/share/ltsp/screen-session.d/
6. created this file: XS90-disassembleXorgConf
7. contents of file: unset XCONF X_CONF
8. sudo chmod +x XS90-disassembleXorgConf
9. sudo ltsp-update-image

*just don't forget to add a user to the chroot: ltspkiosk

Revision history for this message
Stéphane Graber (stgraber) wrote :

Marking as fix released as 5.2.5-0ubuntu1 (natty) now includes client/kioskSession.

Changed in ltsp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.