Using Remmina from command-line for kiosked servers

The aim of this merge request is to add some command-line options to Remmina for a batch usage on kiosk environments.

Description

Following command-line options have been added to Remmina:

  • --disable-news: Disable news notification
  • --disable-toolbar: Disable toolbar
  • --enable-fullscreen: Enable fullscreen
  • --enable-extra-hardening: Enable extra hardening (disable closing confirmation, disable unsafe shortcut keys, hide tabs, hide search bar)

Related Issue

#2708 (closed)

Motivation and Context

This change is required for a better use of Remmina from the command-line by settings some preference parameter at runtime.

This is a «must» if using any software on a kiosk environment on which tools (e.g. RPD, VNC, SSH, SFTP and WWW), their preferences and their connections are provides "AS-IS" by the system without no customization from users and unsafe operations are disabled by default (e.g. exiting full screen using hotkeys).

How Has This Been Tested?

Successfully tested on my lab:

  • Server side: CentOS Stream 8 + Tigervnc Server + Openbox Desktop Manager)
  • Client side: VNC viewer
[1867472F@test4 ~]$ cat test-rdp.remmina
[remmina]
name=test-rdp
group=
protocol=RDP
server=10.10.62.20
username=Administrator
password=az2+ZiWEQMrIfepDAagM4Q==
cert_ignore=1
scale=2
viewmode=4
sharefolder=/home/1867472F/transfer


remmina --disable-news --disable-toolbar --enable-fullscreen --enable-extra-hardening --connect $PWD/test-rdp.remmina

Similar tests were also successfully performed using the Remmina VNC (*), SSH, SFTP and WWW plugins.

(*) dynamic resolution or automatic scaling will not work in this plugin even without these changes.

Screenshots (if appropriate):

Normal window: image

Same window resized: image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
Edited by Marco Fortina

Merge request reports

Loading