Openhabian Web browser starting using LCD touch panel

Hello Community.
There is LCD touch panel that I use with Raspberry PI where OpenHAB server is running. But when I switch on raspberry, LCD touch panel display only console. But I want to display web browser with OpenHAB UI instead of this console. I have read a lot of topics on this Forum and do a lot of things (install raspberrypi-ui-mods, web browser…) but hothing help. What must I do to comply this task ?

Below is my setup for running a RPi based touchscreen setup (based on Debian). Key parts are:

  1. Launch X-Windows (check that you have the user created)
  2. Launch a fullscreen chrome with the HABPanel URL

Hope that helps get you started. Otherwise ask away.

Thank you for your answer, but I can’t open your links. Can you describe in detail what should I do ?

Github appears to be down. Give them a moment and the links should work.

If you use DietPi, there is an option in the menu to start Chromium in kiosk mode.

I added a delay / sleep to allow openHAB2 to start and set the URL to

I’ve also learnt how to do it and now I have a BeagleBone Black (Debian 9) starting up with just a Chromium browser in an Xinit session.

Can you describe it in detail ?

Github does not work yet. Can you describe it manually ?

It’s super easy if you use the DietPi version of Debian for your Pi.

There is an option in the config menu to start Chromium, which prompts you for the URL.

If you want to add a delay, you only need to add a sleep command into the chromium auto startup script.

Alternatively, a simple Google search returns all kinds of in depth explanations on how to achieve a stand alone chromium browser, with all the different application options.

If you want to see how it’s done in DietPi, there’s a link to the point in the video at the end of this topic post

I use OpenHABian. Is it possible (to achieve a stand alone chromium browser) with OpenHABian ?

In theory, yes.

  • I don’t have a Raspberry Pi

  • I therefore don’t use Openhabian OS image.


If you can install chromium & xinit using apt-get, then it’s just a matter of creating a method of auto starting chromium with xinit with the options you want.

  • Screen resolution
  • other Chromium options
  • Ending with the URL

Which needs a command line along the lines of :-

xinit /usr/bin/chromium-browser --kiosk --url

I’m happy to zip up the service file and scripts I use (when I get to my office), on the strict understanding that I can’t support you much further, for the simple reason that I’m not entirely sure how I’ve achieved it in the first place.

However, I try to write scripts so that I can return to them later, so I’d like to think that they are easy enough to reverse engineer.

links now updated.

1 Like

It seems to me that it works. I do following instruction:
file sudo nano /etc/rc.local
and then add following line:
xinit /usr/bin/chromium-browser --no-sandbox --no-first-run --window-size=1920,1080 --noerrdialogs --start-fullscreen
–start-maximized --disable-notifications --disable-infobars --kiosk --incognito http://localhost:8080 &

But it will be good for me to see your ZIP with scripts.

1 Like

Links don’t find yet.



Pop a

sleep 5m

Command before the chromium line, just so that it gives openHAB2 time to start up.

I’ll upload the zip, when I get to my office


For what they are worth, the files I use are in this ZIP

I hope they are of use to you.



1 Like

Thank you

1 Like