Your privacy is important, and almost every Linux distribution has features, tricks, and foundations that help keep your information safe. Take the idea of the guest session as an example, how to Enable Guest Session on Ubuntu. The idea is for your operating system to have a special login that lets other people use the computer without being able to see any of your data.
At the same time, there would be no information saved between guest sessions. In other words, anyone could use your computer, and once they logged out of the guest session, all the data they collected would be thrown away.
Because of this, the guest session is important for people who sometimes (or often) have to share a computer with other people. This could even be used by small businesses that want to give their customers computers that look like kiosks. though Ubuntu doesn’t have Guest Session turned on by default, it’s easy to turn it on. we will show you how to do that very thing.
How to Enable Guest Session on Ubuntu
- Open the Terminal by pressing Ctrl+Alt+T on your keyboard.
- In the Terminal, type the following command and press Enter to open the LightDM configuration file:bashCopy code
sudo nano /etc/lightdm/lightdm.conf
- If the file doesn’t exist, you may need to create it. In that case, the Terminal will display an empty file.
- In the text editor, add the following lines to the file:csharpCopy code
- To save the changes and exit the text editor, press Ctrl+O to write the file and then Ctrl+X to exit.
- Restart the LightDM service by typing the following command in the Terminal and pressing Enter:Copy code
sudo service lightdm restart
- After the service restarts, log out of your current session.
- On the login screen, you should now see an option for the guest session. Select it to log in as a guest.
What is Guest Session on Ubuntu
Ubuntu has a feature called “guest session” that lets users temporarily sign in to the operating system with limited rights. This means that they can’t access personal files or change the settings of the main user account. This feature is especially helpful when you need to give someone temporary access to your files or apps without letting them know how secure they are.
When a guest logs in, Ubuntu makes a temporary user account that is only used for that session. This account has limited permissions, so software can’t be installed, system settings can’t be changed, and the primary user’s personal files can’t be accessed.
Press the Super key, then type “Login Window” and hit enter. Once in the login window settings, switch to the “Users” tab and click the “Allow guest sessions” slider to the “On” position. For the setting to take effect, you will have to restart your computer.
At the bottom right, select the time. Select Settings . In the “Security and Privacy” section, select Manage other people. Turn off Enable Guest browsing.