Remove Guest Session From LightDM Login ~ Ubuntu 11.10

  • To remove the guest session, you will need to edit the LightDM configuration file.  To do so, open the terminal and open the configuration file by running:

    sudo gedit /etc/lightdm/lightdm.conf

    The file will read:


    Add allow-guest=false to the end of the file so it reads:


    Save the configuration file.  When you restart your computer, the guest session will be gone.

    The only caveat to removing the guest session is that the user menu will be removed from the panel.



    November 14th, 2011 | Joe Steiger | 6 Comments | Tags: , , , , , , , , , ,

About The Author

Joe Steiger

The owner and chief editor of Ubuntu user, android fanatic, tech enthusiast, Baltimore Ravens fan,...

  • mickey

    will this also work to get rid of the “other” option? “allow-other=false”

  • Sascha 80


    is it possible to hide usernames???

  • Not that I know of.

  • I haven’t found a way to do that.  I want to too.

  • Nick Russo

    To hide usernames, try adding “greeter-hide-users=true” to the same file.

  • Thanks for the tip, I was going up my own orifice trying to do that!