Skip to content

Commit

Permalink
Merge pull request #7 from funbien/master
Browse files Browse the repository at this point in the history
Fixing VNC refuse to connect after restarting the container
  • Loading branch information
theonemule authored Feb 12, 2024
2 parents eb17cce + ba1bf06 commit 6d6eddf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ nodaemon=true
pidfile=/root/supervisord.pid
logfile=/root/supervisord.log

[program:beforevnc1]
command=/usr/bin/rm -rf /tmp/.X11-unix
autostart=true
autorestart=false
redirect_stderr=true

[program:beforevnc2]
command=/usr/bin/rm -rf /tmp/.X1-lock
autostart=true
autorestart=false
redirect_stderr=true

[program:vncserver]
command=vncserver
stdout_logfile=/root/x11vnc.log
Expand Down

0 comments on commit 6d6eddf

Please sign in to comment.