I used lightdm to hide the users at the login prompt of ubuntu and it hid my account. The only one visible is "other" and it doesn't even have a known password. So, I have accessed the terminal and created a guest account and another account without passwords and they are not visible. I am new to using the terminal so I don't know how to write the commands for either:

  1. making all users/accounts visible to the login and/or
  2. making the guest accounts visible, and then once in the GUI change the login settings to see my admin account.

I have no idea of what else I could do, or even how to do it. I would appreciate any help, I'm in a desperate situation because I really need to access my desktop! THANK YOU!!! Any ideas are appreciated!!!


1 Answer 1


You can get the userlist back by doing this:

sudo /usr/lib/lightdm/lightdm-set-defaults --hide-users false

Unfortunately I'm not sure what you're really trying to solve though. When you click on "Other" you should be able to enter your username and password like normal. You won't be able to use sudo or edit lightdm.conf as a guest user. Did you forget your username?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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