new install not remembering password/login

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
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
aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#1 by aaamoeder » 02 Jan 2022, 20:11

I replaced the hdd on one of my installs and kept the exact same config file, yet the new install is unable to remember password/login, neither settings changed on the homepage are kept.

config looks like this:

Code: Select all

primary_keyboard_layout=be
connection=wifi
netmask=xxxxxxxxxxxxxxxxxxx
ip_address=xxxxxxxxxxxxxxxxxxx
default_gateway=xxxxxxxxxxxxxxxxxxx
dns_server=xxxxxxxxxxxxxxxxxxx
network_interface=wlan0
hidden_ssid_name=xxxxxxxxxxxxxxxxxxx
wifi_encryption=wpa
wpa_password=xxxxxxxxxxxxxxxxxxx
browser=chrome
client_id=automatic
disable_firewall=yes
homepage=http://xxxxxxxxxxxxxxxxxxx
hide_mouse=yes
kiosk_config=http://xxxxxxxxxxxxxxxxxxx/kiosksettings.txt
browser_preferences=http://xxxxxxxxxxxxxxxxxxx/chromeflags.txt
persistence=full
disable_private_mode=yes
password_manager=yes
root_password=xxxx
kiosk_server=192.168.xxx.xxx:443
vnc_interactive=yes
vnc_password=xxxx
wake_on_lan=yes
zRAM=50%
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 
shutdown_menu=shutdown reboot sleep restart-session lock
browser_zoom_level=0.85
timezone=Europe/Brussels
allow_popup_windows=no
disable_navigation_bar=yes
debug=no
run_command=sed -i 's/,OverscrollHistoryNavigation//' $chflags
running the latest version of Porteus kiosk (5.3.0)

website I'm using it for is our home assistant dashboard.


Am I missing something ?

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#2 by aaamoeder » 03 Jan 2022, 01:24

tried using firefox with the exact same settings and ff is saving the login/pw fine (but is unusable because it is very unresponsive)

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

new install not remembering password/login

Post#3 by fanthom » 03 Jan 2022, 05:35

"I replaced the hdd on one of my installs and kept the exact same config file, yet the new install is unable to remember password/login, neither settings changed on the homepage are kept."
Your remote management feature does not work (probably a typo in the config URL).
Please reinstall and do things right this time.

Thanks
Please add [Solved] to your thread title if the solution was found.

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#4 by aaamoeder » 03 Jan 2022, 13:13

the url to the settings file is correct since changes I make to the settings file are being adapted by the kiosk and the config test during install was successful.

I've done 2 clean installs now hoping the issue would be resolved but the issue remains.
I've also looked for an older release to see if the issue is present there but I'm unable to find any older releases apart from the 3.7 release.

what I did not specifically mention is that my previous install was a somewhat older version.. 4.7 or 4.8 I believe. unable to check the exact version because hdd it was on is broken (hence the hdd replacement)

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

new install not remembering password/login

Post#5 by fanthom » 03 Jan 2022, 19:41

Please remove parameters one by one from your remote config until you find the one which breaks persistence/password manager.

I believe it could be this one:

Code: Select all

browser_preferences=http://xxxxxxxxxxxxxxxxxxx/chromeflags.txt

Thanks
Please add [Solved] to your thread title if the solution was found.

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#6 by aaamoeder » 03 Jan 2022, 23:48

I've reduced the config to the minimum but still no luck

Code: Select all

connection=wifi
netmask=xxx.xxx.xxx.xxx
ip_address=xxx.xxx.xxx.xxx
default_gateway=xxx.xxx.xxx.xxx
dns_server=xxx.xxx.xxx.xxxxxx.xxx.xxx.xxx
network_interface=wlan0
hidden_ssid_name=xxxxx
wifi_encryption=wpa
wpa_password=xxxxx
browser=chrome
homepage=http://xxxxx
kiosk_config=http://xxxxx/kiosksettings.txt
persistence=full
password_manager=yes
disable_private_mode=yes
root_password=xxxxx
kiosk_server=xxxxx
vnc_interactive=yes
vnc_password=xxxxx
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 
shutdown_menu=shutdown reboot sleep restart-session lock
browser_zoom_level=0.85

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

new install not remembering password/login

Post#7 by fanthom » 04 Jan 2022, 07:37

Please connect to your kiosk over SSH and run following command:
touch /home/guest/presistence-test

reboot the kiosk and check if this file is still there:
ls -al /home/guest

If yes then persistence works ok.
Please add [Solved] to your thread title if the solution was found.

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#8 by aaamoeder » 04 Jan 2022, 13:57

persistence seems to be working.
Perhaps the password manager isn't working ? (when trying firefox it was working ok, so perhaps it is an issue with chrome ?)

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

new install not remembering password/login

Post#9 by fanthom » 04 Jan 2022, 19:05

I have tested Chrome on this forum and password is remembered.

It must be your kiosk configuration fault. Please provide output of following command:

Code: Select all

cat $json | grep -i manager
Thanks
Please add [Solved] to your thread title if the solution was found.

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#10 by aaamoeder » 05 Jan 2022, 22:30

sorry for the late reply, and thanks for your help troubleshooting this..

result for the given command is: "PasswordManagerEnabled": true,

So it seems enabled ...

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

new install not remembering password/login

Post#11 by fanthom » 06 Jan 2022, 09:21

Maybe its your webpage fault.
Please check if your login is remembered to the Porteus forum.

Thanks
Please add [Solved] to your thread title if the solution was found.

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#12 by aaamoeder » 07 Jan 2022, 14:18

Tried with the forum and the password is kept correctly..
Which is weird since all browsers and devices I've tried the kiosk webpage on (home assistant instance) have saved the password correctly except for porteus..
With the previous install I used the exact same webpage and the password was remembered without issue.
I have no idea where to go from here to be honest.

I'm now looking for some assistance from the Homeassistant people to see if it could be on homeassistant's end that coincidentally started at the exact same time I reinstalled porteus.

Thanks for troubleshooting with me !

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

new install not remembering password/login

Post#13 by Rapha_ » 07 Jan 2022, 17:14

aaamoeder wrote:
02 Jan 2022, 20:11
I replaced the hdd on one of my installs and kept the exact same config file, yet the new install is unable to remember password/login, neither settings changed on the homepage are kept.
Hello,

I don't use "Porteus Kiosk Edition" and I don't know if it will help you...

Do you use a hard disk drive that doesn't keep permissions (e.g. formated as NTFS) ?


This solution I used on Porteus 5.0rc3 is probably not suitable for "Porteus Kiosk Edition " :
Sujet : Wi-fi : save settings and passwords

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

new install not remembering password/login

Post#14 by aaamoeder » 07 Jan 2022, 17:31

thanks for chiming in !

the problem exists only for that single webpage and settings are kept (wifi and such)
Seems to be some kind of cookie-ish related issue

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

new install not remembering password/login

Post#15 by Rapha_ » 07 Jan 2022, 18:13

On Firefox , on the left of the url , click on the padlocker , you have an option to delete cookies and site data (but I don't know in which file these data are saved )

Locked