Jump to content

Photo

xdm init script doesn't start dbus

- - - - - dbus gdm xdm gnome

2 replies to this topic

#1
theothermatt

theothermatt

    Newbie

  • Members
  • Pip
  • 1 posts

Hi,

 

Following the steps at http://www.funtoo.or...OME_First_Steps

 

There's a note which says:

 

 

Funtoo's /etc/init.d/xdm initscript has been modified to start the requisite services dbus, openrc-settingsd and consolekit prior to starting GDM.

 

However, this doesn't seem to happen.  I have had to do a separate

rc-update add dbus default

to get gdm to start.  Looking at /etc/init.d/xdm there's a line:

use consolekit dbus xfs

I've managed to make things work by changing this to:

need dbus
use consolekit xfs

But I have no idea whether this is correct.

 

In short, I believe either the documentation needs to tell people to do rc-update add dbus default, or the init script needs to be changed.  I don't know which, I'm not that clever!

 

I'm happy to file a bug report, but I thought I'd check here first in case I'm missing something obvious.  I usually do :-).

 

Matt



#2
hick518

hick518

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

I encountered the same issue while using LightDM.  I edited this wiki page to include instructions for "needing" dbus:  http://www.funtoo.org/Package:Lightdm

 

I don't know if all display managers would require dbus (but now we know there are at least two:  GDM and LightDM).  So I don't know if this is truly a bug in the xdm init script, or just something that admins need to be aware of when installing these particular display managers.

 

Reading http://www.funtoo.org/Package:OpenRC I see that "need declares a hard dependency - net always needs to be started before this service does" and "use is a soft dependency - if dns, logger or netmount is in this runlevel start it before, but we don't care if it's not in this runlevel."  So I think another way for us to solve this problem is to add dbus to our default runlevel.  Then xdm wouldn't have to specify 'rc_need="dbus"'.

 

There is an old gentoo bug about this topic as well:  https://bugs.gentoo....g.cgi?id=390609



#3
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 415 posts

Funtoo had this fixed, when xorg-server forked. Now, with unfork initiative and reducing number of maintainence packages, this xdm fix lost. I've opened this topic for Gentoo but there is some level of misunderstanding of a problem. yes  #390609  is the one.


www.funtoo.org



Reply to this topic



  



Also tagged with one or more of these keywords: dbus, gdm, xdm, gnome

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users