Chances are you’re the only one who’s going to be using your computer and for anyone to login as a guest user is not likely. The guest account is a built-in account that’s also available in Ubuntu 13.04 Raring Ringtail to give user temporary access to your machine without putting your information at risk.

That’s because anyone who uses the guest account to sign in has no rights to modify the machine or perform significant change to it.

As soon as the guest user logs off, all changes are restored to what is used to be.

This brief tutorial is going to show you how to remove the guest session or user from the logon screen so no one will use it since you’re the only one who needs access to your machine.

To get started with removing the guest session from the logon screen in Ubuntu, press Ctrl – Alt – T on your keyboard to open the terminal or console. When it opens, run the commands below to disable the guest session.

sudo /usr/lib/lightdm/lightdm-set-defaults -l false

 

remove_guest_session_1304

 

To undo it or re-enable the guest account, run the commands below.

sudo /usr/lib/lightdm/lightdm-set-defaults -l true

 

Or run the commands below to open lightdm.conf file

gksudo gedit /etc/lightdm/lightdm.conf

 

Then change the line highlighted below to false and save the file.

allow-guest=false

 

 

remove_guest_session_1304_1

 

When you’re done, restart your computer or run the commands below to restart lightdm.

sudo restart lightdm

 

Enjoy!

 

remove_guest_session_1304_2

Frequently Asked Questions

How do I disable guest session in Ubuntu 13.04?

To disable the guest session in Ubuntu 13.04, open the terminal and run the command: sudo /usr/lib/lightdm/lightdm-set-defaults -l false.

Can I re-enable the guest account on Ubuntu 13.04?

Yes, you can re-enable the guest account on Ubuntu 13.04 by running the command: sudo /usr/lib/lightdm/lightdm-set-defaults -l true.

What is the purpose of the guest session in Ubuntu 13.04?

The guest session in Ubuntu 13.04 provides temporary access to the machine without allowing the user to make significant changes. Changes made by the guest user are discarded upon logout.

How can I prevent others from using the guest session on my Ubuntu machine?

To prevent others from using the guest session on your Ubuntu machine, you can disable it by changing the 'allow-guest' parameter to false in the lightdm.conf file.

What happens to the changes made by a guest user in Ubuntu 13.04?

Any changes made by a guest user in Ubuntu 13.04 are reverted back to the original state upon logout, ensuring that no permanent modifications are made.

Is it safe to keep the guest session enabled on Ubuntu 13.04?

While the guest session in Ubuntu 13.04 limits user privileges, it's advisable to disable it if you are the sole user of the machine to enhance security and privacy.

How do I restart lightdm after making changes to the guest session settings?

To restart lightdm after modifying the guest session settings, run the command: sudo restart lightdm to apply the changes.

Why should I remove the guest session from the logon screen in Ubuntu?

Removing the guest session from the logon screen in Ubuntu enhances security by ensuring that only authorized users have access to the machine and prevents unauthorized usage.