Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a RHEL6 server which we connect via XDMCP. If I start xdm (xdm &) it works but the login screen is the old xdm simple login and not gdm. Our RHEL5 servers connect to gdm just fine. The problem is that GDM isn't running. When I try to launch GDM (gdm &) it gives me the following message:

** (gdm-binary:3229): WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

I've also tried using (gdm-binary &) and get the same message.

cat /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
[security]
DisallowTCP=false
AllowRemoteRoot=true
[xdmcp]
Enable=true
[greeter]
IncludeAll=true
[chooser]
[debug]

In /etc/X11/xdm/Xaccess I have the following uncommented: * #any host can get a login window

In /etc/X11/xdm/xdm-config I have tried commenting and uncommenting the following: DisplayManager.requestPort: 0

I've referenced several tutorials such as:

http://www.yolinux.com/TUTORIALS/GDM_XDMCP.html

http://kosala-linux.blogspot.com/2013/02/x-manager-configurations-for-rheloel.html

share|improve this question
    
Why you dont' use gdm service? –  Mohsen Pahlevanzadeh Oct 10 '13 at 22:47
    
Which service is that? There doesn't seem to be an init script in /etc/init.d/. There is a file called /etc/gdm/Init/Default but it doesn't appear to be a normal init script. –  Jeight Oct 10 '13 at 22:52
    
wow, do you compiled? –  Mohsen Pahlevanzadeh Oct 10 '13 at 22:54
    
A gdm service doesn't appear when using ntsysv either so I don't think that's an option on RHEL6 –  Jeight Oct 10 '13 at 22:55
1  
@Jeight: probably fixed by installing the dbus package and maybe issuing a service messagebus restart –  ninjalj Oct 11 '13 at 15:50
show 6 more comments

1 Answer 1

up vote 2 down vote accepted

This warning:

** (gdm-binary:3229): WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

means that the system D-Bus message bus is not running. D-Bus provides message buses that programs can use to communicate with other programs: there is usually a system message bus, and a message bus per user session.

On RHEL, the system message bus is started by the messagebus init script, provided by the dbus package.

To start the system message bus you'll have to install the dbus package, and probably issue a service messagebus restart.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.