在安裝完新的 Linux 機器之後,如果有將 X11 跑起來,並把 run-level 設為 5 的話,應該就可以進到 Linux 的圖形介面了,但當想要遠端連進去使用 Linux 的圖形介面時,該怎麼辦呢?
這裡我們用 X-Manager 來示範連上 Linux 機器的 XDMCP session:
一般我看到的資料是寫著如下的步驟:
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
這裡我們用 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:








請問一下 如果是從不童網域要連進工作站怎設定
這裡的設定應該跟不同網域無關,要由不同網域連進去只要網段是通的,至少你的網域有Gateway可以到的了機器的網段就行啦,當然前提是中間如果有經過防火牆的話,相關的Port要開啟。
你好再請問一下 我點進去XDMCP 會出現connection failed ,try again
這是?
我在公司可以連 現在在家要連就會出現這問題
是在linux 要設定我家電腦ip?
我並不清楚你的設定和環境,可能你得稍微描述一下,不然很難知道問題在哪呢。。。