Linux系统安装remmina远程工具

在这里可以讨论服务器管理相关技术

版主: jvip_chen

回复
头像
jvip_chen
社区版主
社区版主
帖子: 136
注册时间: 2019年 1月 5日 13:36 星期六

Linux系统安装remmina远程工具

帖子 jvip_chen » 2019年 1月 6日 10:55 星期天

How to install Remmina
Binary distributions

Usually remmina is included in your linux distribution or in an external repository. Do not ask for distribution packages or precompiled binaries here. This is a development site.
Debian

Remmina is not available on the default Debian 9 (Stretch) repositories. It can be installed from the Backports repository.

The Debian Backports repository must be enabled to install it, see this blog post for more information.

To install Remmina from Debian Backports, just copy and paste the following lines on a terminal window:

代码: 全选

echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee --append /etc/apt/sources.list.d/stretch-backports.list >> /dev/null
sudo apt update
sudo apt install -t stretch-backports remmina remmina-plugin-rdp remmina-plugin-secret
Ubuntu
Using Snap Package (also for other supported distros)

You can install the last release from the Ubuntu Software center, looking for remmina, otherwise you can install it from terminal with:

代码: 全选

sudo snap install remmina
If you want to install latest git revision of remmina, you can use it from the edge channel:

代码: 全选

sudo snap install remmina  --edge
Or update the current installed version with the selected channel:

代码: 全选

sudo snap refresh remmina --channel=edge # use --channel=stable otherwise
To enable some advanced features such as mount-control (to manage mount positions), avahi-observer (to automatically look for local servers to connect to), cups-control (to manage printing), password-manager-service (to use gnome-keyring) you should run something like:

代码: 全选

sudo snap connect remmina:avahi-observe :avahi-observe # servers discovery
sudo snap connect remmina:cups-control :cups-control # printing
sudo snap connect remmina:mount-observe :mount-observe # mount management
sudo snap connect remmina:password-manager-service :password-manager-service # gnome-keyring
Snap packages will be updated automatically and will include both latest FreeRDP git and latest libssh 0.7 release (for better security).
From PPA

Ubuntu ppa:remmina-ppa-team/remmina-next

To install it, just copy and paste the following three lines on a terminal window

代码: 全选

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard
By default the RDP, SSH and SFTP plugins are installed. You can view a list of available plugins with apt-cache search remmina-plugin

If you want to connect to more securely configured SSH servers on Ubuntu 16.04 and below, you have to upgrade libssh to 0.7.X. This can be achieved by adding the following PPA containing libssh 0.7.X by David Kedves and upgrading your packages:

代码: 全选

sudo add-apt-repository ppa:kedazo/libssh-0.7.x
sudo apt-get update
Fedora and Red Hat

As of March 2018 Remmina is available on most fedora testing and stable, we still have a (not updated) copr provided by Hubbitus (Pavel Alexeev), to install just execute as root:

代码: 全选

dnf copr enable hubbitus/remmina-next
dnf upgrade --refresh 'remmina*' 'freerdp*'
On Red Hat you can enable the EPEL repository:

Note: Unlucky Remmina is not yet in EPEL, you can help submitting a request on the Red Hat bugzilla.

代码: 全选

wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
Arch Linux based

Install remmina-git from AUR
openSUSE

Remmina is in the offical repositories for all openSUSE distributions. In case the version in the released stable branch of openSUSE is too old you can install the latest one from the devel project via:

代码: 全选

zypper ar -f obs://X11:RemoteDesktop/remmina remmina
zypper ref
zypper in remmina
For users with a distro that supports Flatpak, including Ubuntu
Development snapshot

Download this flatpak and install it as described here

代码: 全选

flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user --bundle remmina-dev.flatpak
flatpak run org.remmina.Remmina

Last stable official build on FlatHub

Execute the following commands.

代码: 全选

flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.remmina.Remmina
flatpak run org.remmina.Remmina
If you use SSH agent (https://github.com/flatpak/flatpak/issues/1438 )

flatpak run --filesystem=$SSH_AUTH_SOCK --env=SSH_AUTH_SOCK=$SSH_AUTH_SOCK org.remmina.Remmina
Just be aware that flatpak store data for installed applications (the XDG config/data folders) under $HOME/.var So for instance, if you previously have installed remmina with another package manager, you will have to transfer what was under $HOME/.config/remmina and $HOME/.local/share/remmina under, respectively ~/.var/app/org.remmina.Remmina/config/remmina and ~/.var/app/org.remmina.Remmina/data/remmina

回复