Do you want to remove your guest account in order to prevent others from accessing your system?. Don’t worry friends, just go through this article and you’ll find out how to remove the guest session in Ubuntu 14.04.
A guest account is an account which is used to get temporary access to any computer system. While using the guest account, you’re not able to change system settings or install any software unless you are authenticated by the administrator of that system.
Steps to remove guest account.
Step 1: First, Open your terminal by using “Ctrl + Alt + T”, then under terminal type: “sudo apt – get install gksu”. You’ll be prompted to provide your password, after typing your password just press enter.
Step 2: Now, you’ll be asked to continue this process simply press “y” (yes).
Step 3: After completion of that process, type: “gksu gedit /etc/lightdm/lightdm.conf” and press enter.
Step 4: You’ll see ‘lightdm.conf‘ file pop open, this file contains login credentials of the guest and user.
Step 5: Now add “allow-guest = false” at the end of the file, as shown in the image below.
Step 6: Finally, you have to use a restart function in order to apply your changes. For that type: “sudo restart lightdm” and press enter.