Enable/Disable Guest Session Account in Ubuntu(Linux)

Ubuntu Guest Session feature provides a convenient way with a high level of security to lend your computer to someone else. A guest cannot view the home folders of other users and by default any saved data or changed settings will be removed/reset at logout.

How to Enable/Disable Guest Session Account in Ubuntu(Linux) ?

  • Open your Terminal (Ctrl+Alt+T) and type the following command then press “Enter”
    sudo gedit /etc/lightdm/lightdm.conf
    
  • Now, Give your system password and press “Enter”
  • You will get a text editor with lightdm.conf file opened, Add the below line and save,
    [SeatDefaults]
    allow-guest=false
    
  • Restart you System

You have successfully disabled your guest session account, You can enable it just by removing those line from lightdm.conf

Thank You !!

Siva Sankar

SIVA SANKAR, Working as a Software Engineer, Blogging is my hobby. I completed my Bachelors of Engineering (Computer Science Engineering) in Chennai, India. and my Master of Engineering (Embedded System Technologies) in Tamilnadu, India.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.