sic
Posts: 6
Joined: Thu Aug 28, 2014 1:26 am

How do I get a log-in prompt when booting to GUI?

Thu Aug 28, 2014 1:32 am

I have configured my raspberry pi to automatically boot to GUI upon start-up using raspi-config. However, I want to open different programs using different users. How would I make the GUI ask for user information instead of automatically logging me in as pi?

fruitoftheloom
Posts: 20485
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How do I get a log-in prompt when booting to GUI?

Thu Aug 28, 2014 7:15 am

sic wrote:I have configured my raspberry pi to automatically boot to GUI upon start-up using raspi-config. However, I want to open different programs using different users. How would I make the GUI ask for user information instead of automatically logging me in as pi?
Raspbian Wheezy Operating System: Open LXTerminal and set up additional Users as required:

http://www.raspberrypi.org/documentatio ... e/users.md

Next you need to manually edit LightDM to not auto login the Main User, by default it is Pi

Code: Select all

sudo nano /etc/lightdm/lightdm.conf
Change (this line is near the bottom)
autologin-user=pi
to
#autologin-user=pi

Save and exit lightdm.conf, then reboot Raspbain Wheezy and you should now be presented with the login GUI where you enter User and Password
Retired disgracefully.....

Return to “Beginners”