I was wondering what is the best way to start the guest session from the login screen (GDM).
Currently, I created a new user called 'ubuntu-guest' (has to be something other than 'guest'). Then added the following script to the Startup Applications.
#!/bin/bash /usr/share/gdm/guest-session/guest-session-launch & /usr/bin/gnome-session-save --logout
The problem with this method, is that when you log in as 'ubuntu-guest', you have to start up two gnome sessions: one for 'ubuntu-guest' and one for the actual guest account.
Please let me know if you have any other better ideas. Thanks!
1. Never allow any Temporary User without a password to gain Access Control of your computer! FIRST Make a policy to prevent the single user guest from making system wide changes open text editor
gksu gedit /etc/polkit-1/localauthority/50-local.d/10-desktop-policy.pkla
insert text2. open terminal and start typing
to create blank password for this account:
to create Not asked for password on login for this account:
Edit /etc/gdm/gdm.schemas type:
and add guest to greeter/Include default
<schema>
<key>greeter/Include</key>
<signature>s</signature>
<default>guest</default>
</schema>
now
sudo restart gdm
NOTE: you will no longer be abel login to guest sessions from user accounts this is the new guest session and you will only be able to login from login screen any changes to this account will remain on logout until the computer restarts.
to restore open terminal and type:
then
sudo restart gdm
to copy your settings for guest session
There are forum posts and bug reports a-plenty on this. In one bug report, someone described a redneck guest session account they set up that might work for you.
Lock Down
You might want to look into this answer if you want to »Lock Down« a user account.