LightDM endless loop

Forum rules
Please supply only the affected package name as title, with bugreport number (bugs.debian.org) or other sources. This feed can be subscribed to and piped into your RSS reader or conky: http://linuxbbq.org/bbs/feed.php?mode=news
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

LightDM endless loop

Unread post by machinebacon » Fri Jun 14, 2013 6:32 am

Recently, lightdm shows strange behavior after a dist-upgrade (users of fresh installations beware!)

Symptom: After dist-upgrade and reboot, LightDM starts and closes repeatedly, the user has no chance to step out of this loop (also changing to ttyX doesn't help)

Remedy: edit as root the /usr/share/xsessions/lightdm-xsession.desktop
An entry should look like this:
[Desktop Entry]
Version=1.0
Name=Default Xsession
Exec=startlxde
Icon=
Type=Application

where startlxde is replaced by your Window Manager/Desktop Environnment session starter (startxfce4, openbox-session, awesome, dwm, ...)

and enable auto-login by editing as root /etc/lightdm/lightdm.conf

autologin-user=bbq

where bbq is replaced by your username.

All this can also be done from a live session. Boot into a live system, mount the drive with your BBQ installation:

sudo blkid

Find the device node where LinuxBBQ is installed (for example /dev/sda3)

sudo mount /dev/sda3 /mnt
sudo nano /mnt/etc/lightdm/lightdm.conf
sudo nano /mnt/usr/share/xsessions/lightdm-xsession.desktop
sudo umount /mnt
reboot
..gnutella..

User avatar
vic
Godot
Posts: 2118
Joined: Wed Oct 17, 2012 10:11 am
Location: /bin

Re: LightDM endless loop

Unread post by vic » Tue Jun 25, 2013 8:40 am

am sitting here funking around with some persistent usbbq stuff when I got the loop, remembered your post, so you saved my azz once again baconman, thanks, again:)

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: LightDM endless loop

Unread post by machinebacon » Wed Jun 26, 2013 8:15 am

^ Another ass saved :D Glad you got it working.
..gnutella..

Post Reply