13
June
2009

Ubuntu桌面遙控登入0

Ubuntu的Remote Desktop似乎只能夠在主機有用戶登入期間,讓別人從外面連進來。這不符合我的需求。我旅行期間,希望可以用圖形介面登入。

不知有什麼解?(解找到了,如下文。)


解法一:
System->Administration->Login Window->Security頁:
將Enable Timed Login打開

從此便可安心使用Remote Desktop而無需擔心主機重開機(比如因為斷電)。
(若client端為Ubuntu,用Applications->Internet->Remote Desktop Viewer;若為Windows,可用realvnc的VNC Free Edition Viewer)

缺點:主機端的鍵盤螢幕完全開放,會被自己的家人或同事給看光光。


解法二:
System->Administration->Login Window->Remote頁:
Style選Same as Local

然後client課端有兩種連線方式,都使用Ubuntu。(Windows下用一套叫Xming的軟體,我還沒試過。)
一、在client端的登入畫面左下角:Options->Remote Login via XDMCP。(缺點:1. 如果用筆記型電腦的話,此時尚未建立無線網路連線。2. 沒辦法同時在client端機器上做其他事。)
二、安裝xnest套件(在Synaptic Package Manager裡作)。然後
Applications->Internet->Terminal Server Client程式中,便可選擇XDMCP(X Desktop Management Control Protocol)


以上兩種解法,都只能看得到畫面,但聽不到聲音。可有解乎?


以安全性來說,據說XDMCP不支援tunneling,Remote Desktop (vnc) 則可以。我沒力氣打細節了。

Reference:
Ubuntu Guide (on Remote Access)
Wiki on X display manager
How to Access Your Ubuntu Remotely(這篇作者用的不是Remote Desktop/vnc)
google “X11 forwarding”

歷年的今天…



Leave a Reply

To spammers:
Don't even bother to attempt spamming. Each comment from a new username-email combination is subject to approval before it is published.