编译、安装rdesktop 1.8.3

来自:https://blog.csdn.net/songshimvp1/article/details/48290885

1、安装GCC:

安装C/C++编译器
apt-get install gcc
 
gcc安装相关构建工具
apt-get install build-essential

另外再装一下下面这两个:

checking for GSSGLUE... no

错误(1):
CredSPP support requires libgssglue, install the dependency
or disable the feature using --disable-credssp.
解决:
# apt-get install libgssglue-dev

错误(2):
checking for PCSCLITE... no

SmartCard support requires PCSC, install the dependency
or disable the feature using --disable-smartcard.
解决:
# apt-get install libpcsclite-dev

2、编译rdesktop 1.8.3

首先进入存放rdesktop 1.8.3的文件夹,解压文件

tar -xvzf rdesktop-1.8.3.tar.gz

cd rdesktop-1.8.3

./configure       //这一步以后会生成MAKEFILE文件

make

make install

3、使用rdesktop

安装rdesktop:apt-get install rdesktop

注意不要在PuTTY.exe终端上直接连接MS-Windows,

(否则会出现:ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ?
Failed to connect, CredSSP required by server.)

要在Ubuntu上连接:

rdesktop -f -a 16 192.168.1.126:3389
(其中选项 -f 为全屏显示,-a 16 为显示像素为16,192.168.1.126为主机名,使用Ctrl+Alt+Enter可以退出全屏.)

接下来,在客户端界面上输入用户名,密码,登录

补充:

4、使用软件——PuTTY.exe,在远端主机操作虚拟机上的Ubuntu

需要现在远端的Ubuntu上开启openssh服务:

安装
apt-get install openssh
apt-get install openssh-server


完成后,检查ssh server是否启动:
ps -e |  grep ssh
如果只是有:
ssh-agent
说明没有启动server

可以手动启动:
sudo /etc/init.d/ssh start

猜你喜欢

转载自www.cnblogs.com/kinome/p/10043480.html