Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After some research, i found that you can make specific users hidden by using terminal and changing their ID to below 1000. I've done this for one of my users but now I can't login to that account. My login screen consists of User1 and Guest. There's no place for me to input the username and password of the hidden account.

I know it's possible to make the log in ask for the username and password every time but that's not what I'm looking for. Instead, I want User1 and Other to be in the login screen. Is there any way of doing this?

I'm running Ubuntu 12.04. Thanks in advance!

share|improve this question

Edit /etc/lightdm/lightdm.conf with root permissions:

gksudo gedit /etc/lightdm/lightdm.conf

Add the following line to the end of the file:


I'm not sure if you wanted to actually disable the guest account too. Judging from your question, it sounds like you might, so I'm including that too You would add this line to that same file to do that:


Then just save the file. I don't remember if you have to reboot the machine, or just log off for this to take affect.

share|improve this answer

There are 2 ways(edit /etc/lightdm/lightdm.conf):

  1. add greeter-hide-users=true (hide all users and give the option to write user and password)

  2. add greeter-show-manual-login=true (open the menu to write user and password)

share|improve this answer
For me it made lightdm fail to load, giving the error "lightdm.conf keyfile does not start with a group" – Elad Avron Aug 10 '14 at 21:17

As some answers above, the cause is some users are blocked login with GUI, you can press Ctrl + Alt + F1 (or F2, ..) to change tty session, and login in via terminal.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.