From c731e2e0a06a22ac7b1a33e4e73d390ea1ac1852 Mon Sep 17 00:00:00 2001 From: "Josh.5" Date: Tue, 22 Aug 2023 15:04:43 +1200 Subject: [PATCH] Run x11vnc as root inside the container --- overlay/etc/supervisor.d/vnc.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/etc/supervisor.d/vnc.ini b/overlay/etc/supervisor.d/vnc.ini index 4e81587..72ff755 100644 --- a/overlay/etc/supervisor.d/vnc.ini +++ b/overlay/etc/supervisor.d/vnc.ini @@ -3,7 +3,7 @@ priority=30 autostart=false autorestart=true -user=%(ENV_USER)s +user=root command=/usr/bin/start-x11vnc.sh environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s",PORT_VNC="%(ENV_PORT_VNC)s" stopsignal=INT