pema
Posts: 12
Joined: Tue Feb 09, 2016 10:49 am

Kiosk browser, can not open display

Fri Feb 26, 2016 4:06 pm

Hej.
Running latest Jessie, 2016-02-09, Im trying to setup a kiosk browser, I want a decent web browser such as epiphany or iceweasel , to start at boot in full screen. No method from pre 2016 works in Jessie 2016-02-09. Iam not able installing x11 server utils. It does not work with the chromium from steiner bank, kweb does not work. It all ends up at same error message, can not open display.
Until now I have tried(really tired now so syntax is not accurate here) :
export display=display 0.0
kweb
chromium
x11 server utils
openbox
xserver-command=X -s dpms

I have no clue what the problem is and not really interested, I want this kiosk server started and tired of burning night light on useless Linux getting nowhere. Is it possible getting a older Jessie release as older versions seems to work lot better ? security is no issue here, it will not be online or have any connection internet, I just need to get it working.

gkreidl
Posts: 6307
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Kiosk browser, can not open display

Fri Feb 26, 2016 6:45 pm

pema wrote:Hej.
Running latest Jessie, 2016-02-09, Im trying to setup a kiosk browser, I want a decent web browser such as epiphany or iceweasel , to start at boot in full screen. No method from pre 2016 works in Jessie 2016-02-09. Iam not able installing x11 server utils. It does not work with the chromium from steiner bank, kweb does not work. It all ends up at same error message, can not open display.
Until now I have tried(really tired now so syntax is not accurate here) :
export display=display 0.0
kweb
chromium
x11 server utils
openbox
xserver-command=X -s dpms

I have no clue what the problem is and not really interested, I want this kiosk server started and tired of burning night light on useless Linux getting nowhere. Is it possible getting a older Jessie release as older versions seems to work lot better ? security is no issue here, it will not be online or have any connection internet, I just need to get it working.
It seems that you have installed or tried kweb. Why don't you read the manual? It's all there.
There's only one small difference in Jessie when using the boot into browser method: add a
sleep 10
(or more)
in rc.local above the line that starts xinit.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

pema
Posts: 12
Joined: Tue Feb 09, 2016 10:49 am

Re: Kiosk browser, can not open display

Mon Feb 29, 2016 6:18 am

ok will try. I just couldn't believe a simple delay would solve this kind of issue but Ill get back with results.

pema
Posts: 12
Joined: Tue Feb 09, 2016 10:49 am

Re: Kiosk browser, can not open display

Mon Feb 29, 2016 6:37 am

yepp, tried this, added to rc.local:
sleep 10
epiphany -e Fullscreen http//xxxxxxx
sleep 10
exit 0

but no luck, still boots normally, but without any error message for display though. And yes Im also having the issue with kweb that it flashes and reloads all the time, I have a update interval of 100ms on my "machine" and only epiphany seems to handle this.

gkreidl
Posts: 6307
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Kiosk browser, can not open display

Mon Feb 29, 2016 9:09 am

pema wrote:yepp, tried this, added to rc.local:
sleep 10
epiphany -e Fullscreen http//xxxxxxx
sleep 10
exit 0

but no luck, still boots normally, but without any error message for display though. And yes Im also having the issue with kweb that it flashes and reloads all the time, I have a update interval of 100ms on my "machine" and only epiphany seems to handle this.
You cannot run any desktop (GUI) application without starting X-ORG first and you'll also usually need a window manager. The easiest way is to create a small script first (e.g. "kiosk") in the root of your user directory: and start it with
xinit ./kiosk
The kiosk file should start a window manager and your application (epiphany, for instance).
Obviously you haven't studied any documentation. Epiphany hast to be started with

Code: Select all

epiphany-browser
and it doesn't know a "-e" option. Run

Code: Select all

epiphany-browser -h
for a list of possible options. There is no option to start it in full screen mode.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Troubleshooting”