-
Notifications
You must be signed in to change notification settings - Fork 59
Remmina Kiosk (RDP, Spice, & VNC)
Work in progress... Waiting for the next release --> 1.3.7. Antenore Gatta has created some really nice fixes for us. An autostart option so you don't have to edit the /usr/bin/remmina-gnome script, a nice kiosk session, and a suppression of the news widget. Thank you so much, Antenore!
Currently only tested with LightDM. I really like this implementation, because it has a nice gui, and you can support all types of desktops with one session. Windows, Linux, MacOS, Android, etc... However, it has some rough edges. Like no multi-monitor support.
- Install Remmina using guide here: https://remmina.org/how-to-install-remmina/. Make sure you install the plugins you'll need.
- Currently you'll have to make the manual changes in this bug report: https://gitlab.com/Remmina/Remmina/issues/2007
- Install LightDM and update LTSP image.
sudo apt install lightdm && sudo ltsp image /
- Install default ltsp.conf
install -m 0660 -g sudo /usr/share/ltsp/common/ltsp/ltsp.conf /etc/ltsp/ltsp.conf
- Edit ltsp.conf
nano -w /etc/ltsp/ltsp.conf
Under the [clients]
section, set these values:
# Create a user that is local to the client, so that authentication/SSHFS/NFS aren't needed:
PRE_INIT_KIOSK_USER='mkdir -p /run/home && useradd --base-dir=/run/home --comment="kiosk user" --create-home --shell=/bin/bash --system kiosk'
# Copy .remmina files in /etc/ltsp to kiosk home directory:
POST_INIT_REMMINA_SESSION="mkdir -p /run/home/kiosk/.local/share/remmina && cp -r /etc/ltsp/*.remmina /run/home/kiosk/.local/share/remmina/ && chown kiosk: /var/run/home/kiosk/.local/share/remmina/*"
# Enable autologin for that user:
AUTOLOGIN=kiosk
# And set it as the default session of this user:
LIGHTDM_CONF='user-session=remmina-gnome'
Optional: Under [common] section add:
# Disable iPXE menu
MENU_TIMEOUT="-1"
sudo ltsp ipxe
Example Remmia Kiosk config file rdp.remmina
sudo nano /etc/ltsp/rdp.remmina
add at least server=
[remmina]
password=
gateway_username=
window_height=480
ssh_privatekey=
serialname=
enableproxy=0
ssh_password=
printer_overrides=
ssh_auth=0
name=rdp1
console=0
colordepth=0
security=
precommand=
disable_fastpath=0
postcommand=
ssh_charset=
group=
server=
ssh_enabled=0
glyph-cache=0
disableclipboard=0
parallelpath=
cert_ignore=0
gateway_server=
serialpermissive=0
protocol=RDP
resolution_mode=2
disableautoreconnect=0
loadbalanceinfo=
clientname=
resolution_width=0
ssh_username=
relax-order-checks=0
username=
gateway_domain=
serialdriver=
domain=
gateway_password=
smartcardname=
exec=
serialpath=
ssh_loopback=0
shareprinter=0
shareparallel=0
disablepasswordstoring=0
quality=0
parallelname=
execpath=
shareserial=0
sharefolder=
sharesmartcard=0
resolution_height=0
microphone=0
gwtransp=auto
window_maximize=0
ignore-tls-errors=1
gateway_usage=0
window_width=758
sound=local
ssh_server=
viewmode=4
Add as many .remmina files as yo want in /etc/ltsp/
This will by default pop up with a list of connections.
If instead you want it to just automatically connect to a specific one: NOTE: This also can be accomplished using the new autostart feature in 1.3.7
sudo nano -w /usr/bin/remmina-gnome
change "remmina --kiosk" to:
remmina --kiosk /etc/ltsp/rdp.remmina
sudo ltsp image /