Skip to content

Commit

Permalink
feat: gnome-session
Browse files Browse the repository at this point in the history
  • Loading branch information
snowdream committed Nov 15, 2024
1 parent 386b5d5 commit de57ba6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$*"
Expand Down

0 comments on commit de57ba6

Please sign in to comment.