You are not logged in.

#1 2012-09-19 10:38:46

ema
Member
Registered: 2012-09-18
Posts: 2

[SOLVED] Problem with loging in after migrating to systemd

After migrating to systemd i have to wait a few seconds after login before i can execute commands (and i get an error message).

Thats the output i get after i type my username and password:

Last Login: Wed Sep 19 08:08:56 CEST 2012 on tty1
# Nothing happens for a few seconds
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[Failed] to start Login Service.
         See 'systemctl status systemd-logind.service' for details.
Last login: Wed Sep 19 10:52:56 on tty1
# my prompt gets printed and i can execute commands

the output of 'systemctl status systemd-logind.service':

systemd-logind.service - Login Service
          Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
          Active: activating (start) since Wed, 19 Sep 2012 12:29:24 +0200; 1min 23s ago
            Docs: man:systemd-logind.service(8)
                  man:logind.conf(5)
                  http://www.freedesktop.org/wiki/Software/systemd/multiseat
        Main PID: 7179 (systemd-logind)
          CGroup: name=systemd:/system/systemd-logind.service
                  â 7179 /usr/lib/systemd/systemd-logind

Sep 19 12:29:24 crox systemd-logind[7179]: New seat seat0.
Sep 19 12:29:24 crox systemd-logind[7179]: Watching system buttons on /dev/input/event4 (Power Button)
Sep 19 12:29:24 crox systemd-logind[7179]: Watching system buttons on /dev/input/event5 (Video Bus)
Sep 19 12:29:24 crox systemd-logind[7179]: Watching system buttons on /dev/input/event2 (Power Button)
Sep 19 12:29:24 crox systemd-logind[7179]: Watching system buttons on /dev/input/event1 (Lid Switch)
Sep 19 12:29:24 crox systemd-logind[7179]: Watching system buttons on /dev/input/event3 (Sleep Button)
Sep 19 12:29:24 crox systemd-logind[7179]: New session 1 of user ema.

The workaround from this thread didn't solve the problem for me.

Edit:

the problem was that console-kit-daemon wasn't started.

ln -s '/usr/lib/systemd/system/console-kit-daemon.service' '/etc/systemd/system/getty.target.wants/console-kit-daemon.service'

solved that.

Last edited by ema (2012-09-24 08:03:41)

Offline

Board footer

Powered by FluxBB