Remmina - external tools issue

Hey guys,

I’m using Remmina to connect to my servers, and I want to use the external tools provided by Remmina and accesible through GUI. When I select one of the tools I receive the following error:

(remmina:3): Gdk-CRITICAL **: 15:19:20.182: gdk_window_thaw_toplevel_updates: assertion ‘window->update_and_descendants_freeze_count > 0’ failed
/usr/share/remmina/external_tools/launcher.sh: 14: /usr/share/remmina/external_tools/launcher.sh: gnome-terminal: Permission denied

The problem is related somehow to Firejail, because if I run the app with --noprofile parameter the tools work without any issue.

I don’t know what settings do I have to edit in /etc/firejail/remmina.profile in order to make the app work with firejail also.

Solved the problem by adding the following in remmina.profile:

noblacklist ${PATH}/gnome-terminal
noblacklist ${PATH}/gnome-terminal.wrapper
noblacklist ${PATH}/mate-terminal
noblacklist ${PATH}/mate-terminal.wrapper
noblacklist ${PATH}/perl

Firejail profile for remmina

This file is overwritten after every install/update

Persistent local customizations

include /etc/firejail/remmina.local

Persistent global definitions

include /etc/firejail/globals.local

noblacklist ${HOME}/.remmina
noblacklist ${HOME}/.config/remmina
noblacklist ${HOME}/.local/share/remmina
noblacklist ${HOME}/.ssh
noblacklist ${PATH}/gnome-terminal
noblacklist ${PATH}/gnome-terminal.wrapper
noblacklist ${PATH}/mate-terminal
noblacklist ${PATH}/mate-terminal.wrapper
noblacklist ${PATH}/perl

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-interpreters.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

caps.drop all
nodvd
nogroups
nonewprivs
noroot
notv
novideo
protocol unix,inet,inet6
seccomp
shell none

private-dev
private-tmp

noexec ${HOME}
noexec /tmp

1 Like