欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > linux >内容正文

linux

xrdp安装包linux,linux xrdp0.6 安装

发布时间:2025/5/22 linux 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 xrdp安装包linux,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

[确定]

总结

以上是生活随笔为你收集整理的xrdp安装包linux,linux xrdp0.6 安装的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。