[分享] ubuntu 16 18 xorg xrdp 心得

看板Linux作者 (Rochelle)時間7年前 (2018/11/18 00:24), 5年前編輯推噓1(1015)
留言16則, 3人參與, 7年前最新討論串1/1
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 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1542471891.A.11A.html

11/18 06:46, 7年前 , 1F
這個和系統給的xrdp有什麼差別?
11/18 06:46, 1F

11/18 10:22, 7年前 , 2F
他其實沒有不見 只是換一個port而已
11/18 10:22, 2F

11/18 10:24, 7年前 , 3F
w 就能看到是哪個port進入 59xx
11/18 10:24, 3F

11/18 10:25, 7年前 , 4F
然後指定port就可以回到原來桌面
11/18 10:25, 4F

11/18 12:42, 7年前 , 5F
你ubuntu18直接sudo apt install xrdp也有xorg可以選
11/18 12:42, 5F

11/18 12:44, 7年前 , 6F
這個下載來run 也是先apt install xrdp 另外是再加了一
11/18 12:44, 6F

11/18 12:44, 7年前 , 7F
些設定
11/18 12:44, 7F

11/18 13:19, 7年前 , 8F
https://c-nergy.be/blog/?p=14029 點進去他整個run
11/18 13:19, 8F

11/18 13:20, 7年前 , 9F
有解釋他做了什麼 但是太長我就沒貼了
11/18 13:20, 9F

11/18 13:20, 7年前 , 10F
我知道可以調整port 但是比較麻煩 而且桌面要另外灌
11/18 13:20, 10F

11/18 16:18, 7年前 , 11F
xorg一個使用者帳號只會開一個session
11/18 16:18, 11F

11/18 20:51, 7年前 , 12F
ubuntu16只能apt安裝xrdp 0.6
11/18 20:51, 12F

11/18 20:51, 7年前 , 13F
ubuntu18才能apt安裝xrdp 0.9
11/18 20:51, 13F

11/19 00:43, 7年前 , 14F
ubuntu16以下用github可以安裝0.9版
11/19 00:43, 14F

03/16 16:22, 7年前 , 15F
其他桌面 xubuntu ubuntu-mate kubuntu 18.04成功
03/16 16:22, 15F

03/16 16:22, 7年前 , 16F
lubuntu 18.04無法
03/16 16:22, 16F
※ 編輯: roccqqck (101.12.195.46 臺灣), 05/08/2020 00:03:59
文章代碼(AID): #1Ry43J4Q (Linux)
文章代碼(AID): #1Ry43J4Q (Linux)