偶然在网上看到了FreeRDP,编译安装后,果然好用。文档是记录整个安装过程的,备忘!

官方网站:http://www.freerdp.com/

安装完后运行的命令是:xfreerdp 192.168.1.101 -u administrator -p 123

功能说明(摘自百度快照):

1、连接机器ip地址是 192.168.1.101,

2、登录远程机的账户密码是:-u administrator -p 123

3、使用全屏浏览: -f

4、把本地的/media/folder目录共享给远程机,

其中disk:后面先接远程机的用户名,然后才是本地目录路径:

–plugin rdpdr –data disk:administrator:/media/folder

注意的事项:

1、从远程机的全屏切换回来的快捷键是:ctrl+alt+enter

2、在挂载了共享给远程机的目录后,远程机的ip地址前面有一个空格,然后才是双短横 — ,而其他地方的双短横都是紧接命令的。

3、为了不每次输入这么长的一段命令,可以写入.bashrc中(仅对当前环境有效),alias myconn=’command’

4、更多的使用方法,请参考官方文档。

以下为安装FreeRDP的整个过程:(加粗为手工输入的命令,其它内容可能因环境不同会有差异)

root@l1:~/home/acai# Git clone https://github.com/FreeRDP/FreeRDP.git

Initialized empty Git repository in /home/acai/test/FreeRDP/.git/

remote: Counting objects: 13995, done.

remote: Compressing objects: 100% (3677/3677), done.

remote: Total 13995 (delta 10439), reused 13797 (delta 10290)

Receiving objects: 100% (13995/13995), 5.46 MiB | 11 KiB/s, done.

Resolving deltas: 100% (10439/10439), done.

root@l1:~/home/acai# cd FreeRDP

root@l1:~/home/acai/FreeRDP# apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

build-essential is already the newest version.

git-core is already the newest version.

libssl-dev is already the newest version.

libx11-dev is already the newest version.

libxext-dev is already the newest version.

libxext-dev set to manually installed.

libxinerama-dev is already the newest version.

libxinerama-dev set to manually installed.

libxcursor-dev is already the newest version.

libxcursor-dev set to manually installed.

libxdamage-dev is already the newest version.

libxdamage-dev set to manually installed.

libasound2-dev is already the newest version.

The following extra packages will be installed:

cmake-data emacsen-common x11proto-video-dev

The following NEW packages will be installed:

cmake cmake-data emacsen-common libcups2-dev libxkbfile-dev libxv-dev x11proto-video-dev

0 upgraded, 7 newly installed, 0 to remove and 73 not upgraded.

Need to get 7,132kB of archives.

After this operation, 18.4MB of additional disk space will be used.

Do you want to continue [Y/n]? y

root@l1:~/home/acai/FreeRDP# apt-get install libavutil-dev libavcodec-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

Suggested packages:

libfaad-dev libogg-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libraw1394-dev

libdc1394-22-dev

The following NEW packages will be installed:

libavcodec-dev libavutil-dev

0 upgraded, 2 newly installed, 0 to remove and 73 not upgraded.

Need to get 2,326kB of archives.

After this operation, 6,558kB of additional disk space will be used.

root@l1:~/home/acai/FreeRDP# apt-get install libcunit1-dev libdirectfb-dev xmlto doxygen libxtst-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

libdirectfb-dev is already the newest version.

libdirectfb-dev set to manually installed.

The following extra packages will be installed:

dblatex doc-base libcunit1 libfreezethaw-perl libmldbm-perl libuuid-perl preview-latex-style texlive-bibtex-extra

texlive-latex-extra texlive-latex-extra-doc texlive-math-extra texlive-pictures texlive-pictures-doc

x11proto-record-dev

Suggested packages:

docbook latex-cJk-all opensp texlive-lang-cyrillic texlive-xetex transfig doxygen-doc doxygen-gui libcunit1-doc

texpower xmltex

The following NEW packages will be installed:

dblatex doc-base doxygen libcunit1 libcunit1-dev libfreezethaw-perl libmldbm-perl libuuid-perl libxtst-dev

