[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755359: [kdm] systemd seem to fail to start display-manager.service



On Sat, Jan 10, 2015 at 01:18:59AM +0100, Francesco Muzio wrote:
> how many display managers are installed on your systems?

As I said, that was a test system and there was only KDM installed,
nothing else. I have to poke around a bit more. However, it seems ...

> if I install slim a soft link
> /etc/systemd/system/display-manager.service is created and it points
> to slim service

that this symlink is actually always created by the postinst script of
the display manager (on Debian, Fedora uses the [Install] section of
the .service file for that by setting an alias to
display-manager.service) and looking at the source code of the kdm
Debian package, this particular part is actually missing in the kdm
package while it is present in the lightdm package. So it's actually a
bit surprising that the link was installed on my test system.

> if you run a dpkg-reconfigure kdm to change the default DM and
> choose gdm3/slim the /etc/systemd/system/display-manager.service
> link is updated automatically?

Yes, this is actually the basic idea.

> And if you re-choose KDM as default
> /etc/systemd/system/display-manager.service point again to
> kdm.service ?

It actually depends on which package you reconfigure. So, if you run
"dpkg-reconfigure lightdm" (provided that lightdm is installed) and
choose "kdm as your default DM, it should work. However, if you do
that with "dpkg-reconfigure kdm" and choose "kdm" or any other DM for
that matter, it shouldn't work.

> >PS: Next time you share such a qemu image, please don't set the
> >     locale and the keyboard layout to Italian. It makes it easier
> >     for non-Italian-speaking folk to help you.
> I will consider the advice.

Thanks!

I will dig a bit more into the source code of the kdm Debian package
and see if I can provide an updated version which should finally
provide 100% compatibility.

However, just to be sure I'm asking again: When you do a fresh
installation and don't use a service file for kdm, kdm works and
"systemctl status kdm.service" shows that it's running however you get
the warning in the journal about the display-manager service, right?

Cheers,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: