关于xrdp的安装设置

本文介绍在Ubuntu上安装和配置XRDP的过程及遇到的问题。作者详细记录了移除vnc4server、安装tightvncserver和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的問題還真多…從以前到現在好像都是這樣.



评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值