Dear Support Team
I have got a custom built image with Chromium support. How can I configure Chromium to start automatically in Kiosk mode and to connect to a specific server IP address?
Thank you in advance.
Best regards,
Daniel
Dear Support Team
I have got a custom built image with Chromium support. How can I configure Chromium to start automatically in Kiosk mode and to connect to a specific server IP address?
Thank you in advance.
Best regards,
Daniel
Hi,
I know the command line parameter --kiosk but I have to start Chromium automatically and silent after boot.
chromium --no-sandbox -- kiosk http://www.google.com
want do this because running chromium as root needs the option --no-sandbox which causes a message box in Chromium.
Creating a new user allready works but not without entering user password.
More or less folowing procedure should be implemented:
1. power on
2. boot process
3. network initialization DHCP or static IP (probably in U-Boot)
4. autologin as specific user (no root)
5. starting Chromium in kiosk mode with specific server address and without any user interaction
Best regards,
Daniel
Hello,
I am assuming you are using systemd?
In systemd you can create an autologin by copying the file /lib/systemd/system/getty\@.service to /etc/systemd/
Now make a link from this file to
and overide the existing link.
In getty@tty1.service change the line
to
This will automaticallylog you into tty1 with user USERNAME without asking for a password.
Now you can add
to
and chromium will get started automaticallywith this user login.
I hope this helps.
Your F&S Support Team
Hello,
thank you for quick reply :-). The Image was built by F&S but I think it's using systemd.
There stills a little issue concerning chromium. Logged in as user root will start Chromium verry quickly but with the parameters --no-sandbox I'm not sure if chromium is running without any restrictions (You are using an unsupported command-line flag: --no-sandbox. Stability and security will suffer.).
please see file --no-sandbox.txt
Logged in as user USERNAME starting chromium will cause a long delay (about 35s).
please see file --kiosk.txt
I think chromium is missing some directories/files in the home directory of the user USERNAME. I will try to copy the whole directory
/home/root/.config/chromium/
to
/home/USERNAME/.config/chromium/
Do you have any other ideas?
Thank you for help.
Best regards,
Daniel
Copy the whole directory
/home/root/.config/chromium/
to
/home/USERNAME/.config/chromium/
does not resolve the problem.
Now it's working .
Thank you!
Best regards,
Daniel