Xmanager Enterprise 3 管理 Linux

環境:server redhat 5.4 client:windows 7
 
操作分兩部分
server 端操作:編輯/usr/share/gdm/defaults.conf 這個文件,在[xdmcp]選項中設置Enable=true,,Port=177去掉這幾行前的#,如果用ROOT遠程登錄的話在[security]選項中設置AllowRoot=true,AllowRemoteRoot=true,到處設置就算完成了,看到網上有人說要編輯/etc/inittab/文件,修改x:5:respawn:/etc/X11/prefdm -nodaemon  爲x:5:respawn:/usr/sbin/gdm,其實這步是多此一舉的,你看下prefdm腳本的內容就知道,它是調用GDM或KDM的,所以不用修改的
使用命令gdm-restart可以重啓gdm,使GDM配置文件生效
 
 
還有一種更簡單的方法,其實/usr/share/gdm/defaults.conf 和/etc/gdm/custom.conf 都是GDM的配置文件,所以修改哪個都可以,
在此引用官方的配置步驟,經我驗證可以實驗成功,平臺爲Red Hat 5 EL
For XDMCP connection to Red Hat 5 EL
1. XDM Configuration
1. Change runlevel to 5

 

Open/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:

 

2. Enable XDMCP

 

   For GDM:
 
 
Open /etc/gdm/custom.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp]
Enable=1

 

   For KDM:
 
 
Open /usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open /usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following.
[xdmcp]
Enable=true
 
重要的一點就是防火牆,設置防火牆允許177端口,十有八九連接不成功和防火牆有關係.
client端操作:下載Xmanager Enterprise 3,運行Xbrowser
打開Xbrowser 新建session選擇第二項XDMCP



下一步中輸入服務器地址,按嚮導完成後,運行生成圖標提示輸入用戶名,密碼,驗證成功後,進入服務器
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章