XManager4基于gdm连接centos6.4图形界面
2016-10-14 13:20
423 查看
第一步:先下载并按照图形界面GNOME
yum groupinstall "Desktop"
yum groupinstall "X Window System"
yum groupinstall "Chinese Support"
第二步:
修改/etc/X11/xdm/Xaccess
如果没有xdm该目录,则需要安装xdm
yum install xdm
用vi打开后找到
#* *any host can get a login window
将前面的#去掉变成
* *any host can get a login window第三步:
修改/etc/gdm/custom.conf[daemon][security]AllowRemoteRoot=true //添加1[xdmcp]
Port=177 //添加2
Enable=1 ////添加3[gui][greeter][chooser][debug]如果startx启动出现如下
[root@cloud ssh]#startx
xauth: creating new authority file /root/.serverauth.3234
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.(EE)
Please consult the CentOS support
at http://wiki.centos.org/Documentation
for help.
(EE)
或者gdm启动出现如下
[root@cloud ssh]#gdm** (gdm-binary:3256): WARNING **: Failed to acquire org.gnome.DisplayManager** (gdm-binary:3256): WARNING **: Could not acquire name; bailing out都没有影响.接下来使用XManager4连接我使用的是Xstart填写主机名,协议选SSH,用户名,密码,命令选GNOME,点击run就行了.(不需要修改其它选项,比如连接端口号,默认22就可以了) 附注:
Sent password.
Sent password.
Access granted.
Sent X11 forwarding request...
Failed.
如果出现以上情况就修改
/etc/ssh/sshd_config
#X11Forwarding no
修改为:X11Forwarding yes
然后重启ssh
service sshd restart原文链接:http://blog.csdn.net/wandrong/article/details/20393733
yum groupinstall "Desktop"
yum groupinstall "X Window System"
yum groupinstall "Chinese Support"
第二步:
修改/etc/X11/xdm/Xaccess
如果没有xdm该目录,则需要安装xdm
yum install xdm
用vi打开后找到
#* *any host can get a login window
将前面的#去掉变成
* *any host can get a login window第三步:
修改/etc/gdm/custom.conf[daemon][security]AllowRemoteRoot=true //添加1[xdmcp]
Port=177 //添加2
Enable=1 ////添加3[gui][greeter][chooser][debug]如果startx启动出现如下
[root@cloud ssh]#startx
xauth: creating new authority file /root/.serverauth.3234
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.(EE)
Please consult the CentOS support
at http://wiki.centos.org/Documentation
for help.
(EE)
或者gdm启动出现如下
[root@cloud ssh]#gdm** (gdm-binary:3256): WARNING **: Failed to acquire org.gnome.DisplayManager** (gdm-binary:3256): WARNING **: Could not acquire name; bailing out都没有影响.接下来使用XManager4连接我使用的是Xstart填写主机名,协议选SSH,用户名,密码,命令选GNOME,点击run就行了.(不需要修改其它选项,比如连接端口号,默认22就可以了) 附注:
Sent password.
Sent password.
Access granted.
Sent X11 forwarding request...
Failed.
如果出现以上情况就修改
/etc/ssh/sshd_config
#X11Forwarding no
修改为:X11Forwarding yes
然后重启ssh
service sshd restart原文链接:http://blog.csdn.net/wandrong/article/details/20393733
相关文章推荐
- XManager4基于gdm连接centos6.4图形界面(绝对可用)
- XManager5基于gdm连接centos图形界面
- XManager5基于gdm连接centos图形界面
- 使用Xmanager远程连接CentOS6.4图形界面详解(图文)
- 为CentOS6.4安装图形界面并用VNC远程连接
- 为CentOS6.4安装图形界面并用VNC远程连接
- CentOS 6.4安装图形界面并用VNC远程连接
- 老孟 DB2 V9.7 ESE(二)实例及DB创建连接 基于centOS 6.4
- virtualbox中安装centos6.4后,图形界面无法进入修复方案
- centos6.5安装图形界面,Xmanager连接Linux6.5图形界面
- CentOS6 图形界面(gnome)安装,使用vnc进行远程连接
- centos6.5安装图形界面,Xmanager连接Linux6.5图形界面
- DB2 v9.7 CentOS6.4 x64 安装(图形界面)
- CentOS 6.4操作系统如何关闭图形界面(X-windows)
- centos6.0虚拟机图形和命令行界面切换
- 使用yum来安装或卸载CentOS图形界面包
- vmware中的centos字符界面和图形界面切换(即7个终端的切换)
- centos 6.2 升级后无法启动图形界面
- centos6.0虚拟机图形和命令行界面切换
- 使用yum来安装或卸载CentOS图形界面包