Thursday, September 28, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  138] [ 0]  / answers: 1 / hits: 299204  / 10 Months ago, tue, december 13, 2022, 5:57:45

I recently installed Ubuntu 14.04 LTS it works fine but I want to remove the guest account login.

More From » login


Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo nano /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

Add the following line, save and then close.


Reboot, and you're set.


Thanks to Gunnar Hjalmarsson

Based on Gunnar Hjalmarsson comment "ubuntu-session was last updated in the middle of March. Try sudo apt-get install --reinstall ubuntu-session" when that is done, the Guest session returns.

After some research, this can be done a different way as well.

Open /etc/lightdm/lightdm.conf file from your terminal using the following command:

sudo -H gedit /etc/lightdm/lightdm.conf

If the file exists, then just add the following line:


Otherwise copy and paste the following into it:


Save the file and exit the editor. Reboot your system, and the changes will remain even after an update to ubuntu-session as mentioned by Gunnar Hjalmarsson's comment.

[#25850] Wednesday, December 14, 2022, 10 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 11
Total Questions: 122
Total Answers: 118

Location: Peru
Member since Tue, Mar 16, 2021
3 Years ago
herriail questions
Fri, Apr 7, 23, 19:31, 6 Months ago
Tue, May 18, 21, 02:11, 2 Years ago
Sun, Dec 12, 21, 06:06, 2 Years ago
Wed, May 24, 23, 01:42, 5 Months ago
Sun, Jan 29, 23, 00:48, 9 Months ago