Guest session persistence not working

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
kevxlree
White ninja
White ninja
Posts: 6
Joined: 26 Jun 2018, 17:41
Distribution: Porteus Kiosk Thin Client

Guest session persistence not working

Post#1 by kevxlree » 26 Jun 2018, 18:41

On Portius Kiosk Thin Client edition I have configured full persistence mode and persistence for the guest home folder. The goal is for the Remmina RDP connection, which is downloaded and run on startup from a local server, to launch without prompting for a password.

Is it possible to achieve this in Porteus thin client? Here is my config:

Code: Select all

connection=wired
dhcp=yes
browser=chrome
enable_file_protocol=yes
allow_icmp_protocol=yes
kiosk_config=http://SERVER/porteus-config.txt
persistence=full
persistence=/home/guest
disable_private_mode=yes
run_command=wget http://SERVER/rdp.txt -O /home/guest/rdp.remmina; while true; do su - guest -c "remmina -c /home/guest/rdp.remmina"; done
right_mouse_click=yes
root_password=PASSWORD
vnc_password=PASSWORD
wallpaper=http://SERVER/Black.jpg
wake_on_lan=yes
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Guest session persistence not working

Post#2 by fanthom » 27 Jun 2018, 06:13

Hello kevxlree,

"On Portius Kiosk Thin Client edition I have configured full persistence mode and persistence for the guest home folder."
Full persistence means persistence for the guest home folder.

By the way: you should never double the same parameters in your kiosk config as this is against the rules:

Code: Select all

persistence=full
persistence=/home/guest
Only first parameter will be processed.

"The goal is for the Remmina RDP connection, which is downloaded and run on startup from a local server, to launch without prompting for a password."
You dont need any persistence for this since remmina config file is stored on a remote server.

"Is it possible to achieve this in Porteus thin client? Here is my config:"
Your config looks good (except for doubled 'persistence=' parameter and the fact that its actually not needed) and should be working.
Did you test this config? If remmina is not autostarted then please login to your kiosk over SSH and manually run following commands:

Code: Select all

wget http://SERVER/rdp.txt -O /home/guest/rdp.remmina
su - guest -c "remmina -c /home/guest/rdp.remmina"
Please show us the error which you get in the terminal (or photo from the kiosk screen).
Please add [Solved] to your thread title if the solution was found.

kevxlree
White ninja
White ninja
Posts: 6
Joined: 26 Jun 2018, 17:41
Distribution: Porteus Kiosk Thin Client

Guest session persistence not working

Post#3 by kevxlree » 27 Jun 2018, 13:30

Thanks fanthom

I have remove the double persistence parameters so I just have

Code: Select all

persistence=full
Remmina is autostarted with the parameter

Code: Select all

run_command=wget http://kings-rdsmgmt.kingschristian.info/sturdp.txt -O /home/guest/rdp.remmina; while true; do su - guest -c "remmina -c /home/guest/rdp.remmina"; done
The first time Remmina opens the RDP file it prompts for credentials (expected behaviour), so I enter the credentials and check Save Password. But on the next reboot it prompts for credentials again (see attached photo from kiosk screen)

Is this because Porteus is downloading the RDP file from the server on every startup? Would it be better to deploy a custom package with this RDP file stored on disk?

Image

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Guest session persistence not working

Post#4 by fanthom » 27 Jun 2018, 13:46

"Is this because Porteus is downloading the RDP file from the server on every startup? Would it be better to deploy a custom package with this RDP file stored on disk?"
I dint think this matters. Maybe its a kiosk bug.

Please contact with support@porteus-kiosk.org and i'll ask you for associating your kiosk with my PK Server so i could debug this problem over SSH and VNC.
Please add [Solved] to your thread title if the solution was found.

kevxlree
White ninja
White ninja
Posts: 6
Joined: 26 Jun 2018, 17:41
Distribution: Porteus Kiosk Thin Client

Guest session persistence not working

Post#5 by kevxlree » 27 Jun 2018, 14:04

Sounds great, will do

Locked