如何設置可以遠程操作
- 安裝必要的遠程桌面的軟件:
xfce
,xrdp
,vnc4server
sudo apt-get update sudo apt-get install xfce4 sudo apt-get install xrdp vnc4server
- 安裝好后要自行新建配置文件,使得在遠程登錄時默認使用
xfce
作為界面登錄,然后重啟xrdp
服務:echo "xfce4-session" >~/.xsession sudo service xrdp restart
- 配置完以上設置的時候,使用
Module
的sesman-Xvnc
進行登錄,你會發現一片漆黑,什么都沒有,ubuntuu也沒有什么影響和變化,因為
ubuntu並**沒有設置允許他人鏈接** 按着路徑
/usr/share/applications/打開
Desktop sharing`,並設置相關屬性Desktop Sharing PreferencesDesktop Sharing Preferencest - 如果是
13.04
的話,以上已經完成設置了,但是ubuntu14.04
是無法正確連接的,(連接時屏幕是灰屏,只有一個光標)會顯示安全等級問題,我們還需要繼續配置 - 安裝
dconf-editor
,並進行繼續的設置sudo apt-get install dconf-editor
- 在
search yoour computer android online sources
中查找上一步安裝的軟件dconf-editor
- 配置路徑:
org > gnome > desktop > remote-access
- 取消勾選
requlre-encryption
屬性
- 最后就可以在
win7
下進行配置了,輸入ubuntu電腦的IP地址,會出現如下畫面,Module項目
選擇使用的協議,這里選擇vnc-any
,輸入IP地址
(跟ubuntu電腦的IP地址一樣),端口不變(5900),你設定的密碼(即:設置Desktop sharing
里面所填入的密碼),即可遠程連接到ubuntu 14.04桌面
http://www.zhixing123.cn/ubuntu/41953.html
http://www.jianshu.com/p/a915e52dae11