Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#579 lxdm service takes 2 minutes to start

open
dgod.osa
lxdm (56)
5
2013-05-05
2013-05-05
Renato
No

I'm using lxdm as a login manager, without lxde. I'm on archlinux, which uses systemd. When I run "systemctl start lxdm" it takes about 2 minutes to show the login window. "journalctl -u lxdm.service" doesn't show anything relevant...

<a href="http://pastebin.com/3FJut5v0"> Here's</a> my /var/log/lxdm.log... it hangs after the "JOYSTICK" line, and when it finally shows the login prompt it writes those last lines starting with "** Message:"

"systemd-analyze plot" shows the lxdm service starts in a few milliseconds at boot... so it must be something else?

I get this behaviour both with 0.4.1 and with a git version I compiled about a month ago (9 of April)

Discussion

  • Renato
    Renato
    2013-09-09

    any hunches on this? I'm still experiencing it and still no clue what it could be or how I could provide more info

     
  • dgod.osa
    dgod.osa
    2013-09-09

    Don't see this bug before.

    I don't see this problem here( fedora 20, systemd based)

    This may be your X server start very slow, may be the greeter(login window) start very slow.
    1 So you can try to use the git version, look into log, find how long for the xserver to start
    2 use another greeter, in lxdm.conf, set greeter=/usr/libexec/lxdm-greeter-gdk, the gdk version is much faster and less affected by environment.

     
  • Renato
    Renato
    2013-10-09

    So, changing greeter had no effect. Compiled git and this is the log:

    http://pastebin.com/wY7rA3g5

    it blocks itself after the line "(II) AIGLX: Suspending AIGLX clients for VT switch" stays there for a minute, then prints the next two, stays there for another minute, and then goes on. So it has something to do with glx? Tomorrow I read up on that and on driver setup (I use an intel GPU)

    In the meantime I tried starting my window manager simply with "xinit", and it works fine, and also using slim. Slim works fine on first startup, but when I log out it takes about the same 2 minutes to show again the login window, so it would seem something not lxdm related.

     
  • Renato
    Renato
    2013-10-09

    just to be clear, the process seems to stop at lines 52 and 54 of the log, and only once it gets over that the lxdm login window shows up

     
  • dgod.osa
    dgod.osa
    2013-10-10

    according to your log, xserver suspend client when vt switch happen, so I switch vt before launch the xserver in git, please try the git version.

     
  • Renato
    Renato
    2013-10-10

    nope, same problem, with same log

     
  • dgod.osa
    dgod.osa
    2013-10-10

    the problem is x server start too slow, maybe arguments pass to xserver is not compatible with your xserver, maybe client connect to xserver too early.

    But I can't test it here, as I don't have this problem.

     
  • dgod.osa
    dgod.osa
    2013-10-10

    try with xconn=xlib
    ./configure --prefix=/usr --sysconfdir=/etc --with-xconn=xlib

     
  • Renato
    Renato
    2013-10-10

    unfortunately that doesn't work. I'm starting to think it probably has something to do with the intel drivers. I get the same error in my Xorg.0.log:

    http://pastebin.com/3WuvHGfE

    I can't remember where but at one point, reading about that AIGLX error, someone was saying that it could be somehow related to the backlight of some LCD screens (infact my remains black after resuming from suspend).

     
  • dgod.osa
    dgod.osa
    2013-10-11

    I use intel gpu and lcd screen on my two pc, maybe you can update your kernel and xorg driver.