ubuntu debian xorg xrdp安裝 - Linux
By Faithe
at 2018-11-18T00:24
at 2018-11-18T00:24
Table of Contents
ubuntu 16以前xrdp一定要安裝輕量級桌面 例如xfce lxde mate
https://i.imgur.com/kIam9eo.png
而且同一個使用者 連進去的session
斷線後 下次連線可能會開一個新session
找不到舊的session
現在有個新的xorg xrdp
新的登入介面長這樣
https://i.imgur.com/jpYhCjk.png
選xorg
https://i.imgur.com/zLw2mom.png
https://i.imgur.com/6UVzUo3.png
以後同一個使用者 連進去的session永遠會一樣
而且不用安裝其他輕量級桌面
如何安裝-------------------------------------------------
ubuntu 18以上 debian10以上 最簡單方式就是
$ sudo apt install xrdp xorgxrdp
$ sudo reboot
就可以可以使用
但有一些小bug
建議使用這個script
https://c-nergy.be/blog/?p=14888
ubuntu 16 18 20參考這篇
下載這個檔案
$ wget http://www.c-nergy.be/downloads/xrdp-installer-1.2.zip
解壓縮
$ unzip xrdp-installer-1.2.zip
開啟此.sh 執行權限
$ chmod +x xrdp-installer-1.2.sh
安裝
$ ./xrdp-installer-1.2.sh -s -l
它會從apt-get安裝xrdp xorgxrdp 並設定一些東西 重開機
$ sudo reboot
如果想從xrdp xorgxrdp 的 github安裝最新版
$ ./xrdp-installer-1.2.sh -c -l -s
$ sudo reboot
刪除
$ ./xrdp-installer-1.2.sh -r
$sudo reboot
不過他有一個麻煩的地方
xrdp 要log out 實體端才可以log in
實體端要log out xrdp 才可以log in
如果你是多個使用者同時用遠端 就很方便
如果要踢掉其他使用者的xrdp session
因為用who看不到xrdp的session
必須用htop 看他xorg 或 gnome-session的PID
https://i.imgur.com/dXjo4h7.png
$ sudo kill 19791
--
https://i.imgur.com/kIam9eo.png
而且同一個使用者 連進去的session
斷線後 下次連線可能會開一個新session
找不到舊的session
現在有個新的xorg xrdp
新的登入介面長這樣
https://i.imgur.com/jpYhCjk.png
選xorg
https://i.imgur.com/zLw2mom.png
https://i.imgur.com/6UVzUo3.png
以後同一個使用者 連進去的session永遠會一樣
而且不用安裝其他輕量級桌面
如何安裝-------------------------------------------------
ubuntu 18以上 debian10以上 最簡單方式就是
$ sudo apt install xrdp xorgxrdp
$ sudo reboot
就可以可以使用
但有一些小bug
建議使用這個script
https://c-nergy.be/blog/?p=14888
ubuntu 16 18 20參考這篇
下載這個檔案
$ wget http://www.c-nergy.be/downloads/xrdp-installer-1.2.zip
解壓縮
$ unzip xrdp-installer-1.2.zip
開啟此.sh 執行權限
$ chmod +x xrdp-installer-1.2.sh
安裝
$ ./xrdp-installer-1.2.sh -s -l
它會從apt-get安裝xrdp xorgxrdp 並設定一些東西 重開機
$ sudo reboot
如果想從xrdp xorgxrdp 的 github安裝最新版
$ ./xrdp-installer-1.2.sh -c -l -s
$ sudo reboot
刪除
$ ./xrdp-installer-1.2.sh -r
$sudo reboot
不過他有一個麻煩的地方
xrdp 要log out 實體端才可以log in
實體端要log out xrdp 才可以log in
如果你是多個使用者同時用遠端 就很方便
如果要踢掉其他使用者的xrdp session
因為用who看不到xrdp的session
必須用htop 看他xorg 或 gnome-session的PID
https://i.imgur.com/dXjo4h7.png
$ sudo kill 19791
--
Tags:
Linux
All Comments
By Freda
at 2018-11-18T23:50
at 2018-11-18T23:50
By Valerie
at 2018-11-21T04:41
at 2018-11-21T04:41
By Hardy
at 2018-11-23T12:31
at 2018-11-23T12:31
By Edith
at 2018-11-25T02:10
at 2018-11-25T02:10
By Barb Cronin
at 2018-11-28T10:40
at 2018-11-28T10:40
By Ina
at 2018-11-30T01:05
at 2018-11-30T01:05
By James
at 2018-12-03T06:44
at 2018-12-03T06:44
By Susan
at 2018-12-03T19:15
at 2018-12-03T19:15
By Yuri
at 2018-12-04T14:45
at 2018-12-04T14:45
By William
at 2018-12-06T19:28
at 2018-12-06T19:28
By Quintina
at 2018-12-08T00:02
at 2018-12-08T00:02
By Agnes
at 2018-12-10T06:34
at 2018-12-10T06:34
Related Posts
Debian接FC找不到LUN
By Hedy
at 2018-11-15T13:48
at 2018-11-15T13:48
nmap 7.70安裝問題
By Charlie
at 2018-11-14T23:28
at 2018-11-14T23:28
cluster 的使用率
By Tristan Cohan
at 2018-11-14T19:54
at 2018-11-14T19:54
Samsung 開放 Linux on DeX Beta 註冊
By Hardy
at 2018-11-14T14:34
at 2018-11-14T14:34
linux sever網路驅動問題
By Adele
at 2018-11-14T02:24
at 2018-11-14T02:24