Jump to content
funtoo forums
  • 0
theothermatt

xdm init script doesn't start dbus

Question

Hi,

 

Following the steps at http://www.funtoo.org/GNOME_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

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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.org/show_bug.cgi?id=390609

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×