preview-latex-style texlive-bibtex-extra texlive-latex-extra texlive-latex-extra-doc texlive-math-extra

texlive-pictures texlive-pictures-doc x11proto-record-dev xmlto

0 upgraded, 18 newly installed, 0 to remove and 73 not upgraded.

Need to get 230MB of archives.

After this operation, 360MB of additional disk space will be used.

Do you want to continue [Y/n]? y

root@l1:~/home/acai/FreeRDP# cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .

...

-- Configuring done

-- Generating done

-- Build files have been written to: /home/acai/FreeRDP

root@l1:~/home/acai/FreeRDP# make

...

Note: Writing xfreerdp.1

[100%] Built target xfreerdp.manpage

root@l1:~/home/acai/FreeRDP# make install

...

root@l1:~/home/acai/FreeRDP# cd /etc/ld.so.conf.d

root@l1:/etc/ld.so.conf.d# ls

afflib.conf GL.conf libasound2.conf vmware-tools-libraries.conf

freerdp.conf i486-linux-gnu.conf libc.conf

root@l1:/etc/ld.so.conf.d# vi freerdp.conf

#写入并保存

#/usr/local/lib/freerdp

#/usr/local/lib

root@l1:/etc/ld.so.conf.d# cat freerdp.conf

/usr/local/lib/freerdp

/usr/local/lib

root@l1:/etc/ld.so.conf.d# which xfreerdp

/usr/local/bin/xfreerdp

root@l1:/etc/ld.so.conf.d# cd /usr/local/bin

root@l1:/usr/local/bin# xfreerdp

xfreerdp: error while loading shared libraries: libfreerdp-core.so.1.0: cannot open shared obJect file: No such file or directory

root@l1:/usr/local/bin# ldconfig

root@l1:/usr/local/bin# ls -l /usr/local/bin | grep xfreerdp

-rwxr-xr-x 1 root root 788141 2012-03-15 12:28 xfreerdp

root@l1:/usr/local/bin# which xfreerdp

/usr/local/bin/xfreerdp

root@l1:/usr/local/bin# ls /usr/local/lib/freerdp/

audin_alsa.so disk.so printer.so rdpdr.so serial.so tsmf.so

audin.so drdynvc.so rail.so rdpsnd_alsa.so tsmf_alsa.so

cliprdr.so parallel.so rdpdbg.so rdpsnd.so tsmf_ffmpeg.so

root@l1:/usr/local/bin# ls /usr/local/share/freerdp/keymaps/

aliases digital_vndr fujitsu macintosh sony xfree98

amiga empty hp macosx sun xkb.pl

ataritt evdev ibm sgi_vndr xfree86

root@l1:/usr/local/bin# cd ~/.freerdp/

root@l1:~/.freerdp# xfreerdp 192.168.1.101 -u administrator -p 123

connected to 192.168.1.101:3389

connected to 192.168.1.101:3389

connected to 192.168.1.101:3389

#安装完成,整个过程完毕

以上就是FreeRDP的安装方法的全部内容。

