Il 09/01/2015 22:45, John Paul Adrian Glaubitz ha scritto:
Ok, I actually understand now what your problem is. What you are seeing
there is a mere *warning* by the systemd generator for the display
manager unit that there is no service file for kdm present and that
systemd used different means like a sysvinit LSB script or similar
to start kdm.
root@vs76:~# journalctl --no-pager |grep display-manager
Jan 09 22:39:09 vs76 systemd[1]: Cannot add dependency job for unit
display-manager.service, ignoring: Unit display-manager.service failed
to load: No such file or directory.
root@vs76:~#
it was a troubled birth, but we are arrived at the problem
This isn't an error or a serious bug, it's just an information, nothing
else.
for this I have open the bug as a minor bug
And to fix it, you can simply drop the attached service file
"kdm.service" into /lib/systemd/system. This is a service file I derived
from the kdm.service provided for kdm in Fedora. I tested it and it
works without any problems and the warning message in the journal
vanishes and "systemctl status kdm.service" lists a native systemd
service:
root@vs76:~# journalctl --no-pager |grep display-manager
root@vs76:~# systemctl status kdm.service
● kdm.service - KDE Display Manager
Loaded: loaded (/lib/systemd/system/kdm.service; enabled)
Drop-In: /run/systemd/generator/kdm.service.d
└─50-kdm-$x-display-manager.conf
Active: active (running) since Fri 2015-01-09 22:41:39 CET; 19s ago
Docs: man:kdm(1)
Process: 489 ExecStartPre=/bin/sh -c [ "$(cat
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/kdm" ]
(code=exited, status=0/SUCCESS)
Main PID: 497 (kdm)
CGroup: /system.slice/kdm.service
├─497 /usr/bin/kdm
├─520 /usr/bin/X :0 vt7 -br -nolisten tcp -auth
/var/run/xauth/A:0-rQr9Ab
├─710 -:0
└─711 /usr/lib/kde4/libexec/kdm_greet
Jan 09 22:41:40 vs76 kdm_greet[711]: Cannot load
/usr/share/kde4/apps/kdm/faces/.default.face: No such file...ctory
Hint: Some lines were ellipsized, use -l to show in full.
root@vs76:~#
I have tried this new kdm.service file, but the solution isn't working
for me.
The kdm service can be started manually and seems to run without
problems, but if I reboot the machine systemd ignores the kdm service
with the same behaviour showed in previous tests
I have tried the kdm.service file in my real Debian environment and in
the VM that I have shared with you, in both cases KDM will not start at boot
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org