Table of Contents
Want to enable Guest session on Ubuntu Without switching to a different display manager, you can add Guest to the Gnome login screen so that other people can use your computer without being able to install or remove apps, change system-wide settings, or view files outside of its own directory.
Your privacy is important, and almost every Linux version has features, tricks, and foundations that help keep your information safe. Take the idea of the guest class as an example. 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 info.
At the same time, there would be no information saved between guest visits. 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. We mentioned below the steps to enable Ubuntu Guest Session. If you want to know more information about this Visit Official Microsoft Support site.
How to enable Guest session on Ubuntu

- The first thing you need to do is install LightDM display manager on your Ubuntu PC. Open the terminal and enter this command:
- sudo apt install lightdm
- When prompted, press Y and hit Enter.
- On the next prompt, select LightDM and hit Enter again to make LightDM your default display manager and complete the installation process.
- Now that LightDM is set up on your Ubuntu PC, you need to enable the guest session option. To do so, enter this command:
- sudo sh -c ‘printf “[Seat:*]\nallow-guest=true\n” > /etc/lightdm/lightdm.conf.d/40-enable-guest.conf’
- Now, all you have to do to test if it works is restart your PC. You should now see the guest session option below the login dialog box.
- Once you start the guest session, you’ll see this dialog box as a confirmation.
What is Guest Session?
A guest session is a brief account that you can make for someone else to use on your computer. It’s great for when friends or family come to visit and you don’t want them to see your private files. Ubuntu Guest Session are also a good way to let other people use your computer without giving them your login. Open the Settings app and go to Accounts to set up a guest session. Turn on the “Allow guest access” option under the “Guest” heading.
Now, if someone comes over and wants to use your computer, they can click on the “Guest” user account on the login screen. Once they are logged in, they will have full access to everything except your personal files. If you want to be extra safe, you can go into each app’s settings and limit what people can do with it. You could, for example, stop guests from using your email program so they can’t read your messages.
When the person is done using your computer, they can just log out of their guest account and all of their work will be gone. You don’t have to worry about them leaving behind files or apps that you don’t want. So, there you go. Guest sessions are a great way to give other people access to your computer without letting them do everything. Just make sure to make the experience fit the people who will be using it so that everyone has fun.
What is the Purpose of Guest Account?
A user account on a computer or other device is called a “guest account” if it only gives limited access to the system. It is usually used to give limited access to a friend or family member who does not have an account on the system. Guest accounts are generally made with less access than regular user accounts, so that guests can’t make changes to the system that will stay there.
For example, a person might be able to browse the web and use some apps, but they wouldn’t be able to install new software or change system settings. When you want to let someone use your computer without giving them full access to your files and settings, a guest account can help. They can also help when more than one person needs to use the same computer, like in a library or school lab.
If you have a guest account on your own computer, you can update its permissions to change how much access it has. For example, you could only let the guest account use certain apps or limit the amount of time it can spend on the Internet. On some devices, you may also be able to set an end date for the guest account so that it deletes itself after a certain amount of time.