[LightDM] lightdm sometimes kicks me out after autologin

Robert Ancell robert.ancell at gmail.com
Thu Aug 6 20:02:30 PDT 2015


Hi Bruno,

>From the log we see:
<snip>
+0.90s] DEBUG: Session pid=706: Running command /etc/lightdm/Xsession
mate-session
[+0.90s] DEBUG: Creating shared data directory /var/lib/lightdm-data/bruno
[+0.90s] DEBUG: Session pid=706: Logging to .xsession-errors
[+0.96s] DEBUG: Activating VT 1
[+0.96s] DEBUG: Activating login1 session c1
[+0.96s] DEBUG: Seat seat0 changes active session to c1
[+0.96s] DEBUG: Session c1 is already active
[+4.96s] DEBUG: Session pid=706: Exited with return value 0
<snip>

Which says LightDM ran mate-session and for some reason it exited normally
(after ~4 seconds). That's all LightDM knows unfortunately.

Looking in ~/.xsession-errors after this might have a log message giving
more information from mate-session. If mate-session is like gnome-session
you could also edit the .desktop file in /usr/share/xsessions to run it
with --debug and that may also give more information.

--Robert

On Wed, 15 Jul 2015 at 10:18 Bruno Dantas <dantas at airpost.net> wrote:

> I hope one of you lightdm gurus can help me. I use Arch GNU/Linux and have
> always used lightdm with autologin without any problems. With the two
> latest versions of lightdm that I've had on my system (1:1.4.0-3 and
> 1:1.14.2-1), sometimes lightdm will kick me out of my desktop to its
> graphical login screen immediately after autologin. For some strange
> reason, this only seems to happen on the first boot of each day--on
> subsequent boots, autologin works just fine.
>
> I've asked about this on the Arch forums, but have gotten nowhere.
>
> I am a member of the autologin group. My desktop environment is MATE 1.10
> in case it matters. Here are some files you may want to see:
>
> 1) /etc/lightdm/lightdm.conf:
> https://www.dropbox.com/s/pnrizngv5kez6j9/lightdm.conf?dl=0
>
> 2) /var/log/lightdm/lightdm.log (from today's first boot, when lightdm
> kicked me out after autologin):
>
> https://www.dropbox.com/s/yrfmdodgyzy7n46/lightdm.log%20%28kicked%20out%29?dl=0
>
> 3) /var/log/lightdm/lightdm.log (from today's second boot, when autologin
> worked perfectly):
> https://www.dropbox.com/s/6uacmtnqnhosa0a/lightdm.log%20%28normal%29?dl=0
>
> My computer is perfectly usable, but it bugs me a lot when it doesn't
> behave as expected. Any help would be greatly appreciated.
>
> Thanks,
> Bruno
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20150807/da479286/attachment.html>


More information about the LightDM mailing list