Josar
(Josar)
6
Idea 1: So basically make a script that has the command and set this to visudo.
Idea 2: Ebable the user openhab to access the xserver. Not tested but found in German forum.
Only works till reboot.
xhost +si:localuser:openhab
Set this to the file .xsessionrc
for permanent rights.
+si:localuser:openhab