Remmina - The GTK+ Remote Desktop Client  v1.3.6
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
Compile-on-Fedora-20-~-26.md
Go to the documentation of this file.
1 # Quick and dirty guide for compiling remmina on Fedora 20 - 26
2 
3 These are the instructions for people who want to test the latest version of Remmina on Fedora 20 - 26
4 
5 You will obtain Remmina and FreeRDP compiled under the /opt/remmina_devel/ subdir, so they will not mess up your system too much. This is ideal for testing remmina.
6 
7 You will also find the uninstall instructions at the bottom of this page.
8 
9 **ChangeLog**
10 - Initial write: Aug 23 2014.
11 - Updated: Aug 30 2014 (compile with libappindicator)
12 - Updated: Sep 2 2014 (notes for Gnome Shell Users)
13 - Update: Oct 3 2014 (change from branch "gtk3" to "next")
14 - Update Oct 15 2014: added -DWITH_CUPS=on -DWITH_WAYLAND=off to freerdp parameters
15 - Update June 17th 2017: added rpmfusion prereq for modern Fedora's ( tested on 26b1 )
16 
17 *use at your own risk*
18 
19 **1.** Update your system and install all packages required to build freerdp and remmina:
20 ```
21 sudo yum -y update
22 ```
23 and reboot if needed. Then install packages for freerdp, rpmfusion free is needed for ffmpeg-devel
24 ```
25 sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
26 sudo yum install gcc gcc-c++ cmake openssl-devel libX11-devel libXext-devel \
27  libXinerama-devel libXcursor-devel \
28  libXdamage-devel libXv-devel libxkbfile-devel alsa-lib-devel cups-devel ffmpeg-devel glib2-devel \
29  pulseaudio-libs-devel git libssh-devel libXi-devel libXtst-devel xmlto gstreamer1-devel \
30  libXrandr-devel gstreamer1-plugins-base-devel
31 ```
32 and then install packages for remmina
33 ```
34 sudo yum -y install gtk3-devel libgcrypt-devel libssh-devel libxkbfile-devel openjpeg2-devel \
35  gnutls-devel libgnome-keyring-devel avahi-ui-devel avahi-ui-gtk3 \
36  libvncserver-devel vte3-devel libappindicator-devel libappindicator-gtk3 libappindicator-gtk3-devel \
37  telepathy-glib-devel libSM-devel webkitgtk4-devel json-glib-devel libsoup-devel
38 ```
39 **2.** Remove freerdp-x11 package and all packages containing the string remmina in the package name.
40 
41 ```
42 sudo rpm -e remmina remmina-devel remmina-plugins-gnome remmina-plugins-nx remmina-plugins-rdp remmina-plugins-telepathy remmina-plugins-vnc remmina-plugins-xdmcp
43 ```
44 
45 **3.** Create a new directory for development in your home directory, and cd into it
46 ```
47 mkdir ~/remmina_devel
48 cd ~/remmina_devel
49 ```
50 **4.** Download the latest source code of FreeRDP from its master branch
51 ```
52 git clone https://github.com/FreeRDP/FreeRDP.git
53 cd FreeRDP
54 mkdir build
55 cd build
56 ```
57 **5.** Configure FreeRDP for compilation (don't forget to include -DWITH_PULSE=ON)
58 ```
59 cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_PULSE=ON -DWITH_CUPS=on -DWITH_WAYLAND=off -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
60 ```
61 
62 **6.** Compile FreeRDP and install
63 ```
64 make && sudo make install
65 ```
66 **7.** Make your system dynamic loader aware of the new libraries you installed. For Fedora x64:
67 ```
68 sudo ldconfig
69 ```
70 
71 **8.** Test the new freerdp by connecting to a RDP host
72 ```
73 xfreerdp +clipboard /sound:rate:44100,channel:2 /v:hostname /u:username
74 ```
75 
76 **10.** Now clone remmina repository to your devel dir:
77 ```
78 cd ~/remmina_devel
79 git clone https://gitlab.com/Remmina/Remmina.git
80 ```
81 
82 **11.** Configure Remmina for compilation
83 ```
84 cd Remmina
85 mkdir build
86 cd build
87 cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_PREFIX_PATH=/usr --build=build ..
88 ```
89 **12.** Compile remmina and install it
90 ```
91 make && sudo make install
92 ```
93 
94 **13.** Run remmina
95 ```
96 remmina
97 ```
98 NOTES for execution:
99 
100 * Gnome Shell will never show you the system tray icon and menu. Press Super+M to see the remmina icon on the message bar. Or install this extension to have full access to a remmina appindicator icon: [Appindicator Support Gnome Shell Extension](https://extensions.gnome.org/extension/615/appindicator-support/)
101 * XFCE and other desktop without appindicator support, will never show you the system tray icon if you are executing remmina from its compilation direcotry (~/remmina_devel/Remmina) because it contains a directory named remmina. See [Bug #1363277 on launchpad](https://bugs.launchpad.net/libappindicator/+bug/1363277)
102