這裡我們用 X-Manager 來示範連上 Linux 機器的 XDMCP session:
一般我看到的資料是寫著如下的步驟:
· Edit /etc/X11/xdm/Xaccess file但是,據我測試的結果,其實只要下面的步驟就好了:
>> uncomment the line “# * #any host can get a login window”.
· Edit /etc/X11/xdm/xdm-config file
>> comment out the line “DisplayManager.RequestPort: 0″.
· Edit /etc/X11/gdm/gdm.conf file
>> set the enable status to True (or 1) in [xdmcp] section.
· Edit /etc/kde/kdm/kdmrc file
>> set the enable status to True (or 1) in [xdmcp] section.
· reboot system.
· The system needs to run in init level 5 (/etc/inittab).
· Edit /etc/X11/xdm/Xaccess file機器重啟之後,就可以打開你的 Xmanager3 來連上機器囉:
>> uncomment the line “# * #any host can get a login window”.
· Edit /etc/X11/gdm/gdm.conf file
>> set the enable status to true (or 1) in [xdmcp] section.
· Edit /etc/X11/gdm/gdm.conf file
>> uncomment the line "Port=177" in [xdmcp] section.
· reboot system.
1. 打開 Xbrowser 直接點選 New 來建一個新的 XDMCP session:
2. 敲入機器的 IP address 之後按 Next :
下面這一頁可以跳過直接按 Next:
4. 填入一個易於辨別的 Session Name 吧,通常 Host name 就好;記得下面的"Execute the session when this new session wizard is finished"接著按 Finish:
5. 在右邊的工作區點選剛剛建立的 KHXAAAS1 按右鍵 Properties :
6. 假如你像我有多個網卡時,在 Local Address 處下拉選擇正確要 Display 的 IP address:
7. 確定之後 open 剛剛建立的 KHXAAAS1:
8. 敲入 User name 跟 Password 之後,呵呵,漂亮的圖形介面就出現囉~
附上參考的網站:How to configure a new Linux host to accept XDMCP sessions









