Originally Posted by
swu
We are using the autologin feature, so that's why we don't see the Guest login button. Can you auto login as "Guest?"
If you want to autologin as guest, then you need to add this line to the end of the file /etc/lightdm/lightdm.conf:
Code:
autologin-guest=true
Note that when you log out, you will still be presented with the login screen.
Originally Posted by
swu
Can you also customize the desktop and settings for the Guest account?
Thanks!
It's slightly complicated. Basically, when a new user is created. the content of /etc/skel is copied into the user's home folder (which contains all the personal configs, etc.) But when a new guest user is created, the content of /etc/guest-session/skel is copied into the guest user's home folder. So what you want to do is to add stuffs into /etc/guest-session/skel.
tl;dr Create the directory first:
Code:
sudo mkdir -p /etc/guest-session
sudo cp -r /etc/skel /etc/guest-session
Then create a new regular user, "example" for example. Log in that user and customize whatever you want. When done, log out and log back in your admin account, and run this command:
Code:
sudo cp -r /home/example/* /etc/guest-session/skel
to make sure the guest receive the customizations. When done, delete the user "example".
Bookmarks