You would like to use an attached display to show the ROON web display? Don´t do it on low powerd machines
# add a dedicated user for it
sudo useradd -m roon-display
sudo passwd roon-display
# and now install some lightwight X enviroment
sudo apt-get install xorg chromium openbox lightdm xdotool unclutter
# thisis evil
sudo mv /etc/pam.d/lightdm-autologin /etc/pam.d/lightdm
# and edit the lightdm.comf
sudo nano /etc/lightdm/lightdm.conf
modify the following section
[Seat:*]
autologin-user=roon-display
user-session=openbox
Now we configure a very basic window manager called openbox for the autologin user.
mkdir -p ~/.config/openbox
nano ~/.config/openbox/autostart
and add the following content
xset s off
xset -dpms
xset s noblank
unclutter -display 0:0 -noevents -grab
chromium \
--disable-gpu \
--no-first-run \
--disable \
--disable-translate \
--disable-infobars \
--disable-suggestions-service \
--disable-save-password-bubble \
--start-maximized \
--kiosk "http://localhost:9330/display/" &
The –disable-gpu option took me quite some time to find out. The Mesa Driver for the Iris XE integrated INTEL processor graphic used in combination with the chromium browser has a rendering bug in combination deploying two SODIMMs (thus enable dual channel DRAM access)
Added unclutter to hide the Mouse Pointer.
We should reconnect – here every 5 Minutes – from time to time (is it a bug or feature ?)
as user roon-display do (important needs to be executed in the right user context)
crontab -e
and add
*/5 * * * * DISPLAY=:0 /home/roon-display/crontabrefresh.sh
and now we create a script for it
nano ~/crontabrefresh.sh
#!/bin/bash
xdotool key shift+F5
and make it executable
chmod +x ~/crontabrefresh.sh
Schreibe einen Kommentar