Para responder a questão declarada, você pode ter certeza se o Xserver está rodando, emitindo o comando:
ps -C Xorg
De repente, eu consegui iniciar o servidor X, mas com muitos avisos no CentOS, e tentei me certificar de que ele estava desligado indo para / usr / bin e gdm stop
, mas há um log de erro que afirma:
[2148293.861] _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
[2148293.861] _XSERVTransMakeAllCOTSServerListeners: server already running
[2148293.861]
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.
Com gdm stop
, obtenho:
** (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