FreeRDP的安装方法
来源:互联网 发布:ios 网络请求缓存 编辑:程序博客网 时间:2024/05/01 01:23
官方网站: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的安装方法
- Linux下安装FreeRDP,连接windows远程桌面的好软件
- FreeRDP
- FreeRDP
- windows平台安装freerdp和openssl
- CentOS6.2下编译安装freerdp tar包
- Ubuntu下编译安装运行FreeRdp连接Windows.
- freerdp的android客户端afreerdp的编译过程
- freerdp 笔记
- FreeRDP CommandLineInterface
- Ubuntu12编译FreeRDP
- NDK 编译freerdp
- Ubuntu12编译FreeRDP
- freerdp linux编译
- freerdp和xrdp资料
- Ubuntu12编译FreeRDP
- linux编译freeRDP
- 网易 彩色砖
- 关于JVM的面试总结
- Ubuntu下安装Cppcheck源码操作步骤
- 对于CAN ID的理解
- 再起航,我的学习笔记之JavaScript设计模式15(组合模式)
- FreeRDP的安装方法
- delphi通过函数名动态调用函数的方法(方便功能的扩展)
- 饿了么的架构设计及演进之路
- 非常有用的的C/C++框架和库的收藏
- 【CVTE笔试题】HTML中出现次数最多的元素标签
- LeetCode-Merge k Sorted Lists
- 网易等差数列
- docker中使用systemd
- centos6 搭建在线yum源