Suddenly out of the blue I was able to start the X server but with many warnings on CentOS and then I tried to make sure it was shut down by going into /usr/bin and gdm stop but there is an error log which states:

[2148293.861] _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
[2148293.861] _XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
[2148293.862] Cannot establish any listening sockets - Make sure an X server isn't already running
[2148293.862] (EE)
Please consult the CentOS support
         at http://wiki.centos.org/Documentation
 for help.
[2148293.862] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2148293.862] (EE)
[2148293.862] Server terminated with error (1). Closing log file.

With gdm stop I get:

** (gdm-binary:25390): WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or director
  • What's the connection between your title and your problem? What's the error log from? The description of what you've done is missing too many pieces. Commented Mar 29, 2014 at 22:40
  • This is my 3rd question regarding X server, I had given up on it when it mysteriously started and simultaneously I was trying to stop it but also figure out what the error log meant for why it would say make sure it is not already running when it was riddled with warnings and errors and I thought I had killed it.
    – cea
    Commented Mar 30, 2014 at 0:07
  • I wanted to adamantly stop it and then try again and see what error I got.
    – cea
    Commented Mar 30, 2014 at 0:08

1 Answer 1


To answer the stated question, you can make sure whether the Xserver is running by issuing command:

ps -C Xorg
  • 1
    Thank you, exactly what I was looking for at the very least.
    – cea
    Commented Mar 30, 2014 at 0:04

Not the answer you're looking for? Browse other questions tagged .