使用Xmanager连接linux服务器,登录root账户,想登陆图形界面,进行如下操作产生错误:
[root@localhost ~]# startx
xauth: creating new authority file /root/.serverauth.19565
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
(EE)
Please consult the CentOS support
at https://www.redhat.com/apps/support/
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
Server terminated with error (1). Closing log file.
请大神解答。。linux新手。。
cd ~
删除以.x和以.X开头的文件