Page 1 of 1

[SOLVED]Porteus - persistent cookies from browser

Posted: 18 Oct 2016, 14:17
by trash
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

Re: Porteus - persistent cookies from browser

Posted: 19 Oct 2016, 01:31
by francois
Your thread has been moved to the Porteus Kiosk edition section.

Thanks.

Re: Porteus - persistent cookies from browser

Posted: 19 Oct 2016, 07:10
by fanthom
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.

Re: Porteus - persistent cookies from browser

Posted: 20 Oct 2016, 10:52
by trash
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

Re: Porteus - persistent cookies from browser

Posted: 20 Oct 2016, 13:21
by trash
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. :(

Re: Porteus - persistent cookies from browser

Posted: 23 Oct 2016, 08:51
by fanthom
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.