Is there a way where we can startup to desktop then its going to ask for a password (like how you enter passwords for user accounts on windows) instead of the raspberry pi starting up with password then bring us to the command line? just so that the user doesn't have to enter 'startx' to get to the desktop gui.

  • 2
    if you have a working solution, you may answer your own question, that way your knowledge will be available for other people.
    – lenik
    Commented May 15, 2014 at 4:53
  • + this this question will be answered instead of remaining unanswered.
    – Piotr Kula
    Commented May 15, 2014 at 7:39
  • ppumkin - yeap doing that now, when i tried to answer my own question, said i had to wait for 8 hours. anyway, i'm answering it now :)
    – hearmeroar
    Commented May 15, 2014 at 16:35

1 Answer 1


If you set the system to boot to the desktop but then edit the file /etc/lightdm/lightdm.conf and look for the line that reads:


and you change this to read


Found it on http://www.raspberrypi.org/forums/viewtopic.php?f=66&t=69448


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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