Устанавливаем FreeRDP на Ubuntu

Надоело бороться с косяками rdesktop? То alt работает не так как надо, то клавиши некоторые, то вместо нужного печатает совершенно другое. Я уже давно пробовал пользоваться FreeRDP и меня он полностью устраивает. Начиная с версии 10.10 FreeRDP уже есть в репориториях, а вот в более ранних нет.
И так. Имеем следующую установленную систему

$ cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

Идем на сайт проекта(http://www.freerdp.com/) и скачиваем последнюю стабильную версию(https://github.com/FreeRDP/FreeRDP/downloads)
В примере буду использовать уже скаченную стабильную версию и выложенную на сайте

wget http://xaxatyxa.ru/download/FreeRDP-1.0.1.tar.gz
tar -xzf FreeRDP-1.0.1.tar.gz
cd FreeRDP-FreeRDP-8e62721/
sudo 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

Разработчик советует также установить

sudo apt-get install libcunit1-dev libdirectfb-dev xmlto doxygen

Собираем дальше

cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .

Ошибка

$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .
fatal: Not a git repository (or any of the parent directories): .git
-- FreeRDP GIT
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Skipping optional package PulseAudio.
--   Enable this using "-DWITH_PULSEAUDIO=ON".
-- Skipping optional package PCSC.
--   Enable this using "-DWITH_PCSC=ON".
-- Finding suggested package Cups.
--   Disable this using "-DWITH_CUPS=OFF".
-- Found Cups: /usr/lib/libcups.so
-- Finding suggested package FFmpeg.
--   Disable this using "-DWITH_FFMPEG=OFF".
-- checking for module 'libavcodec'
--   package 'libavcodec' not found
-- checking for module 'libavutil'
--   package 'libavutil' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
  Could NOT find FFmpeg (missing: AVUTIL_FOUND AVCODEC_FOUND)
Call Stack (most recent call first):
  cmake/FindFFmpeg.cmake:34 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/FindOptionalPackage.cmake:37 (find_package)
  CMakeLists.txt:116 (find_suggested_package)
-- Configuring incomplete, errors occurred!

Исправляем

sudo apt-get install libavcodec-dev libavutil-dev

Пробуем еще раз

$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .
fatal: Not a git repository (or any of the parent directories): .git
-- FreeRDP GIT
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Skipping optional package PulseAudio.
--   Enable this using "-DWITH_PULSEAUDIO=ON".
-- Skipping optional package PCSC.
--   Enable this using "-DWITH_PCSC=ON".
-- Finding suggested package Cups.
--   Disable this using "-DWITH_CUPS=OFF".
-- Found Cups: /usr/lib/libcups.so
-- Finding suggested package FFmpeg.
--   Disable this using "-DWITH_FFMPEG=OFF".
-- checking for module 'libavcodec'
--   found libavcodec, version 52.20.1
-- checking for module 'libavutil'
--   found libavutil, version 49.15.0
-- Found FFmpeg: TRUE
-- Finding suggested package ALSA.
--   Disable this using "-DWITH_ALSA=OFF".
-- Found ALSA: /usr/lib/libasound.so
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Skipping optional package CUnit.
--   Enable this using "-DWITH_CUNIT=ON".
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Finding suggested package X11.
--   Disable this using "-DWITH_X11=OFF".
-- Found X11: /usr/lib/libX11.so
-- Finding suggested package XKBFile.
--   Disable this using "-DWITH_XKBFILE=OFF".
-- Found XKBFile: /usr/lib/libxkbfile.so
-- Finding suggested package X11.
--   Disable this using "-DWITH_X11=OFF".
-- Found XMLTO: /usr/bin/xmlto
-- Finding suggested package Xinerama.
--   Disable this using "-DWITH_XINERAMA=OFF".
-- Found Xinerama: /usr/lib/libXinerama.so
-- Finding suggested package Xext.
--   Disable this using "-DWITH_XEXT=OFF".
-- Found Xext: /usr/lib/libXext.so
-- Finding suggested package Xcursor.
--   Disable this using "-DWITH_XCURSOR=OFF".
-- Found Xcursor: /usr/lib/libXcursor.so
-- Finding suggested package Xv.
--   Disable this using "-DWITH_XV=OFF".
-- Found Xv: /usr/lib/libXv.so
-- Skipping optional package DirectFB.
--   Enable this using "-DWITH_DIRECTFB=ON".
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/FreeRDP-FreeRDP-8e62721

Собираем

$ make
Scanning dependencies of target freerdp-utils
[  0%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/args.c.o
[  1%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/blob.c.o
[  2%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/dsp.c.o
[  2%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/event.c.o
[  3%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/bitmap.c.o
[  4%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/hexdump.c.o
[  4%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/list.c.o
[  5%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/file.c.o
[  6%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/load_plugin.c.o
[  6%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/memory.c.o
[  7%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/mutex.c.o
[  8%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/passphrase.c.o
[  8%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/pcap.c.o
[  9%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/profiler.c.o
[ 10%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/rail.c.o
[ 10%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/rect.c.o
[ 11%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/registry.c.o
[ 12%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/semaphore.c.o
[ 12%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/signal.c.o
[ 13%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/sleep.c.o
[ 14%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/stopwatch.c.o
[ 14%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/stream.c.o
[ 15%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/string.c.o
[ 16%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/svc_plugin.c.o
[ 16%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/thread.c.o
[ 17%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/unicode.c.o
[ 18%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/wait_obj.c.o
Linking C shared library libfreerdp-utils.so
[ 18%] Built target freerdp-utils
Scanning dependencies of target freerdp-kbd
[ 19%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/locales.c.o
[ 19%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/layouts.c.o
[ 20%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/layouts_xkb.c.o
[ 21%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/x_layout_id_table.c.o
[ 21%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/libkbd.c.o
Linking C shared library libfreerdp-kbd.so
[ 21%] Built target freerdp-kbd
Scanning dependencies of target freerdp-codec
[ 21%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/bitmap.c.o
[ 22%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/color.c.o
[ 23%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_decode.c.o
[ 23%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_differential.c.o
[ 24%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_dwt.c.o
[ 25%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_encode.c.o
[ 25%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_pool.c.o
[ 26%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_quantization.c.o
[ 27%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_rlgr.c.o
[ 27%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx.c.o
[ 28%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/nsc.c.o
[ 29%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_sse2.c.o
Linking C shared library libfreerdp-codec.so
[ 29%] Built target freerdp-codec
Scanning dependencies of target freerdp-core
[ 29%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/activation.c.o
[ 30%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/extension.c.o
[ 31%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/ber.c.o
[ 31%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/gcc.c.o
[ 32%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/mcs.c.o
[ 33%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/nego.c.o
[ 33%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/info.c.o
[ 34%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/input.c.o
[ 35%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/crypto.c.o
[ 35%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/credssp.c.o
[ 36%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/ntlmssp.c.o
[ 37%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/license.c.o
[ 37%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/errinfo.c.o
[ 38%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/security.c.o
[ 39%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/settings.c.o
[ 39%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/orders.c.o
[ 40%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/freerdp.c.o
[ 41%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/graphics.c.o
[ 41%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/capabilities.c.o
[ 42%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/certificate.c.o
[ 43%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/connection.c.o
[ 43%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/redirection.c.o
[ 44%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/rdp.c.o
[ 45%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/per.c.o
[ 45%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/tcp.c.o
[ 46%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/tls.c.o
[ 47%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/tpdu.c.o
[ 47%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/tpkt.c.o
[ 48%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/fastpath.c.o
[ 49%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/surface.c.o
[ 49%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/transport.c.o
[ 50%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/update.c.o
[ 51%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/channel.c.o
[ 51%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/window.c.o
[ 52%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/listener.c.o
[ 53%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/peer.c.o
[ 53%] Building C object libfreerdp-core/CMakeFiles/freerdp-core.dir/mppc.c.o
Linking C shared library libfreerdp-core.so
[ 53%] Built target freerdp-core
Scanning dependencies of target freerdp-cache
[ 53%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/brush.c.o
[ 54%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/pointer.c.o
[ 55%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/bitmap.c.o
[ 55%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/offscreen.c.o
[ 56%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/palette.c.o
[ 57%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/glyph.c.o
[ 57%] Building C object libfreerdp-cache/CMakeFiles/freerdp-cache.dir/cache.c.o
Linking C shared library libfreerdp-cache.so
[ 57%] Built target freerdp-cache
Scanning dependencies of target freerdp-gdi
[ 58%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/8bpp.c.o
[ 59%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/16bpp.c.o
[ 59%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/32bpp.c.o
[ 60%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/bitmap.c.o
[ 61%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/brush.c.o
[ 61%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/clipping.c.o
[ 62%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/dc.c.o
[ 63%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/drawing.c.o
[ 63%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/line.c.o
[ 64%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/palette.c.o
[ 64%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/pen.c.o
[ 65%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/region.c.o
[ 66%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/shape.c.o
[ 66%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/graphics.c.o
[ 67%] Building C object libfreerdp-gdi/CMakeFiles/freerdp-gdi.dir/gdi.c.o
Linking C shared library libfreerdp-gdi.so
[ 67%] Built target freerdp-gdi
Scanning dependencies of target freerdp-rail
[ 68%] Building C object libfreerdp-rail/CMakeFiles/freerdp-rail.dir/window_list.c.o
[ 69%] Building C object libfreerdp-rail/CMakeFiles/freerdp-rail.dir/window.c.o
[ 69%] Building C object libfreerdp-rail/CMakeFiles/freerdp-rail.dir/icon.c.o
[ 70%] Building C object libfreerdp-rail/CMakeFiles/freerdp-rail.dir/rail.c.o
Linking C shared library libfreerdp-rail.so
[ 70%] Built target freerdp-rail
Scanning dependencies of target freerdp-channels
[ 71%] Building C object libfreerdp-channels/CMakeFiles/freerdp-channels.dir/libchannels.c.o
[ 72%] Building C object libfreerdp-channels/CMakeFiles/freerdp-channels.dir/wtsvc.c.o
Linking C shared library libfreerdp-channels.so
[ 72%] Built target freerdp-channels
Scanning dependencies of target cliprdr
[ 72%] Building C object channels/cliprdr/CMakeFiles/cliprdr.dir/cliprdr_format.c.o
[ 73%] Building C object channels/cliprdr/CMakeFiles/cliprdr.dir/cliprdr_main.c.o
Linking C shared library cliprdr.so
[ 73%] Built target cliprdr
Scanning dependencies of target drdynvc
[ 74%] Building C object channels/drdynvc/CMakeFiles/drdynvc.dir/drdynvc_main.c.o
[ 75%] Building C object channels/drdynvc/CMakeFiles/drdynvc.dir/dvcman.c.o
Linking C shared library drdynvc.so
[ 75%] Built target drdynvc
Scanning dependencies of target tsmf
[ 76%] Building C object channels/drdynvc/tsmf/CMakeFiles/tsmf.dir/tsmf_audio.c.o
[ 76%] Building C object channels/drdynvc/tsmf/CMakeFiles/tsmf.dir/tsmf_codec.c.o
[ 77%] Building C object channels/drdynvc/tsmf/CMakeFiles/tsmf.dir/tsmf_decoder.c.o
[ 78%] Building C object channels/drdynvc/tsmf/CMakeFiles/tsmf.dir/tsmf_ifman.c.o
[ 78%] Building C object channels/drdynvc/tsmf/CMakeFiles/tsmf.dir/tsmf_main.c.o
[ 79%] Building C object channels/drdynvc/tsmf/CMakeFiles/tsmf.dir/tsmf_media.c.o
Linking C shared library tsmf.so
[ 79%] Built target tsmf
Scanning dependencies of target tsmf_ffmpeg
[ 79%] Building C object channels/drdynvc/tsmf/ffmpeg/CMakeFiles/tsmf_ffmpeg.dir/tsmf_ffmpeg.c.o
Linking C shared library tsmf_ffmpeg.so
[ 79%] Built target tsmf_ffmpeg
Scanning dependencies of target tsmf_alsa
[ 80%] Building C object channels/drdynvc/tsmf/alsa/CMakeFiles/tsmf_alsa.dir/tsmf_alsa.c.o
Linking C shared library tsmf_alsa.so
[ 80%] Built target tsmf_alsa
Scanning dependencies of target audin
[ 80%] Building C object channels/drdynvc/audin/CMakeFiles/audin.dir/audin_main.c.o
Linking C shared library audin.so
[ 80%] Built target audin
Scanning dependencies of target audin_alsa
[ 81%] Building C object channels/drdynvc/audin/alsa/CMakeFiles/audin_alsa.dir/audin_alsa.c.o
Linking C shared library audin_alsa.so
[ 81%] Built target audin_alsa
Scanning dependencies of target rdpdbg
[ 82%] Building C object channels/rdpdbg/CMakeFiles/rdpdbg.dir/rdpdbg_main.c.o
Linking C shared library rdpdbg.so
[ 82%] Built target rdpdbg
Scanning dependencies of target rdpdr
[ 82%] Building C object channels/rdpdr/CMakeFiles/rdpdr.dir/rdpdr_capabilities.c.o
[ 83%] Building C object channels/rdpdr/CMakeFiles/rdpdr.dir/devman.c.o
[ 84%] Building C object channels/rdpdr/CMakeFiles/rdpdr.dir/irp.c.o
[ 84%] Building C object channels/rdpdr/CMakeFiles/rdpdr.dir/rdpdr_main.c.o
Linking C shared library rdpdr.so
[ 84%] Built target rdpdr
Scanning dependencies of target disk
[ 85%] Building C object channels/rdpdr/disk/CMakeFiles/disk.dir/disk_file.c.o
[ 85%] Building C object channels/rdpdr/disk/CMakeFiles/disk.dir/disk_main.c.o
Linking C shared library disk.so
[ 85%] Built target disk
Scanning dependencies of target printer
[ 86%] Building C object channels/rdpdr/printer/CMakeFiles/printer.dir/printer_main.c.o
[ 87%] Building C object channels/rdpdr/printer/CMakeFiles/printer.dir/printer_cups.c.o
Linking C shared library printer.so
[ 87%] Built target printer
Scanning dependencies of target parallel
[ 87%] Building C object channels/rdpdr/parallel/CMakeFiles/parallel.dir/parallel_main.c.o
Linking C shared library parallel.so
[ 87%] Built target parallel
Scanning dependencies of target serial
[ 87%] Building C object channels/rdpdr/serial/CMakeFiles/serial.dir/serial_tty.c.o
[ 88%] Building C object channels/rdpdr/serial/CMakeFiles/serial.dir/serial_main.c.o
Linking C shared library serial.so
[ 88%] Built target serial
Scanning dependencies of target rail
[ 88%] Building C object channels/rail/CMakeFiles/rail.dir/rail_main.c.o
[ 89%] Building C object channels/rail/CMakeFiles/rail.dir/rail_orders.c.o
Linking C shared library rail.so
[ 89%] Built target rail
Scanning dependencies of target rdpsnd
[ 90%] Building C object channels/rdpsnd/CMakeFiles/rdpsnd.dir/rdpsnd_main.c.o
Linking C shared library rdpsnd.so
[ 90%] Built target rdpsnd
Scanning dependencies of target rdpsnd_alsa
[ 91%] Building C object channels/rdpsnd/alsa/CMakeFiles/rdpsnd_alsa.dir/rdpsnd_alsa.c.o
Linking C shared library rdpsnd_alsa.so
[ 91%] Built target rdpsnd_alsa
Scanning dependencies of target freerdp-test
[ 92%] Building C object client/test/CMakeFiles/freerdp-test.dir/freerdp.c.o
Linking C executable freerdp-test
[ 92%] Built target freerdp-test
Scanning dependencies of target xfreerdp
[ 93%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_gdi.c.o
[ 94%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_rail.c.o
[ 94%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_tsmf.c.o
[ 95%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_event.c.o
[ 96%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_cliprdr.c.o
[ 96%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_monitor.c.o
[ 97%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_graphics.c.o
[ 98%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_keyboard.c.o
[ 98%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xf_window.c.o
[ 99%] Building C object client/X11/CMakeFiles/xfreerdp.dir/xfreerdp.c.o
Linking C executable xfreerdp
[ 99%] Built target xfreerdp
Scanning dependencies of target xfreerdp.manpage
[ 99%] Generating xfreerdp.1
Note: Writing xfreerdp.1
[100%] Built target xfreerdp.manpage

Устанавливаем

$ sudo make install
[ 18%] Built target freerdp-utils
[ 21%] Built target freerdp-kbd
[ 29%] Built target freerdp-codec
[ 53%] Built target freerdp-core
[ 57%] Built target freerdp-cache
[ 67%] Built target freerdp-gdi
[ 70%] Built target freerdp-rail
[ 72%] Built target freerdp-channels
[ 73%] Built target cliprdr
[ 75%] Built target drdynvc
[ 79%] Built target tsmf
[ 79%] Built target tsmf_ffmpeg
[ 80%] Built target tsmf_alsa
[ 80%] Built target audin
[ 81%] Built target audin_alsa
[ 82%] Built target rdpdbg
[ 84%] Built target rdpdr
[ 85%] Built target disk
[ 87%] Built target printer
[ 87%] Built target parallel
[ 88%] Built target serial
[ 89%] Built target rail
[ 90%] Built target rdpsnd
[ 91%] Built target rdpsnd_alsa
[ 92%] Built target freerdp-test
[ 99%] Built target xfreerdp
[100%] Built target xfreerdp.manpage
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/lib/pkgconfig/freerdp.pc
-- Installing: /usr/local/include/freerdp/svc.h
-- Installing: /usr/local/include/freerdp/extension.h
-- Installing: /usr/local/include/freerdp/input.h
-- Installing: /usr/local/include/freerdp/peer.h
-- Installing: /usr/local/include/freerdp/dvc.h
-- Installing: /usr/local/include/freerdp/api.h
-- Installing: /usr/local/include/freerdp/pointer.h
-- Installing: /usr/local/include/freerdp/rail.h
-- Installing: /usr/local/include/freerdp/freerdp.h
-- Installing: /usr/local/include/freerdp/primary.h
-- Installing: /usr/local/include/freerdp/window.h
-- Installing: /usr/local/include/freerdp/graphics.h
-- Installing: /usr/local/include/freerdp/listener.h
-- Installing: /usr/local/include/freerdp/update.h
-- Installing: /usr/local/include/freerdp/altsec.h
-- Installing: /usr/local/include/freerdp/settings.h
-- Installing: /usr/local/include/freerdp/constants.h
-- Installing: /usr/local/include/freerdp/secondary.h
-- Installing: /usr/local/include/freerdp/types.h
-- Installing: /usr/local/include/freerdp/utils
-- Installing: /usr/local/include/freerdp/utils/passphrase.h
-- Installing: /usr/local/include/freerdp/utils/sleep.h
-- Installing: /usr/local/include/freerdp/utils/profiler.h
-- Installing: /usr/local/include/freerdp/utils/hexdump.h
-- Installing: /usr/local/include/freerdp/utils/stopwatch.h
-- Installing: /usr/local/include/freerdp/utils/signal.h
-- Installing: /usr/local/include/freerdp/utils/memory.h
-- Installing: /usr/local/include/freerdp/utils/load_plugin.h
-- Installing: /usr/local/include/freerdp/utils/thread.h
-- Installing: /usr/local/include/freerdp/utils/file.h
-- Installing: /usr/local/include/freerdp/utils/wait_obj.h
-- Installing: /usr/local/include/freerdp/utils/dsp.h
-- Installing: /usr/local/include/freerdp/utils/rail.h
-- Installing: /usr/local/include/freerdp/utils/debug.h
-- Installing: /usr/local/include/freerdp/utils/stream.h
-- Installing: /usr/local/include/freerdp/utils/registry.h
-- Installing: /usr/local/include/freerdp/utils/args.h
-- Installing: /usr/local/include/freerdp/utils/pcap.h
-- Installing: /usr/local/include/freerdp/utils/string.h
-- Installing: /usr/local/include/freerdp/utils/unicode.h
-- Installing: /usr/local/include/freerdp/utils/list.h
-- Installing: /usr/local/include/freerdp/utils/mutex.h
-- Installing: /usr/local/include/freerdp/utils/event.h
-- Installing: /usr/local/include/freerdp/utils/rect.h
-- Installing: /usr/local/include/freerdp/utils/blob.h
-- Installing: /usr/local/include/freerdp/utils/print.h
-- Installing: /usr/local/include/freerdp/utils/svc_plugin.h
-- Installing: /usr/local/include/freerdp/utils/bitmap.h
-- Installing: /usr/local/include/freerdp/utils/semaphore.h
-- Installing: /usr/local/include/freerdp/channels
-- Installing: /usr/local/include/freerdp/channels/channels.h
-- Installing: /usr/local/include/freerdp/channels/wtsvc.h
-- Installing: /usr/local/include/freerdp/cache
-- Installing: /usr/local/include/freerdp/cache/glyph.h
-- Installing: /usr/local/include/freerdp/cache/pointer.h
-- Installing: /usr/local/include/freerdp/cache/offscreen.h
-- Installing: /usr/local/include/freerdp/cache/brush.h
-- Installing: /usr/local/include/freerdp/cache/cache.h
-- Installing: /usr/local/include/freerdp/cache/palette.h
-- Installing: /usr/local/include/freerdp/cache/bitmap.h
-- Installing: /usr/local/include/freerdp/gdi
-- Installing: /usr/local/include/freerdp/gdi/8bpp.h
-- Installing: /usr/local/include/freerdp/gdi/16bpp.h
-- Installing: /usr/local/include/freerdp/gdi/clipping.h
-- Installing: /usr/local/include/freerdp/gdi/drawing.h
-- Installing: /usr/local/include/freerdp/gdi/region.h
-- Installing: /usr/local/include/freerdp/gdi/gdi.h
-- Installing: /usr/local/include/freerdp/gdi/32bpp.h
-- Installing: /usr/local/include/freerdp/gdi/brush.h
-- Installing: /usr/local/include/freerdp/gdi/palette.h
-- Installing: /usr/local/include/freerdp/gdi/pen.h
-- Installing: /usr/local/include/freerdp/gdi/dc.h
-- Installing: /usr/local/include/freerdp/gdi/shape.h
-- Installing: /usr/local/include/freerdp/gdi/line.h
-- Installing: /usr/local/include/freerdp/gdi/bitmap.h
-- Installing: /usr/local/include/freerdp/kbd
-- Installing: /usr/local/include/freerdp/kbd/vkcodes.h
-- Installing: /usr/local/include/freerdp/kbd/kbd.h
-- Installing: /usr/local/include/freerdp/kbd/layouts.h
-- Installing: /usr/local/include/freerdp/kbd/locales.h
-- Installing: /usr/local/include/freerdp/rail
-- Installing: /usr/local/include/freerdp/rail/rail.h
-- Installing: /usr/local/include/freerdp/rail/window_list.h
-- Installing: /usr/local/include/freerdp/rail/window.h
-- Installing: /usr/local/include/freerdp/rail/icon.h
-- Installing: /usr/local/include/freerdp/codec
-- Installing: /usr/local/include/freerdp/codec/color.h
-- Installing: /usr/local/include/freerdp/codec/nsc.h
-- Installing: /usr/local/include/freerdp/codec/bitmap.h
-- Installing: /usr/local/include/freerdp/codec/rfx.h
-- Installing: /usr/local/include/freerdp/plugins
-- Installing: /usr/local/include/freerdp/plugins/tsmf.h
-- Installing: /usr/local/include/freerdp/plugins/cliprdr.h
-- Installing: /usr/local/lib/libfreerdp-utils.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-utils.so.1.0
-- Installing: /usr/local/lib/libfreerdp-utils.so
-- Installing: /usr/local/lib/libfreerdp-kbd.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-kbd.so.1.0
-- Installing: /usr/local/lib/libfreerdp-kbd.so
-- Installing: /usr/local/lib/libfreerdp-gdi.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-gdi.so.1.0
-- Installing: /usr/local/lib/libfreerdp-gdi.so
-- Removed runtime path from "/usr/local/lib/libfreerdp-gdi.so.1.0.1"
-- Installing: /usr/local/lib/libfreerdp-rail.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-rail.so.1.0
-- Installing: /usr/local/lib/libfreerdp-rail.so
-- Removed runtime path from "/usr/local/lib/libfreerdp-rail.so.1.0.1"
-- Installing: /usr/local/lib/libfreerdp-cache.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-cache.so.1.0
-- Installing: /usr/local/lib/libfreerdp-cache.so
-- Removed runtime path from "/usr/local/lib/libfreerdp-cache.so.1.0.1"
-- Installing: /usr/local/lib/libfreerdp-codec.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-codec.so.1.0
-- Installing: /usr/local/lib/libfreerdp-codec.so
-- Removed runtime path from "/usr/local/lib/libfreerdp-codec.so.1.0.1"
-- Installing: /usr/local/lib/libfreerdp-channels.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-channels.so.1.0
-- Installing: /usr/local/lib/libfreerdp-channels.so
-- Removed runtime path from "/usr/local/lib/libfreerdp-channels.so.1.0.1"
-- Installing: /usr/local/lib/libfreerdp-core.so.1.0.1
-- Installing: /usr/local/lib/libfreerdp-core.so.1.0
-- Installing: /usr/local/lib/libfreerdp-core.so
-- Removed runtime path from "/usr/local/lib/libfreerdp-core.so.1.0.1"
-- Installing: /usr/local/lib/freerdp/cliprdr.so
-- Removed runtime path from "/usr/local/lib/freerdp/cliprdr.so"
-- Installing: /usr/local/lib/freerdp/drdynvc.so
-- Removed runtime path from "/usr/local/lib/freerdp/drdynvc.so"
-- Installing: /usr/local/lib/freerdp/tsmf.so
-- Removed runtime path from "/usr/local/lib/freerdp/tsmf.so"
-- Installing: /usr/local/lib/freerdp/tsmf_ffmpeg.so
-- Removed runtime path from "/usr/local/lib/freerdp/tsmf_ffmpeg.so"
-- Installing: /usr/local/lib/freerdp/tsmf_alsa.so
-- Removed runtime path from "/usr/local/lib/freerdp/tsmf_alsa.so"
-- Installing: /usr/local/lib/freerdp/audin.so
-- Removed runtime path from "/usr/local/lib/freerdp/audin.so"
-- Installing: /usr/local/lib/freerdp/audin_alsa.so
-- Removed runtime path from "/usr/local/lib/freerdp/audin_alsa.so"
-- Installing: /usr/local/lib/freerdp/rdpdbg.so
-- Removed runtime path from "/usr/local/lib/freerdp/rdpdbg.so"
-- Installing: /usr/local/lib/freerdp/rdpdr.so
-- Removed runtime path from "/usr/local/lib/freerdp/rdpdr.so"
-- Installing: /usr/local/lib/freerdp/disk.so
-- Removed runtime path from "/usr/local/lib/freerdp/disk.so"
-- Installing: /usr/local/lib/freerdp/printer.so
-- Removed runtime path from "/usr/local/lib/freerdp/printer.so"
-- Installing: /usr/local/lib/freerdp/parallel.so
-- Removed runtime path from "/usr/local/lib/freerdp/parallel.so"
-- Installing: /usr/local/lib/freerdp/serial.so
-- Removed runtime path from "/usr/local/lib/freerdp/serial.so"
-- Installing: /usr/local/lib/freerdp/rail.so
-- Removed runtime path from "/usr/local/lib/freerdp/rail.so"
-- Installing: /usr/local/lib/freerdp/rdpsnd.so
-- Removed runtime path from "/usr/local/lib/freerdp/rdpsnd.so"
-- Installing: /usr/local/lib/freerdp/rdpsnd_alsa.so
-- Removed runtime path from "/usr/local/lib/freerdp/rdpsnd_alsa.so"
-- Installing: /usr/local/share/man/man1/xfreerdp.1
-- Installing: /usr/local/bin/xfreerdp
-- Removed runtime path from "/usr/local/bin/xfreerdp"
-- Installing: /usr/local/share/freerdp/keymaps/aliases
-- Installing: /usr/local/share/freerdp/keymaps/amiga
-- Installing: /usr/local/share/freerdp/keymaps/ataritt
-- Installing: /usr/local/share/freerdp/keymaps/empty
-- Installing: /usr/local/share/freerdp/keymaps/evdev
-- Installing: /usr/local/share/freerdp/keymaps/fujitsu
-- Installing: /usr/local/share/freerdp/keymaps/hp
-- Installing: /usr/local/share/freerdp/keymaps/ibm
-- Installing: /usr/local/share/freerdp/keymaps/macintosh
-- Installing: /usr/local/share/freerdp/keymaps/macosx
-- Installing: /usr/local/share/freerdp/keymaps/sony
-- Installing: /usr/local/share/freerdp/keymaps/sun
-- Installing: /usr/local/share/freerdp/keymaps/xfree86
-- Installing: /usr/local/share/freerdp/keymaps/xfree98
-- Installing: /usr/local/share/freerdp/keymaps/xkb.pl
-- Installing: /usr/local/share/freerdp/keymaps/digital_vndr
-- Installing: /usr/local/share/freerdp/keymaps/digital_vndr/pc
-- Installing: /usr/local/share/freerdp/keymaps/digital_vndr/lk
-- Installing: /usr/local/share/freerdp/keymaps/sgi_vndr
-- Installing: /usr/local/share/freerdp/keymaps/sgi_vndr/indy
-- Installing: /usr/local/share/freerdp/keymaps/sgi_vndr/iris
-- Installing: /usr/local/share/freerdp/keymaps/sgi_vndr/indigo

Создаем конфигурационный файл

sudo vi /etc/ld.so.conf.d/freerdp.conf

вписываем в него

/usr/local/lib/freerdp

Запускаем ldconfig

sudo ldconfig

Проверяем плагины:

$ cd /usr/local/lib/freerdp
user@localhost:/usr/local/lib/freerdp$ ls
audin_alsa.so  audin.so  cliprdr.so  disk.so  drdynvc.so  parallel.so  printer.so  rail.so  rdpdbg.so  rdpdr.so  rdpsnd_alsa.so  rdpsnd.so  serial.so  tsmf_alsa.so  tsmf_ffmpeg.so  tsmf.so

Проверяем keymaps:

$ ls /usr/local/share/freerdp/keymaps/
aliases  amiga  ataritt  digital_vndr  empty  evdev  fujitsu  hp  ibm  macintosh  macosx  sgi_vndr  sony  sun  xfree86  xfree98  xkb.pl

После первого запуска в домашней директории будет создана папка «.freerdp»

$ cd ~
user@localhost:~$ cd .freerdp/
user@localhost:~/.freerdp$ ls
certs  known_hosts

в файле «known_hosts» будут храниться извесные хосты, а в папке «certs» — CA сертификаты
Ошибка
При подключении к Windows 2003 server, все прошло без проблемм. А вот на стадии подключения к 2008r2 запросил пароль. Не понимая что от меня хотят, я ему подсунул пароль root,

$ xfreerdp 192.168.15.153
connected to 192.168.15.153:3389
Password:
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.

решение проблеммы

xfreerdp -u user -d domen -p pass 192.168.15.8

Установка из репозитория:

Jaunty (9.04)

deb http://ppa.launchpad.net/llyzs/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/llyzs/ppa/ubuntu jaunty main

Karmic (9.10)

deb http://ppa.launchpad.net/llyzs/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/llyzs/ppa/ubuntu karmic main

Lucid (10.04)

deb http://ppa.launchpad.net/llyzs/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/llyzs/ppa/ubuntu lucid main

Maverick (10.10)

deb http://ppa.launchpad.net/llyzs/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/llyzs/ppa/ubuntu maverick main

репозитории я нашёл по адресу:  https://launchpad.net/~llyzs/+archive/ppa

Выбираем из списка вашу версию Ubuntu. Как узнать версию я писал в начале поста
Открыть на редактирование файл /etc/apt/sources.list

sudo vi /etc/apt/sources.list

и добавляем в него в самом конце файла адрес репозитория. В нашем случае, для версии 10.04:

deb http://ppa.launchpad.net/llyzs/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/llyzs/ppa/ubuntu lucid main

Или выполняем добавление репозитория двумя строчками в консоли

sudo echo "deb http://ppa.launchpad.net/llyzs/ppa/ubuntu lucid main" >> /etc/apt/source.list
sudo echo "deb-src http://ppa.launchpad.net/llyzs/ppa/ubuntu lucid main" >> /etc/apt/source.list

Выйдем из редактора с сохранением и выполните переиндексацию:

sudo apt-get update

Устанавливаем

$ sudo apt-get install freerdp
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Заметьте, вместо freerdp выбирается freerdp-x11
Следующие пакеты устанавливались автоматически и больше не требуются:
  linux-headers-2.6.32-28-generic linux-headers-2.6.32-24
  linux-headers-2.6.32-30 linux-headers-2.6.32-26 linux-headers-2.6.32-32
  linux-headers-2.6.32-27 linux-headers-2.6.32-28 linux-headers-2.6.32-29
  linux-headers-2.6.32-26-generic linux-headers-2.6.32-29-generic
  linux-headers-2.6.32-24-generic linux-headers-2.6.32-32-generic
  linux-headers-2.6.32-27-generic linux-headers-2.6.32-30-generic
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  freerdp-x11 libfreerdp0
Предлагаемые пакеты:
  xfreerdp
НОВЫЕ пакеты, которые будут установлены:
  freerdp-x11 libfreerdp0
обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 307 пакетов не обновлено.
Необходимо скачать 177kБ архивов.
После данной операции, объём занятого дискового пространства возрастёт на 586kB.
Хотите продолжить [Д/н]? y
ВНИМАНИЕ: Следующие пакеты невозможно аутентифицировать!
  libfreerdp0 freerdp-x11
Установить эти пакеты без проверки [y/N]? y
Получено:1 http://ppa.launchpad.net/llyzs/ppa/ubuntu/ lucid/main libfreerdp0 0.8.2-0~ppa1 [153kB]
Получено:2 http://ppa.launchpad.net/llyzs/ppa/ubuntu/ lucid/main freerdp-x11 0.8.2-0~ppa1 [23,7kB]
Получено 177kБ за 1с (157kБ/c)
Выбор ранее не выбранного пакета libfreerdp0.
(Чтение базы данных ... на данный момент установлено 329088 файлов и каталогов.)
Распаковывается пакет libfreerdp0 (из файла .../libfreerdp0_0.8.2-0~ppa1_i386.deb)...
Выбор ранее не выбранного пакета freerdp-x11.
Распаковывается пакет freerdp-x11 (из файла .../freerdp-x11_0.8.2-0~ppa1_i386.deb)...
Обрабатываются триггеры для man-db ...
Настраивается пакет libfreerdp0 (0.8.2-0~ppa1) ...
Настраивается пакет freerdp-x11 (0.8.2-0~ppa1) ...
Обрабатываются триггеры для libc-bin ...
ldconfig deferred processing now taking place

Если у вас несколько терминальных серверов, то советую использовать remmina.

sudo apt-get install remmina
Скачать: FreeRDP-1.0.1.tar.gz (размер: 3.34 MB)
Остались или есть ещё вопросы? Задавайте!
(не забудьте указать ссылку на этот пост)




3 комментария

  1. john.doe Russian Federation Google Chrome Ubuntu Linux :

    За такое ( $ sudo make install ) руки отрывать надо! 

    checkinstall и вперед.

    Thumb up 0 Thumb down 1

    • Мммм... Кому как удобнее.

      checkinstall позволяет заменить действие из трех команд:

      # ./configure

      # make

      # sudo make install

      на два 

      # sudo checkinstall -d

      # sudo dpkg -i ИМЯ_ПАКЕТА.deb

      Что ещё?

      Thumb up 0 Thumb down 0

  2. choks Ukraine Google Chrome Windows :

    На счет проблемы подключения к Серверу 2008  , что бы не спрашивало пароль на сервере в настройках RDP параметр Уровень безопасности я поставил «Уровень безопасности RDP» (по умолчанию «Согласование»).

    Thumb up 2 Thumb down 0

Оставить комментарий

Установка, настройка, мониторинг и администрирование linux, unix, windows систем