New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromium does not run on Kiosk mode. #4990
Comments
I guess it's you as well who opened the issue on our forum? Pls try to stick to one platform. It dosn't make sense to open an issue twice. This will just double our efforts to mange both. thx for understanding. |
Hi @Joulinar, You are definitely right, sorry for the inconvenience. I guess, it is better if we can continue from here. |
You cannot run Chromium without an X server. Do this: xinit "$(command -v chromium-browser)" For running it in kiosk mode, you can call our autostart script directly, which includes /var/lib/dietpi/dietpi-software/installed/chromium-autostart.sh The The RPi forum thread you linked seems to be this issue: RPi-Distro/chromium-browser#22 |
or use out autostart script
|
@MichaIng I installed via running After I run It opens DietPi homepage, and I also get following errors:
The only thing I require is accessing Node-RED server (something like, 192.1##.###.###:1880), I appreciate if you can guide me regarding this. |
Probably the following mutes the EGL warning: sed -i '1s/$/ --use-gl=egl/' /etc/chromium.d/custom_flags
sed -i '1s/$/ --use-gl=egl/' /root/.chromium-browser.init Assure to use a the KMS display driver, if not done yet. Here is the line to change the website when using the autostart script: https://github.com/MichaIng/DietPi/blob/733d81e/dietpi.txt#L252 |
It seems like not.
I had a look at DietPi tools but could not locate an option to install such a driver. |
But Chromium is starting correct? You can use dietpi-autostart to select Chromium to start right after boot. You will be ask to specify starting page |
Yes, It starts. I changed to homepage to However, it lacks browser bar (the one on the top), is there any way to add such a bar so I can have more than 1 Tab open etc? |
Chromium will start in Kiosk Mode if configured as autostart and thinks like menus are disabled by purpose. Just have a look to the autostart script. There you can find options we have set. |
Here is the script. I can't see such a thing.
|
You wrote "Kiosk mode" in the title, so I thought you know what it is? If you want to start Chromium the regular interactive way: xinit "$(command -v chromium-browser)" You can change the start page via its GUI settings like on every other browser then. For better performance, I recommend to enable the KMS driver: /boot/dietpi/func/dietpi-set_hardware rpi-opengl vc4-kms-v3d
reboot |
A desktop is not required at all for Chromium, regardless which mode, generally not for most X application, which usually can run fine in standalone mode via |
Yes. I am totally aware what it is now. I have no idea why I had such an impression. |
Okay I'll mark this as closed then. Feel free to reopen when required. |
Creating a bug report/issue
Required Information
DietPi version | G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=8
G_DIETPI_VERSION_RC=2
Distro version | bullseye 0
Kernel version | Linux DietPi 5.10.63-v8+
SBC model | RPi 4 Model B (aarch64)
Power supply used | Official Pi Adapter
SDcard used | Kingston Canvas Select Plus 32GB
Additional Information
Steps to reproduce
dietpi-sofware
chromium-browser
.Expected behaviour
Actual behaviour
Extra details
chromium-browser
:The text was updated successfully, but these errors were encountered: