xmanager centos6
2015-11-25 22:18
417 查看
参考了很多资料,花了几个钟终于把XManager连接centos搞定.
第一步:
先下载图形界面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就行了.
附注:
Sent password.
Sent password.
Access granted.
Sent X11 forwarding request...
Failed.
如果出现以上情况就修改
/etc/ssh/sshd_config
#X11Forwarding no
修改为:X11Forwarding yes
然后重启ssh
service sshd restart
(就是这地方困了我一个多钟)
本文出自 “MJ为的笔记和总结” 博客,请务必保留此出处http://024mj.blog.51cto.com/10252785/1716893
第一步:
先下载图形界面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就行了.
附注:
Sent password.
Sent password.
Access granted.
Sent X11 forwarding request...
Failed.
如果出现以上情况就修改
/etc/ssh/sshd_config
#X11Forwarding no
修改为:X11Forwarding yes
然后重启ssh
service sshd restart
(就是这地方困了我一个多钟)
本文出自 “MJ为的笔记和总结” 博客,请务必保留此出处http://024mj.blog.51cto.com/10252785/1716893
相关文章推荐
- Using Linux epoll with Python
- yum源的本地配置方法(对于虚拟机来说)
- Azure上Linux VM DDOS攻击预防: 慢速攻击
- 买错的电影票,含着泪也得看-LAMP搭建&Linux基础
- grep部分用法
- Linux-epoll
- Linux后台开发的要求
- 嵌入式 linux gcov
- Linux 下SVN服务器搭建
- Linux svn 回滚版本库
- linux php配置ftp扩展
- linux搭建ftp服务器
- linux命令备忘
- 鸟哥的LINUX私房菜基础篇第三版 阅读笔记 四 档案的文件系统的压缩和打包
- Linux minicom命令
- 测试Linux开机时间
- 用win7(64位)远程桌面连接linux(Ubuntu14.04)详细教程
- Linux C语言写的超级简单端口扫描器
- 【Linux编程】用c语言判断大小端
- 【学神-RHEL7】RHEL7.1安装步骤详解