CentOS 7.6 安装 rdesktop 踩坑指南
rdesktop is an open source UNIX client for connecting to Windows Remote Desktop Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. rdesktop is known to work with Windows server versions ranging from NT 4 terminal server to Windows Server 2016.
环境:
服务器配置:CPU: 2核 内存: 2GB
操作系统:CentOS 7.6 64bit
rdesktop官方提供的下载地址为:https://github.com/rdesktop/rdesktop/releases/latest
亦可以在实例内部直接通过命令行下载:
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
坑 No.1
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.
这个看报错比较好解决,我们用下边的命令,安装一下 libX11-devel 即可
yum install libX11-devel
坑 No.2
rdesktop requires libXcursor, install the dependency
看报错也还 OK ,我们要安装一个叫做 libXcursor 的依赖,试试这个命令:
yum install libXcursor
emm……
"No God, please no! "
这个问题很奇怪,我也是又重新走了一遍,结果顺利通关的……还是建议在配置前挨个检查下依赖的安装情况吧。
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package libXcursor-1.1.15-1.el7.x86_64 already installed and latest version
Nothing to do
坑 No.3
CredSSP support requires libgssglue, install the dependency
or disable the feature using --disable-credssp.
嗯嗯,这个好办,它已经给我们提供建议了:
./configure --disable-credssp
坑 No.4
SmartCard support requires PCSC, install the dependency
or disable the feature using --disable-smartcard.
和上边一样,再拼一句:
./configure --disable-credssp --disable-smartcard
搞定,现在可以开始编译、安装了:
make && make install
打完收工,如果不放心,可以再执行一下 rdesktop 确认是否安装成功:
rdektop
如果出现下图所示的内容,说明搞定了,现在开始连接你的Windows吧!
彩蛋
什么?你问我怎么用 rdesktop?我只能告诉你:
相关文章
- CentOS安装RabbitMQ
- linux中777是什么权限_centos切换到root用户
- Vagrant安装centos/7虚拟机
- centos下安装python MySQLdb
- 「 Centos安装go环境教程 」
- Centos 运维之防火墙篇——②firewalld
- centos docker 安装和使用
- centOS 7安装mysql5.6详解程序员
- 简单说明CentOS源码安装程序详解程序员
- Centos安装MYSQL8.X的教程
- 查看CentOS版本:Linux解决方案(linux查看centos版本)
- Centos步骤简明教程:安装Oracle 11g(centos安装oracle11g)
- 在CentOS 6.0 上安装LAMP服务器( Apache2 + PHP5 + MySQL)
- 如何在Ubuntu和CentOS上安装Microsoft Teams Linux
- 如何在CentOS 7上安装Oracle Database 12c
- Centos 6.5 安装教程 图文教程
- CentOS 7系统Sass快速安装指南(linuxsass安装)
- CentOS上安装MySQL简单又安全(centos加mysql)
- 配置CentOS下MySQL安装与配置指南(centos中mysql)
- CentOS下LighttpdWeb服务器安装与配置方法
- VPS主机CentOS系统安装LNMP环境图文教程分享
- CentOS查询软件包的安装位置