freerdp 解压安装_FreeRDP的安装方法相关推荐

  1. python压缩包怎么安装-详解python解压压缩包的五种方法

    这里讨论使用Python解压例如以下五种压缩文件: .gz .tar .tgz .zip .rar 简单介绍 gz: 即gzip.通常仅仅能压缩一个文件.与tar结合起来就能够实现先打包,再压缩. t ...

  2. dpkg命令用法、Ubuntu下deb包的解压、打包、安装、卸载及常用命令参数

    dpkg命令的用法 不带图简装:https://blog.csdn.net/wanghuohuo13/article/details/78916821?ops_request_misc=&re ...

  3. python解压版怎么安装_python 解压版 zip file 安装

    python 解压版 zip file 安装 Python Releases for Windows 找到最新稳定版本的 "Download Windows x86-64 embeddabl ...

  4. linux rar无法运行,linux服务器无法解压rar文件的解决方法

    这里将告诉您linux服务器无法解压rar文件的解决方法,教程操作步骤: 报错是:command not found 解决方法: 先下载一下rarlinux的包,但是尽量下载64位的,因为现在的服务器 ...

  5. 服务器无法打开.rar文件,linux服务器无法解压rar文件的解决方法

    linux服务器无法解压rar文件的解决方法 报错是:command not found 解决方法: 先下载一下rarlinux的包,但是尽量下载64位的,因为现在的服务器基本都是64位的,如果你不小 ...

  6. linux apr文件解压失败,Apache编译安装提示configure: error: APR not found错误解决方法...

    在配置Apache的时候,出现configure: error: APR not found错误 原因是缺少一些依赖包,安装这些依赖包就行了 下载依赖包,注意我这里下载的与参考链接上的有些不同,安装上 ...

  7. linux桌面怎么解压tar文件,linux安装tar文件,linux怎么解压targz

    这几年随着XP系统的退役,国产操作系统逐渐的成为了电脑的热点话题,基于linux内核的国产操作系统是否能够被大众接受是一个至关重要的问题,那么linux的基本操作中,linux(Ubuntu)如何安装 ...

  8. mysql解压版配置win8_Windows安装mysql8解压版

    下载 解压 下面是我解压的根目录图 image.png 后续的配置和这个路径是有关系的. 配置 在根目录下创建一个文件my.ini [mysql] # 设置mysql客户端默认字符集 default- ...

  9. mysql解压版超详细安装以及各种避坑指南

    下载 这一步比较简单,直接去官网下载就行了,其它第三方的网站也是可以下载的.需要注意的是,如果在官网下载,点击这个just start my download,可以免登陆. 解压 解压到自己平时放软件 ...

  10. linux解压工具软件,linux 安装rar解压工具

    linux中默认的tar命令用于解压压缩文件,但是tar命令不支持rar文件的解压和压缩,需要安装rar解压工具,实现rar命令解压rar压缩包. 1.下载rarlab软件wget -c https: ...

最新文章

  1. 空间计量模型_Stata中的空间计量回归模型应用
  2. 推导和实现:全面解析高斯过程中的函数最优化(附代码公式)
  3. 利用隐藏神经元解决异或问题的小型示例程序
  4. mysql创建字段非空NOT NULL的好处
  5. 深度学习- Dropout 稀疏化原理解析
  6. 关于JetBrains CLion 激活 (CLion License Activation)的解决办法,带hosts详细修改
  7. 速度最快250fps!实时、高性能车道线检测算法LaneATT
  8. 闭合导线坐标计算表_测量员人员必备:8套工程测量公式计算表,输入参数自动得出结果...
  9. 官方正式预热小米10S:哈曼卡顿加持小米有史以来音质最好的手机
  10. 使用'SAPGUI_SET_PROPERTY'函数是GUI屏幕可见和不可见
  11. 试看5分钟视频python_清华学姐推荐的Python视频400集,拿走不谢!
  12. 计算机涨跌公式,计算机今日涨跌公式,怎么算 股票的涨跌停板 公式是怎么的?...
  13. 5行java关键代码实现excel转pdf代码实战教程
  14. 【Spring】Bean的实例化过程
  15. Postgresql中xlog生成和清理逻辑
  16. 黑苹果无法连接wifi
  17. SpringBoot:运行项目是报错org.apache.ibatis.builder.IncompleteElementException:
  18. linux sda sda1区别,linux – / dev / sda和/ dev / sda1之间的区别
  19. 「开机自启」macOS如何关闭开机自启动软件?
  20. React双向数据绑定原理---受控组件

热门文章

  1. 跟siki老师学C#第四天(练习部分)
  2. 如何免费在线破解自己的CS学位
  3. SAP-License-3种方法帮您有效减少License许可证授权支出
  4. 模拟与数字电子技术【1】
  5. C语言督学营 学习笔记 (Day11~12)
  6. qt4.8与达梦数据库间的插入和更新字符串数值问题
  7. ,什么叫他妈的惊喜?
  8. hbw-utils - 关于hutool的parseInt方法
  9. MyBatis动态SQL之<foreach>用法
  10. 在虚拟机中通过vs2010连接到2013 access数据库