`
mlzboy
  • 浏览: 701901 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

关于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的問題還真多…從以前到現在好像都是這樣.



分享到:
评论
1 楼 MZhangShao 2011-06-30  
奉劝你一句,以后在Ubuntu 用apt-get安装成功的软件,就不要贴出来了,丢人,没什么技术含量

相关推荐

Global site tag (gtag.js) - Google Analytics