Comment 3 for bug 886490

Revision history for this message
Hadmut Danisch (hadmut) wrote :

Hi Gunnar,

thanks for the hint.

Does that "tutorial" still aply? Seems to be almost a year old.

And I noticed that my test machine with an early beta version of 11.10 still came with those guest-session packages (and the guest session could be disabled by simply removing the guest session package), while machines upgraded or freshly installed with the final 11.10 don't have these packages. Seems as if these guest session functionality had been moved into lightdm itself somewhere in the beta state of 11.10. There is not even a /etc/guest-session on my machines.

Now it seems to setup the guest account through /usr/sbin/guest-account, which uses some files from /etc/guest-session, if they exist. It however allows only local settings, but not a different method of mounting the file system.

The solution might be to write a completely different shell script, and I guess the configuration variable guest-account-script would allow to run a different guest script than /usr/sbin/guest-account.

Which is not really advisable since the documentation of lightdm is rather poor and it is not exactly obvious what lightdm expects from this script.