日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

关于xrdp的安装设置

發(fā)布時間:2025/3/8 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 关于xrdp的安装设置 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
參考鏈接
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端口在監(jiān)聽
重啟后機子可能不會自動啟動xrdp server,需要自己來起動在
rm /var/run/xrdp/xrdp.pid
/etc/init.d/xrdp start


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


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

節(jié)錄一下:
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

重點節(jié)錄:
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的問題還真多…從以前到現(xiàn)在好像都是這樣.



總結

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

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。