用Xmanager远程连接Red hat Enterprise Linux5
这几天都在配置怎样远程控制Linux系统,发现Xmanager 3.0还不错,不过搜索了一下,发现Red hat Enterprise Linux 5的配置还是与先前的版本不太一样,琢磨了两天还是可以连接上了,具体方法如下:
服务器:Red hat Enterprise Linux 5
终端:Xmanager 3.0
服务器配置:------------------------
1. 配置 XDM
(1). Change runlevel to 5
id:5:initdefault:
修改 /etc/inittab,将运行级别设置为5,即:
id:5:initdefault:
(2). Enable XDMCP
修改 /etc/gdm/custom.conf,
将 [xdmcp] 部分的 Enable设置为 1,即:
[xdmcp]
Enable=1
Post=177
将 [security] 部分的 DisallowTCP 设置为 false,即:
[security]
DisallowTCP=false
2. 配置防火墙 (TCP/UDP Ports) / 若已经关闭防火墙,则忽略这一步
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
3. 重新启动服务器,即输入下面的命令即可:
# init 3; init 5
这几天都在配置怎样远程控制Linux系统,发现Xmanager 3.0还不错,不过搜索了一下,发现Red hat Enterprise Linux 5的配置还是与先前的版本不太一样,琢磨了两天还是可以连接上了,具体方法如下:
服务器:Red hat Enterprise Linux 5
终端:Xmanager 3.0
服务器配置:------------------------
1. 配置 XDM
(1). Change runlevel to 5
id:5:initdefault:
修改 /etc/inittab,将运行级别设置为5,即:
id:5:initdefault:
(2). Enable XDMCP
修改 /etc/gdm/custom.conf,
将 [xdmcp] 部分的 Enable设置为 1,即:
[xdmcp]
Enable=1
Post=177
将 [security] 部分的 DisallowTCP 设置为 false,即:
[security]
DisallowTCP=false
2. 配置防火墙 (TCP/UDP Ports) / 若已经关闭防火墙,则忽略这一步
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
3. 重新启动服务器,即输入下面的命令即可:
# init 3; init 5