zoukankan      html  css  js  c++  java
  • 关于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的問題還真多…從以前到現在好像都是這樣.



  • 相关阅读:
    多一盎司定律
    工作职场中,需要养成并实践的思维模型
    中国易经大师排名,易学十大泰斗人物
    大易人生 --- 曾老
    中道管理 --- 曾老
    大数据分析的道与术
    人应该服从自己的规划
    练习不是让你一次就把事情做好,而是帮助你做的越来越好
    让理想转个弯
    在酒桌上就能搞定生意
  • 原文地址:https://www.cnblogs.com/lexus/p/1712671.html
Copyright © 2011-2022 走看看