Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Remmina
Remmina
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 295
    • Issues 295
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 3
    • Merge Requests 3
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Remmina
  • RemminaRemmina
  • Wiki
    • Compilation
  • Compile on FreeBSD

Last edited by Giovanni Panozzo May 09, 2020
Page history

Compile on FreeBSD

Compiling Remmina on FreeBSD 11

In order to use Remmina, you need at least one plugin, here we explain you how to build Remmina with most plugins but mainly with FreeRDP support.

How to compile FreeRDP

Follow the next procedure to compile FreerRDP

Install FreeRDP dependencies

pkg install cmake gccmakedep git pkgconf libX11 libXext libXinerama libXcursor libXdamage libXv libxkbfile alsa-lib cups ffmpeg pulseaudio libssh libXi libXtst libXrandr xmlto gstreamer1 gstreamer1-plugins ffmpeg libx264 qt5-qmake qt5-buildtools

Get FreeRDP code in you development environment

1. Prepare your dev environment

mkdir ~/remmina_devel
cd ~/remmina_devel

2. Get the source code

git clone --branch stable-2.0 https://github.com/FreeRDP/FreeRDP.git
cd FreeRDP

3. Configure FreeRDP

cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_PULSE=ON -DWITH_CUPS=on -DWITH_WAYLAND=off -DCMAKE_INSTALL_PREFIX:PATH=/opt/remmina_devel/freerdp .

4. Compile and install

make && sudo make install

5. Add the freerdp library path to ldconfig Edit the file /etc/ld-elf.so.conf, create it if it does not exits. A add the line

/opt/remmina_devel/freerdp/lib/

And then restart ldconfig with

service ldconfig restart

6. Link the xfreerdp executable

If you use Gnome, you probably have FreeRDP installed under /usr/local. Gnome needs vinagre that needs FreeRDP, so you won't be able to remove FreeRDP, that shouldn't be an issue as we installed the git version under /opt... But keep this in mind if you'll have troubles. If you don't have Gnome, you can link xfreerdp under /usr/local/bin

sudo ln -s /opt/remmina_devel/freerdp/bin/xfreerdp /usr/local/bin/

7. Test xfreerdp

xfreerdp +clipboard /sound:rate:44100,channel:2 /v:hostname /u:username

How to compile Remmina

1. Install Remmina dependencies.

pkg install avahi-gtk3 gtk3 libgcrypt gnutls avahi vte3 telepathy-glib libSM openjpeg libvncserver libsodium libappindicator

2. Install gnome keyring or similar password storage for your specific desktop

pkg install gnome-keyring

3. Clone Remmina

cd ~/remmina_devel
git clone https://gitlab.com/Remmina/Remmina.git

4. Configure compile settings

cd Remmina
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_APPINDICATOR=OFF -DCMAKE_INSTALL_PREFIX:PATH=/opt/remmina_devel/remmina -DCMAKE_PREFIX_PATH=/opt/remmina_devel/freerdp --build=build .

5. Compile remmina and install it

make && make install

6. Run Remmina

/opt/remmina_devel/remmina/bin/remmina
Clone repository

Table of contents

  • Home
  • Usage
    • Remmina SSH terminal colour schemes
    • Remmina usage FAQ
    • Remmina user’s guide
    • Remmina command line examples
    • Remmina SSH wizardry
  • Compilation
    • Compilation guide for Red Hat/CentOS
    • Compile on Arch Linux
    • Compile on Debian 10 Buster
    • Compile on Debian 9 Stretch
    • Compile on Fedora 20 ~ 26
    • Compile on FreeBSD
    • Compile on Ubuntu 14.04
    • Compile on Ubuntu 16.04
    • Compile on Ubuntu 18.04
    • Compile on Ubuntu 20.04
  • Development
    • Development Notes
    • multi-monitor support
  • Contribution
    • Contribute to the Remmina documentation
    • HOWTO generate the changelog
  • Localisation
    • How to translate Remmina
    • Update gettext messages
  • Testing
    • Testing under Ubuntu with the remmina next daily PPA
  • Problems and tweaks
    • Black screen
    • GTK versions on various distributions
    • Problems with Wayland
    • Remmina RDP and HiDPI scaling
    • Remmina VNC to Raspbian Stretch
    • Squares insead of text
    • Systray menu
    • VNC key mapping configuration
    • View and export passwords