HDMI
Summary
VAN PI OS does not natively include a desktop environment and functions only as a server application.
There are two ways to utilize HDMI:
Install the Software Stack on a New Image with Desktop:
This involves creating a new image with a desktop environment.
Follow This Guide:
If you already have an HDMI touchscreen display and want to display the dashboard on it, you can follow these steps.
Since our operating system is "headless" (without a desktop interface), we use X for graphical output and Openbox as the window manager.
Steps to Set Up HDMI Display
Install Required Packages:
Log in via SSH to the Raspberry Pi and install the necessary packages:
Configure Raspberry Pi for CLI Auto-Login:
Run the following command:
Select:
1 System Options → S5 Boot/Auto-Login → B2 Console Autologin
If you notice a black border on your display later, go to
2 Display Options → D2 Underscan
and set it to "No".
Set Up Openbox Autostart:
Edit the Openbox autostart file:
Add the following lines to the end of the file:
Uncomment the line
# xset -dpms
if you want the display to stay on permanently. To adjust standby times, you can setxset -dpms 60 120
.
Enable X-Server Autostart:
Create or edit the
.bash_profile
file in the home directory:Add the following line:
Reboot the Raspberry Pi:
Restart the Raspberry Pi to apply the changes:
Optimize Performance:
Assign more memory to the GPU in the Raspberry Pi configuration:
4 Performance Options → P2 GPU Memory
, set it to 256MB.
In Chromium browser, go to
chrome://flags
and enable:ignore-gpu-blocklist
enable-gpu-rasterization
To access the URL bar, remove the
--kiosk
flag from the Openbox autostart file and the-nocursor
flag from the.bash_profile
file. After making the necessary changes, re-add these flags for kiosk mode.
Note: Running the browser continuously may increase the CPU temperature, but it remains within normal limits. Testing was done without active cooling or heatsinks.
Last updated