[SOLVED]Porteus - persistent cookies from browser

Share your opinion about Porteus Kiosk Edition.
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
trash
White ninja
White ninja
Posts: 5
Joined: 08 Sep 2016, 06:31
Distribution: Porteus-Kiosk-4.1.0-x86_64
Location: cz

[SOLVED]Porteus - persistent cookies from browser

Post#1 by trash » 18 Oct 2016, 14:17

Hi,
may you help me with configuration Porteus to ability store persistent (reboot, shutdown) cookie please ?
My application run on several terminals (diferent places in library) and I want login to my application (no making special compilations for every terminal) and set where current terminal is (via cookie with year expiration date).
Im using Porteus to run only my web application (dont worry about security) and this is way how to save custom configuration on each terminal - web application must know where terminal is (showing "here you are" red dot on map for example).


Thanks, Best regards, Tomas
Last edited by trash on 12 Dec 2016, 10:03, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Porteus - persistent cookies from browser

Post#2 by francois » 19 Oct 2016, 01:31

Your thread has been moved to the Porteus Kiosk edition section.

Thanks.
Prendre son temps, profiter de celui qui passe.

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

Re: Porteus - persistent cookies from browser

Post#3 by fanthom » 19 Oct 2016, 07:10

Hello trash,

You need to use latest kiosk version, disable private mode and enable full persistence during kiosk installation. If you want to make only cookies persistent and not any other data (browsing history, filled forms, etc) then custom build will be necessary.

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

trash
White ninja
White ninja
Posts: 5
Joined: 08 Sep 2016, 06:31
Distribution: Porteus-Kiosk-4.1.0-x86_64
Location: cz

Re: Porteus - persistent cookies from browser

Post#4 by trash » 20 Oct 2016, 10:52

Hi,
thanks for you reply but this way is first what iv tried :(

add to config :
persistence=full
disable_private_mode=yes

After turn on Porteus show Chrome index page like this : http://www7.pcmag.com/media/images/4839 ... height=245 instead of my homepage.
Without persistence=full and disable_private_mode=yes works everything fine and expected.

This is my config:

Code: Select all

connection=wired
network_interface=eth0
dhcp=yes
browser=chrome
homepage=MYHOMEPAGE
disable_navigation_bar=yes
hide_mouse=yes
kiosk_config=http://MYSITE/config.txt
vnc_interactive=yes
vnc_password=xxx
whitelist=MYHOMEPAGE
wake_on_lan=yes
additional_components=09-x11vnc.xzm uefi.zip 
timezone=Europe/Prague
removable_devices=yes
scheduled_action=Monday-20:00 Tuesday-20:00 Wednesday-20:00 Thursday-20:00 Friday-20:00 Saturday-06:00 Sunday-06:00 action:shutdown
rtc_wake=Monday-06:30 Tuesday-06:30 Wednesday-06:30 Thursday-06:30 Friday-06:30 


Thanks

trash
White ninja
White ninja
Posts: 5
Joined: 08 Sep 2016, 06:31
Distribution: Porteus-Kiosk-4.1.0-x86_64
Location: cz

Re: Porteus - persistent cookies from browser

Post#5 by trash » 20 Oct 2016, 13:21

UPDATE : after skip bug with Chrome index page instead of my homepage Porteus with persistence mode on a disabled private mode still cant remeber COOKIE. :(

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

Re: Porteus - persistent cookies from browser

Post#6 by fanthom » 23 Oct 2016, 08:51

I cant recreate any of your issues:

1) homepage updates correctly once i change remote config
2) cookies are saved properly

Please reinstall the kiosk and select 'quick erase' formatting option in the wizard (to make sure nothing is left from prev installation). Please test cookies on Porteus forum.
Here is the config i was using:

Code: Select all

connection=wired
network_interface=eth0
dhcp=yes
browser=chrome
homepage=forum.porteus.org
whitelist=forum.porteus.org
#homepage=kernel.org
#whitelist=kernel.org
disable_navigation_bar=yes
kiosk_config=http://192.168.1.15/bib
vnc_interactive=yes
vnc_password=toor
wake_on_lan=yes
additional_components=09-x11vnc.xzm uefi.zip
timezone=Europe/Prague
removable_devices=yes
scheduled_action=Monday-20:00 Tuesday-20:00 Wednesday-20:00 Thursday-20:00 Friday-20:00 Saturday-06:00 Sunday-06:00 action:shutdown
rtc_wake=Monday-06:30 Tuesday-06:30 Wednesday-06:30 Thursday-06:30 Friday-06:30
persistence=full
disable_private_mode=yes
Thanks.
Please add [Solved] to your thread title if the solution was found.

Locked