You are not logged in.

#1 2012-07-15 15:02:26

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

[SOLVED] systemd display-manager.service problem

Hi!
After the upgrade of systemd, i noticed today this error in dmesg:

systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
systemctl status display-manager.service
display-manager.service
	  Loaded: error (Reason: No such file or directory)
	  Active: inactive (dead)

The strange thing is why systemd tries to load a service that doesn't exist! And what is this unit for? I'm using slim to load my xfce desktop, and everything works well...
Any idea?
Thanks!
EDIT: Uhm, may be the alias in slim.service, set to display-manager.service, is the problem? Or may be this is not a problem, but it is its normal behaviour , and i misunderstood something! Is it?

Last edited by nierro (2012-07-15 17:13:42)

Offline

#2 2012-07-15 16:32:47

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] systemd display-manager.service problem

nierro wrote:

Hi!
After the upgrade of systemd, i noticed today this error in dmesg:

systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
systemctl status display-manager.service
display-manager.service
	  Loaded: error (Reason: No such file or directory)
	  Active: inactive (dead)

The strange thing is why systemd tries to load a service that doesn't exist! And what is this unit for? I'm using slim to load my xfce desktop, and everything works well...
Any idea?
Thanks!
EDIT: Uhm, may be the alias in slim.service, set to display-manager.service, is the problem? Or may be this is not a problem, but it is its normal behaviour , and i misunderstood something! Is it?

There has been a change regarding display managers. up until now they were WantedBy graphical.target, which was kind of stupid because this allowed you to enable multiple display managers.
Instead graphical.target now Wants display-manager.service and all display managers are supposed to install the appropriate Alias. Afaik all display manager service files have been updated ragarding this and a "systemctl reenable slim.service" should fix it.

Offline

#3 2012-07-15 16:52:17

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: [SOLVED] systemd display-manager.service problem

It was so easy, damn!
Thank you very much for the explanation!

Offline

#4 2012-07-15 17:02:48

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED] systemd display-manager.service problem

thanks fixed mine also smile

Offline

#5 2012-07-17 09:11:40

oldpond
Member
Registered: 2010-01-26
Posts: 43

Re: [SOLVED] systemd display-manager.service problem

Didn't work for me.  I use LXDM, and i tried systemctl reenable lxdm.service.


oldpond = glide

Offline

#6 2012-07-17 10:59:01

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] systemd display-manager.service problem

oldpond wrote:

Didn't work for me.  I use LXDM, and i tried systemctl reenable lxdm.service.

seems like lxdm hasn't been updated yet.
It was fixed in git but the new version hasn't been released yet: https://projects.archlinux.org/svntogit … cc2afee8b9

just wait for the lxdm update and then try again. As far as I can see the error message can be safely ignored until then.

Offline

#7 2012-09-18 12:08:48

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: [SOLVED] systemd display-manager.service problem

Thank you 65kid for the KISS explanations smile and nierro for asking
Now that I have slim boot manager back, want to try auto-login into e17 wink


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#8 2013-02-21 07:29:34

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [SOLVED] systemd display-manager.service problem

Can I simply ignore that error if I am not using any graphical login manager?

Offline

#9 2013-02-21 12:36:30

oldpond
Member
Registered: 2010-01-26
Posts: 43

Re: [SOLVED] systemd display-manager.service problem

Yes, it can be ignored.


oldpond = glide

Offline

Board footer

Powered by FluxBB