RHEL配置gdm使用XDMCP遠程登錄圖形化界面

RHEL4

1、確保安裝操作系統時勾選“X Window System”及“GNOME Desktop Environment”桌面

2、確保系統默認啓動圖形化界面

id:5:initdefault:

3 、

  • vi /etc/X11/gdm/gdm.conf 將紅色部分false改爲true

[xdmcp]
# Distributions: Ship with this off.  It is never a safe thing to leave
# out on the net.  Setting up /etc/hosts.allow and /etc/hosts.deny to only
# allow local access is another alternative but not the safest.
# Firewalling port 177 is the safest if you wish to have xdmcp on.
# Read the manual for more notes on the security of XDMCP.
Enable=true

  • 圖形畫界面運行gdmsetup命令

選擇啓用XDMCP

4、重啓服務並查看端口是否開啓

gdm-restart

netstat -lnp |grep 177
udp        0      0 0.0.0.0:177                 0.0.0.0:*                               5917/gdm-binary    

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章