Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4932  / 1 Year ago, wed, may 3, 2023, 2:58:01

I have a raspberry pi running Ubuntu Server connected to a large display that needs to display a webpage containing HTML and CSS to show information is the lobby at my workplace.
If possible, I would like to have the webpage run in a browser like chromium in a basic x session, no proper desktop environment or anything.



Here’s what I’ve tried:
Installing xorg and Openbox, which worked, but I’d prefer to not have to run the browser in a window manager/desktop environment, if possible.



In a nutshell, I need to run a single graphical web browser full screen in a basic x session.


More From » xorg

 Answers
0

I found the answer to my question:
To do this, we will run Chromium in Kiosk mode.
First, install chromium and xorg:



sudo apt update
sudo apt install chromium-browser xorg


Now, you can start Chromium in kiosk mode with this command:



startx /usr/bin/chromium-browser —-kiosk <website>


You would replace “website” with the website you would like to visit. To exit kiosk mode, do alt+f4.


[#4885] Thursday, May 4, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istmasted

Total Points: 287
Total Questions: 130
Total Answers: 153

Location: Burkina Faso
Member since Thu, Dec 23, 2021
2 Years ago
;