Trying to make a Webkit kiosk on Debian using Raspberry Pi

I am trying to create a Webkit kiosk on a raspberry peak.

I found a good start: https://github.com/pschultz/kiosk-browser

What I want to do:

1) Run the kiosk without logging in (with inittab?)

Peter Schulz pointed out the addition of the following line:

1:2345:respawn:/usr/bin/startx -e /usr/bin/browser http://10.0.0.5/zfs/monitor tty1 /dev/tty1 2>&1

But he did not explain the steps to make this work (for noobs).

What I did was add its code to the personal git repository and clone this repo on /usr/bin/kioskand sudo apt-get install libwebkit-devand sudo make.

The line to add inittab would be:

1:2345:respawn:/usr/bin/startx -e /usr/bin/kiosk/browser http://my-kiosk-domain.com tty1 /dev/tty1 2>&1

If I do this, I create a loop or some kind of ...

+5
source share
6 answers

, rpi, /etc/xdg/lxsession/LXDE/autostart

@chromium --kiosk --incognito www.google.it
@midori -i 120 -e Fullscreen -a www.google.it -p

- , - midori, .

: rpi , , . :

sudo pico /etc/xdg/lxsession/LXDE/autostart

, # ( )

#@xscreensaver -no-splash

@xset s off 
@xset -dpms 
@xset s noblank 

, .

http://pikiosk.tumblr.com/post/38721623944/setup-raspberry-ssh-overclock-sta

+6

, DISPLAY.

Try:

export DISPLAY=:0
/usr/bin/startx /usr/bin/browser

( ):

/usr/bin/startx /usr/bin/browser :0

Raspbian ( SSH).

+2

LXDE . heaver. X-:

xinit /usr/bin/midori -e Fullscreen -a http://www.examples.com/
xinit chromium --kiosk http://www.examples.com/

, , midori . , MatchBox, . - xinit script.

#!/bin/sh
matchbox-window-manager &
midori -e Fullscreen -a http://dev.mobilitylab.org/TransitScreen/screen/index/11

/etc/rc.local.

: https://github.com/MobilityLab/TransitScreen/wiki/Raspberry-Pi#running-without-a-desktop

Chromium . . , Raspbian .

. , - . Chromium webkit . html5/css3, libwebkitgtk (, debian).

+2

, , /usr/bin/kiosk/browser. X- ( ) RaspberryPi, :

/usr/bin/kiosk/browser http://my-kiosk-domain.com

, . ? ?

0
0

Raspbian ( Pixel) noop 2.0.

, , .

  • / ../XDG/LXSession/LXDE/
  • /home/pi/.config/lxsession/LXDE-pi/autostart

, :

# @xscreensaver -no-splash

@xset s off 
@xset -dpms 
@xset s noblank 

@chromium-browser --kiosk --incognito http://localhost

.

0

All Articles