Want to hide the guest session from Ubuntu 12.04 logon screen? This quick tutorial shows you how to do that easily. Now that Ubuntu 12.04 is right about the corner, I have been receiving many requests from our faithful audience about Precise Pangolin. One such request was how to hide the guest session from the logon.  To learn how, continue reading below.

Objectives:

  • Hide the guest session from Ubuntu 12.04 (Precise Pangolin)
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to open light.conf file.

sudo gedit /etc/lightdm/lightdm.conf

 

precise_guest

 

When the file opens, add the line below at the end of the file and save.

allow-guest=false

 

precise_guest_1

 

Finally, run the commands below to restart lightdm.

sudo restart lightdm

 

precise_guest_3

 

Enjoy!

 

precise_guest_2

 

That’s it!