无法在Centos7上启动Xserver
问题描述:
我努力在Centos 7.2服务器上设置桌面环境。我连接到服务器的方式如下: -无法在Centos7上启动Xserver
虽然腻子SSH到从跳箱子
SSH到CentOS的7.2服务器与我的用户跳转框,然后用我的ID
我已安装并试用下面的桌面:
Gnome桌面 - >无法使它工作(终于做了须藤荫它groupremove)
肉桂 - >还在挣扎
已经安装了以下软件包: -
sudo yum --enablerepo=epel -y install cinnamon*
sudo yum install xorg*
我不断收到以下错误上运行startx: -
xauth: file /home/ma357577/.serverauth.4007 does not exist
(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
我试图
命名/etc/pam.d/xserver(但如果不存在,则会回退到/etc/pam.d/因此完全受限制) 并更改xserver文件,如下所示: -
\#%PAM-1.0
auth sufficient pam_rootok.so
\#auth required pam_console.so
auth sufficient pam_console.so nullok
account required pam_permit.so nullok
session optional pam_keyinit.so force revoke
没有任何更改似乎工作。在谷歌上搜索了很多,但仍然陷入困境。
急于求助!提前致谢。
问候
罗汉
您是否找到解决方案? –