「請益」[莫名正常連線??]中秋…半殘工具人與xrdp的奮戰 [論壇 - 新手村]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



「請益」[莫名正常連線??]中秋…半殘工具人與xrdp的奮戰
會員一級
註冊日期:
2012/9/18 15:21
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 43
MP : 5 / 795
EXP: 74
離線
[/color][/size][/b]更新又再度莫名其妙可遠端連線使用??懇請板上前輩指點迷津
喂狗後有約有 256,000 項結果 (搜尋時間:0.28 秒)請體諒發言不雅...

2018 簡單的xrdp,開放原始碼的遠端桌面通訊協定(remote desktop protocol)伺服器都搞不定

sudo apt-get install xrdp
sudo apt-get install xrdp


sudo apt-get install vnc4server tightvncserver
sudo apt-get install vnc4server tightvncserver


sudo apt-get install xubuntu-desktop
sudo apt-get install xubuntu-desktop


OS: Xubuntu 18.04

echo “xfce4-session” >~/.xsession
echo “xfce4-session” >~/.xsession


編輯 /etc/rc.d/rc.local,加入:

/usr/local/xrdp/xrdp_control.sh start

xrdp 的設定檔

相關設定檔放在 "/etc/xrdp/",比較重要的是 "/etc/xrdp/sesman.ini" 這個檔案,在 [Globals] 中的這一行:
ListenAddress=127.0.0.1
表示只允許從本機連結 RDP Server,如果要從別的主機進行操作 (配合登入 xrdp 的 "sesman-any" 選項),可將 "127.0.0.1″ 改成 "0.0.0.0″。
Port 為 5300
https://imgur.com/pks9NMk.png
sudo service xrdp restart
sudo service xrdp restart


but ...用 Windows 的 "遠端桌面連線" 進行存取https://imgur.com/RwKOo6C

https://imgur.com/0JzrpRd

https://imgur.com/qPasNxA

防火牆port 開
Win當作terminal server、Linux當作terminal client
Xorg 全黑後秒退?其他則是顯示error some problem?some problem?
Xubuntu Remote Desktop Protocol 雙方則是一片黑?
May i miss some setting?



ref:xRDP – How to Install on Xubuntu 16.10
http://c-nergy.be/blog/?p=10355

[b][size=medium][color=0066FF]However, there is a big catch. The user who initiates the remote session to the Xubuntu machine must not be logged on locally on the console. If this is the case, the connection will fail. You will have either a grey screen or a black screen or a initial connection that terminates immediately. The same applies when the user is logged on through xRDP. if the user tries to connect locally on the Xubuntu, the user will encounter a loop login effect. The user will be presented with the login but will be logout immediately after passing the credentials. This means that you have to use either a local console or a remote session connection through your user account and you need to ensure that you have performed a proper logoff operation from either sessions (local or remote) in order to be able to use this with Xubuntu.

附件:



jpg  xrdp.JPG (16.96 KB)
32384_5ba6124a32f4c.jpg 448X280 px

jpg  xrdp.jpg (16.96 KB)
32384_5ba612dea0b96.jpg 448X280 px

9/22 19:06:39
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.