Gnome 无法在Centos7上启动Xserver
我正在努力在Centos 7.2服务器上设置桌面环境。我通过以下方式连接到服务器:-Gnome 无法在Centos7上启动Xserver,gnome,pam,xserver,Gnome,Pam,Xserver,我正在努力在Centos 7.2服务器上设置桌面环境。我通过以下方式连接到服务器:- 虽然将ssh与我的用户一起放到跳转框上,然后从跳转框中删除 使用我的id将ssh连接到Centos 7.2服务器 我已经安装并尝试了以下桌面: Gnome Desktop-->无法运行(最终执行了sudo-yum-groupremove操作) 肉桂--仍在挣扎 已安装以下软件包:- sudo yum --enablerepo=epel -y install cinnamon* sudo yum in
- 虽然将ssh与我的用户一起放到跳转框上,然后从跳转框中删除
- 使用我的id将ssh连接到Centos 7.2服务器
Gnome Desktop-->无法运行(最终执行了sudo-yum-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/other,因此完全受限) 并更改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
这些变化似乎都不起作用。在谷歌上搜索了很多,但还是被卡住了
急切地寻求帮助!提前谢谢
问候Rohan查看此说明
您想使用xined服务。您找到解决方案了吗?