From de57ba61001da2b04dfa747f1c5af9a19d94240b Mon Sep 17 00:00:00 2001 From: snowdream Date: Fri, 15 Nov 2024 08:42:06 +0000 Subject: [PATCH] feat: gnome-session --- docker-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 210a100..4f706a4 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -54,6 +54,9 @@ x11vnc -storepasswd "$VNC_ROOT_PASSWORD" /etc/x11vnc.pass > /dev/null 2>&1 & # nohup x11vnc -listen 0.0.0.0 -auth guess -unixpw --rfbport "$VNC_PORT" -display "$DISPLAY" -bg -wait 20 -loop -forever -shared > /dev/null 2>&1 & x11vnc -listen 0.0.0.0 -rfbauth /etc/x11vnc.pass -rfbport "$VNC_PORT" -display "$DISPLAY" -wait 20 -loop -forever -shared > /dev/null 2>&1 & +# start gnome +gnome-session --session=gnome > /dev/null 2>&1 & + # exec commands if [ -n "$*" ]; then sh -c "$*"