ubuntu debian xorg xrdp安裝 - Linux

Faithe avatar
By Faithe
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

--
Tags: Linux

All Comments

Freda avatar
By Freda
at 2018-11-18T23:50
這個和系統給的xrdp有什麼差別?
Valerie avatar
By Valerie
at 2018-11-21T04:41
他其實沒有不見 只是換一個port而已
Hardy avatar
By Hardy
at 2018-11-23T12:31
w 就能看到是哪個port進入 59xx
Edith avatar
By Edith
at 2018-11-25T02:10
然後指定port就可以回到原來桌面
Barb Cronin avatar
By Barb Cronin
at 2018-11-28T10:40
你ubuntu18直接sudo apt install xrdp也有xorg可以選
Ina avatar
By Ina
at 2018-11-30T01:05
這個下載來run 也是先apt install xrdp 另外是再加了一
些設定
James avatar
By James
at 2018-12-03T06:44
https://c-nergy.be/blog/?p=14029 點進去他整個run
Susan avatar
By Susan
at 2018-12-03T19:15
有解釋他做了什麼 但是太長我就沒貼了
我知道可以調整port 但是比較麻煩 而且桌面要另外灌
Yuri avatar
By Yuri
at 2018-12-04T14:45
xorg一個使用者帳號只會開一個session
William avatar
By William
at 2018-12-06T19:28
ubuntu16只能apt安裝xrdp 0.6
ubuntu18才能apt安裝xrdp 0.9
Quintina avatar
By Quintina
at 2018-12-08T00:02
ubuntu16以下用github可以安裝0.9版
Agnes avatar
By Agnes
at 2018-12-10T06:34
其他桌面 xubuntu ubuntu-mate kubuntu 18.04成功
lubuntu 18.04無法

Debian接FC找不到LUN

Hedy avatar
By Hedy
at 2018-11-15T13:48
OS:Debian 9 SAN:NETAPP E2812 HBA卡:QLE2562 OS版本: rootatnode06:/# cat /etc/*-release PRETTY_NAME=and#34;Debian GNU/Linux 9 (stretch)and#34; NAME=and#34;D ...

nmap 7.70安裝問題

Charlie avatar
By Charlie
at 2018-11-14T23:28
從官網上下載的nmap 7.70 rpm包 userathostname:~/下載$ sudo rpm -ivh nmap-7.70-1.x86_64.rpm [sudo] user のパスワード: rpm: RPM should not be used directly install RPM packag ...

cluster 的使用率

Tristan Cohan avatar
By Tristan Cohan
at 2018-11-14T19:54
各位大大好: 小弟不才,對於各行業使用 cluster 比例深感興趣,也想知道,各行業在認知、追求上是 否善於使用以存在多年的技術。小弟是資訊業,協助處理客戶端的設備,發現大約不到1% 的設備有在使用cluster for application.(HA) 之所以會上來發問,是在與 HR 閒聊之於,談 ...

Samsung 開放 Linux on DeX Beta 註冊

Hardy avatar
By Hardy
at 2018-11-14T14:34
https://www.techbang.com/posts/62585-samsung-open-linux-on-dex-beta-registration-can-run-linux-in-note9-tab-s4-and-other-devices 縮址 https://goo.gl/Neu15j ...

linux sever網路驅動問題

Adele avatar
By Adele
at 2018-11-14T02:24
(原文吃光光...) 我挑重點回好了,給之後有需要的人參考,若有說錯,請糾正 標題:網路卡驅動問題 若要安裝新版的driver: 網卡是Intel I210,1Gbps LAN,適用的Linux Driver 同Intel I350,驅動是igb (這時間點Intel最新版應該是 5.3.5.1 ...