大家好,欢迎来到IT知识分享网。
第一步:首先linux必须要有可视化界面,纯命令行的是不行的。
yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y
(2)执行以下命令,设置默认启动图形化界面。
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
(3)重启生效。
reboot
systemctl set-default multi-user.target
systemctl set-default graphical.target
【Ubuntu搭建可视化】参考:https://cloud.tencent.com/document/product/213/46001
第二步:安装desktop
rdesktop官方提供的下载地址为:https://github.com/rdesktop/rdesktop/releases/latest
通过wget命令行下载:
wget https://github.com/rdesktop/rdesktop/releases/download/v1.8.3/rdesktop-1.8.3.tar.gz
下载完成后解压
tar -xvzf rdesktop-1.8.3.tar.gz
按照解压的路径,此时进入 rdesktop 目录中,配置,编译,安装。
cd rdesktop-1.8.3
./configure
报错一:
ERROR: Could not find X Window System headers/libraries. Probably you need to install the libX11-devel package. To specify paths manually, use the options --x-includes and --x-libraries.
方案:
yum install libX11-devel
报错二:
rdesktop requires libXcursor, install the dependency
方案:
yum install libXcursor
报错三:
CredSSP support requires libgssglue, install the dependency or disable the feature using --disable-credssp.
方案:
./configure --disable-credssp
报错四:
SmartCard support requires PCSC, install the dependency or disable the feature using --disable-smartcard.
方案:
./configure --disable-credssp --disable-smartcard
结果:
make && make install
第三步:检查目标windows系统中的远程设置,使用命令rdesktop 公网ip:端口号即可

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://haidsoft.com/126681.html