You are not logged in.
Hello
After updating systemd yesterday to 185-4 and booting my pc in the morning I found out that either the boot stops in the middle giving me just black screen or it would throw me to console prompt after some time.
systemctl status kdm.service shows two errors
Jul 1 11:20:57 pc kdm[285]: X server startup timeout, terminating
Jul 1 11:21:08 pc kdm[285]: X server for display :0 cannot be started, session disabled
The same can be observed in logs. However, there are no errors in Xorg.0.log.
Moreover when I do
systemctl stop kdm.service
systemctl start kdm.service
kdm loads fine and I can login to kde.
I have temporarily reverted to 185-3 and the problem seems to be gone.
Does anybody experience a similar issue?
thanks
Last edited by aya (2012-07-02 14:05:53)
Offline
reinstalled 185-4 and have no problems now
Offline
~ $ ls -l /etc/systemd/system/graphical.target.wants/kdm.service
lrwxrwxrwx 1 root root 35 мая 31 20:33 /etc/systemd/system/graphical.target.wants/kdm.service -> /usr/lib/systemd/system/kdm.service
~ $ cat /usr/lib/systemd/system/kdm.service
cat: /usr/lib/systemd/system/kdm.service: No such file or directory.
Also read - https://projects.archlinux.org/svntogit … 833ee7a0c8
Offline
Thanks unikum.
I see. Now it starts from /etc/rc.d/kdm
Though I don't quite understand the reason why the unit file was removed.
$ systemctl status kdm.service
kdm.service
Loaded: loaded (/etc/rc.d/kdm)
Active: active (running) since Wed, 04 Jul 2012 21:24:01 +0900; 2h 52min ago
Main PID: 342 (kdm)
CGroup: name=systemd:/system/kdm.service
├ 342 /usr/bin/kdm -nodaemon
└ 366 /usr/bin/X :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-8ZoAvb
Offline
As workground, you can use this - https://github.com/sofar/user-session-units (there are packages in the AUR).
Offline
Or just yoink the unit from testing/kdebase-workspace ... user-session-units is a whole different setup which little to no documentation (and lots of bugs). For proper use, it even requires patching dbus. Not really recommended for general use...
Offline
Thank you guys.
I just don't understand from where /etc/rc.d/* are being triggered in the current setup.
Offline
After deleting the already broken /etc/systemd/system/graphical.target.wants/kdm.service kde no longer started on boot. I wonder why it managed to start somehow with the broken link......
So followed falconindy's advice and got kdm.service from testing/kdebase-workspace.
All solved.
Last edited by aya (2012-07-05 12:54:00)
Offline
Update:
I see that this thread is quite old. But if anyone have a similar issue, I recently saw this issue (with systemd 208-1). It seams that not only must kdm.service be enabled, but so must graphical.target:
# systemctl enable graphical.target
# systemctl enable kdm
Offline