日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

关于xrdp的安装设置

發布時間:2025/3/8 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 关于xrdp的安装设置 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
參考鏈接
http://linuxfan-linuxtips.blogspot.com/2010/03/get-xrdp-to-work-in-ubuntu.html
http://chip.twbbs.org/blog/?p=658
http://www.mexlinux.com/how-to-install-xrdp-in-ubuntu/
首先,你必須remove vnc4server,這個東西和這個軟件有沖突
sudo apt-get remove vnc4server
sudo apt-get install tightvncserver
sudo apt-get install xrdp

使用netstat -ctl查看一下有沒有使用3389端口在監聽
重啟后機子可能不會自動啟動xrdp server,需要自己來起動在
rm /var/run/xrdp/xrdp.pid
/etc/init.d/xrdp start


今天早上繼續Run了一下XRDP,
感覺問題還是不少,
主要問題如下:(在8.04底下)
1. Gnome的panel設定一直update不成功
2. Xauthorization
3. 鍵盤問題輸入


找到一份資料在講XRDP的問題:
xrdp package doesn’t work out of box

節錄一下:
Craig Ringer wrote on 2009-06-12: (permalink)

xrdp is _severely_ bugged when using vnc4server as a backend. gnome-panel tends to launch, then crash out with a BadWindow xlib error, resulting in a flickering gnome-panel and otherwise a default stippled x server background.

If you remove vnc4server and install tightvncserver, login should work. However, at least on the systems I’ve tried, the gnome theme seems to be constantly reset to a flat generic theme and the keyboard mapping is completely insane (dvorak? something similarly mad).

At present, xrdp seems pretty broken.

嗯嗯…
所以我又跑到實驗室裝看看9.04,
還是會遇到上面的問題, (銀幕一直閃, 但我學弟好像沒遇到)
所以我最後裝了
1. Ubuntu 9.04 Desktop
2. apt-get install tightvncserver
3. apt-get install xrdp
4. 解決鍵盤問題
(1) gconftool-2 –type list –list-type=string –set /desktop/gnome/peripherals/keyboard/kbd/layouts [damnlayouts]
(2) Disable gnome-keyboard-plugin (這方法比較好)
keyboard unusable after logging in
gnome-settings-daemon crash opening any window: “BadWindow” X error under Xvnc

重點節錄:
disable the keyboard plugin of the gnome-settings-daemon using gconf-editor:
/apps/gnome_settings_daemon/plugins/keyboard
set active to False.
5. 重開機xrdp會跑不起來, 蠻怪的, 我自己是寫了一個script重跑就好, xrdp.sh
/etc/init.d/xrdp stop
rm /var/run/xrdp/xrdp.pid
/etc/init.d/xrdp start
6. apt-get install ssh joe
記得改sshd_config->Port and Root login
7. 裝web: apache, mysql, php, phpmyadmin, webmin?

大概就是這樣吧,
呼…感覺終於可以用的感覺了.
X的問題還真多…從以前到現在好像都是這樣.



總結

以上是生活随笔為你收集整理的关于xrdp的安装设置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。