sweebee
Posts: 2
Joined: Wed Mar 16, 2016 3:39 pm

(Auto)login desktop not working

Wed Mar 16, 2016 3:42 pm

I installed the latest Rasbian (lite) image and did the following:

Expand file system
Reboot

Code: Select all

sudo apt-get install lightdm
Set to auto login desktop in raspi-config

It boots to the desktop but it doesn't auto login. I'm also not able to login manually. After pressing login it goes back to the login screen.

I retried this 3 times with a fresh image.

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: (Auto)login desktop not working

Wed Mar 16, 2016 5:50 pm

sweebee wrote:I installed the latest Rasbian (lite) image and did the following:
Expand file system
Reboot

Code: Select all

sudo apt-get install lightdm
Set to auto login desktop in raspi-config
It boots to the desktop but it doesn't auto login. I'm also not able to login manually. After pressing login it goes back to the login screen.
You probably need to add more than that to get enough to actually run X. Can you ssh -X something that uses X in from another box?

I know it doesn't seem right, but it is very possible to install things and not all the needed dependences get included. In some cases, this is because for some uses you may not really need the things you need for some other uses. But in others, I don't know what drives it.

Because it is possible to get ssh -X to work but not get everything needed for a desktop, this might not work perfectly, but it should help to add in something like iceweasel. If it still doesn't work, I'd look at adding in something like the lxde desktop or minimum that, something in that area. Because it sounds like you are getting to the screen where you choose what to run in X but that next part isn't there.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: (Auto)login desktop not working

Wed Mar 16, 2016 7:17 pm

You installed the Light Desktop Manager, but you still don't have a desktop. I think what you're seeing is the lightdm login screen, it probably has a dropdown so you can select the desktop that you want to use (in case you have more than one). But without a desktop to start up the login screen just comes back each time.

sweebee
Posts: 2
Joined: Wed Mar 16, 2016 3:39 pm

Re: (Auto)login desktop not working

Wed Mar 16, 2016 8:48 pm

Thank you! got it. this is even better since i only want to start the browser in full screen mode :) Now it boots directly to ice weasel.

Return to “Raspberry Pi OS”