• Disable the guest session in Ubuntu 11.10 or higher

    Remove Guest Session  from Ubuntu

    Ubuntu come with a “Guest Session” account, which anyone can log into without password ,you can disable the guest account by following these steps :

      1.  edit lightdm.conf which controls LighDM display manager :
        vi /etc/lightdm/lightdm.conf
    [SeatDefaults]
    greeter-session=unity-greeter
    user-session=ubuntu
    allow-guest=false
    1. restart the graphical desktop environment:
      sudo restart lightdm

    To Enable the guest session again ,remove the allow-guest=false line from /etc/lightdm/lightdm.conf

     

    Categories: Linux

    Comments are currently closed.