Control Keys

New features which should be implemented in Porteus Kiosk Edition and the kiosk wizard.
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
MonkeyBoy
White ninja
White ninja
Posts: 15
Joined: 16 May 2013, 15:17
Distribution: kiosk
Location: United States

Re: Control Keys

Post#16 by MonkeyBoy » 19 Jul 2013, 06:12

OK...

I downloaded 2.0.5 and ran the wizard.

I told it to whitelist a group of ips, and it created the .iso in the tmp directory.
When I copy the iso to create a virtual machine, it loads and goes into Porteus kiosk, but will not go to any addresses. It just keeps telling me it is connecting to the webpage, but never shows anything.

Do I have to connect to IP addresses and not url's, because it won't connect to the url or the ip address

What am I missing? I even included the DNS server addresses, just to see if that was the problem.

MonkeyBoy
White ninja
White ninja
Posts: 15
Joined: 16 May 2013, 15:17
Distribution: kiosk
Location: United States

Re: Control Keys

Post#17 by MonkeyBoy » 19 Jul 2013, 06:29

In other words, I whitelisted porteus.org (198.50.156.88) and left porteus.org as the default home page.
The tab just saying connecting and spins the circle, but never shows porteus.org

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

Re: Control Keys

Post#18 by fanthom » 19 Jul 2013, 06:47

hello MonkeyBoy,

i guess that you never whitelisted a gateway (usually 192.168.1.1) so internet is unreachable.

btw - in case of other questions please start a new thread as this is going much off topic.
Please add [Solved] to your thread title if the solution was found.

MonkeyBoy
White ninja
White ninja
Posts: 15
Joined: 16 May 2013, 15:17
Distribution: kiosk
Location: United States

Re: Control Keys

Post#19 by MonkeyBoy » 19 Jul 2013, 19:25

Duh......forgot the gateway.

And thanks again.
Will start another thread as necessary.

egesia
Ronin
Ronin
Posts: 3
Joined: 12 Sep 2013, 22:48
Distribution: Kiosk
Location: Trieste

Re: Control Keys

Post#20 by egesia » 12 Sep 2013, 23:09

Hi,
first of all many thanks for this great distro!

I'm in the middle of upgrading my ubuntu totem in an italian sport club to porteus.

My ubuntu kiosk now shows an information page to public, but if someone press one of the function key a set of simple scripts kill the firefox session and reopen a new firefox with a different page. In this way they can navigate only between 12 pages (F1-F12) and i can avoid porn risks...

I tried to call a script from rc.xml in porteus but it opens a new firefox session in a window (no full screen) with menu, buttons, navigation bar etc.

Do you have any hint?

Thanks !

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

Re: Control Keys

Post#21 by fanthom » 12 Sep 2013, 23:41

hi egesia,

quick idea (not tested):
please edit 003-settings.xzm/etc/xdg/openbox/autostart to launch firefox like:

Code: Select all

su guest -c "firefox $(cat /tmp/url)"
now - it should be enough if your scripts would write a proper url to /tmp/url and then killall firefox.

EDIT:\\
just checked and this trick works for me so must also for you ;)
Please add [Solved] to your thread title if the solution was found.

egesia
Ronin
Ronin
Posts: 3
Joined: 12 Sep 2013, 22:48
Distribution: Kiosk
Location: Trieste

Re: Control Keys

Post#22 by egesia » 13 Sep 2013, 13:02

Great, it's perfect !

Thanks a lot!

Locked