diff --git a/supervisord.conf b/supervisord.conf index 57e90ff..0733375 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -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