用Xmanager遠程連接Red hat Enterprise Linux5
用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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.