大家好,来为大家解答以上问题。xmanager连接linux桌面,xmanager很多人还不知道,现在让我们一起来看看吧!
1、 确认服务器的运行级别为5,使用命令“cat/etc/inittab|grepid”检查:
2、 [root @ localhost ~]# cat/etc/inittab | GRE PID
3、 id:5:init默认值:
4、 这个id的值必须是5,5是x-windows终端模式,3是最常用的命令行模式。
5、 配置xdmcp参数:[root @ localhost ~]# chmod 660/usr/share/GDM/defaults . conf[root @ localhost ~]# VI/usr/share/GDM/defaults . conf[xdmcp]enable=true #在第63行,修改DisplaysPerHost=10 # add terminal number Port=177 # 284,删除之前的注释[security]Allow root=trueallowrotroot=true # 214,允许root用户登录AllowRemoteAutoLogin=false。注意上面的评论。AllowRemoteroot参数在第214行,Enable参数在第263行,Port参数在第284行,DisplaysPerHost参数在第279行。
6、 启动GDM服务并使用命令“/usr/sbin/gdm”
7、 检查GDM服务的启动。上面使用的是默认端口177,所以可以通过检查端口177是否打开来判断:使用命令“lsof -i:177”
8、 使用Xbrowser创建一个新的会话连接服务器,配置正确的服务器IP地址和端口,点击“确定”打开图形界面,使用xmanager进行管理。
