linux xrdp0.6 安裝

CentOS安裝XRDP實現遠程桌面訪問

[root@localhost ~]# yum install gcc pam-devel openssl-devel

[root@localhost ~]# wget http://downloads.sourceforge.net/project/xrdp/xrdp/0.6.0/xrdp-v0.6.0.tar.gz

[root@localhost ~]# tar xvf xrdp-v0.6.0.tar.gz 

[root@localhost ~]# cd xrdp-v0.6.0

[root@localhost xrdp-v0.6.0]# ./bootstrap

[root@localhost xrdp-v0.6.0]# ./configure

[root@localhost xrdp-v0.6.0]# make && make install

xrdp啓動 
[root@localhost xrdp-v0.6.0]# /etc/xrdp/xrdp.sh start

[root@chemitest init.d]# yum  install  vnc
[root@chemitest init.d]# yum install  vnc-server

[root@chemitest init.d]# vim /etc/sysconfig/vncservers 
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 800x600 -query localhost"


[root@chemitest init.d]# /etc/init.d/vncserver start
正在啓動 VNC 服務器:2:root 
VNC password for user root is not configured
                                                           [失敗]
[root@chemitest init.d]# vnc
vncconfig  vncpasswd  vncserver  vncviewer  
[root@chemitest init.d]# vncpasswd 
Password:
Verify:
[root@chemitest init.d]# /etc/init.d/vncserver start
正在啓動 VNC 服務器:2:root xauth:  creating new authority file /root/.Xauthority


xauth: (stdin):1:  bad display name "chemitest:2" in "add" command

New 'chemitest:2 (root)' desktop is chemitest:2

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/chemitest:2.log

                                                           [確定]


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章