Hello for all,
I am struggling with this problem for a while. It started after I migrated to systemd.
I enabled the kdm service but I can start it manually only with "systemctl start kdm".
I couldn't find any error messages. Maybe it's related to dbus.
The other issue what came out after the migration is that nepomuk also refuses to start.
I tried to reinstall, nothing changed.
I updated the whole system today.
Last edited by grzs (2013-03-07 13:27:53)
systemctl enable kdm.service
it's enabled already
# systemctl status kdm.service
before you start it manually. There should be some error message. Please paste the output.
Last edited by nuc (2013-03-04 13:52:17)
Here is the output after reboot:
kdm.service - K Display Manager Loaded: loaded (/usr/lib/systemd/system/kdm.service; enabled) Active: inactive (dead) márc 04 13:13:25 phoenix systemd: Starting K Display Manager... márc 04 13:13:25 phoenix systemd: Started K Display Manager. márc 04 13:13:42 phoenix kdm: :0: pam_unix(kde:session): session opened for user grzs by (uid=0) márc 04 13:47:22 phoenix kdm: :0: pam_unix(kde:session): session opened for user grzs by (uid=0) márc 04 14:34:32 phoenix systemd: Stopping K Display Manager... márc 04 14:34:33 phoenix systemd: Starting K Display Manager... márc 04 14:34:33 phoenix systemd: Started K Display Manager. márc 04 14:34:33 phoenix kdm: :0: pam_unix(kde-np:session): session opened for user grzs by (uid=0) márc 04 15:15:13 phoenix systemd: Stopping K Display Manager... márc 04 15:15:13 phoenix systemd: Stopped K Display Manager.
...and after starting kdm manually:
kdm.service - K Display Manager Loaded: loaded (/usr/lib/systemd/system/kdm.service; enabled) Active: active (running) since h 2013-03-04 15:19:12 CET; 3min 16s ago Main PID: 643 (kdm) CGroup: name=systemd:/system/kdm.service ├─643 /usr/bin/kdm -nodaemon └─645 /usr/bin/X :0 vt7 -nolisten tcp -auth /var/run/xauth/... márc 04 15:19:12 phoenix systemd: Started K Display Manager. márc 04 15:19:14 phoenix kdm: :0: pam_unix(kde-np:session): session opened for user grzs by (uid=0)
Please don't bump your posts - it is against the forum rules.
In all likelihood, nobody has suggested anything because you have not provided enough information. What steps have you tried to resolve this? What have you found in the journal or log files?
I am sorry, I didn't know that bumping is not allowed.
My problem is that I don't have a clue. I don't know enough about systemd. I tested the service with "systemctl start kdm" and when I noted that it's okay I enabled it with "systemctl enable kdm". After that I expected that after reboot it will start automatically but it's dead as you could see the output of "systemctl status kdm" I posted before.
I have checked journalctl, errors.log, kdm.log, messages.log, etc but found nothing!
I would be happy with few advises what I could start to work on. I read somewhere that it happened to someone that after sysupgrade the connection between dbus and kde damaged somehow (sorry, I don't know how dbus works). I don't know exactly why but I feel something around this (it's suspicious).
Thank you in advance.
What happens exactly? According to the times in that list, KDM is up for about 3/4 hour and then stops. Does it work initially?
You can use systemctl status to check what is happening with dbus. journalctl -b | grep <whatever> may give you additional information.
I don't know what happened behind the scenes but I removed default.target in /etc/systemd/system and kdm starts without problem.
Thanks for all.
default.target is just a link to either /usr/lib/systemd/system/multi-user.target or /usr/lib/systemd/system/graphical.target or another target.
It should do no harm and is probably not the cause of the problem.
graphical.target wants display-manager.service which is an alias for kdm.service if it is enabled.
Well, if it was linked to multi-user it would stop kdm starting...