本文共 1462 字,大约阅读时间需要 4 分钟。
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 installxrdp启动 [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]# vncvncconfig 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/.Xauthorityxauth: (stdin):1: bad display name "chemitest:2" in "add" commandNew 'chemitest:2 (root)' desktop is chemitest:2Creating default startup script /root/.vnc/xstartupStarting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/chemitest:2.log [确定]
转载于:https://blog.51cto.com/kingtigerhu/1580862