Skip to content

Commit

Permalink
route issues
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 8, 2024
1 parent fba0b6a commit 8391a0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY xstartup /root/.vnc/xstartup

#Inject code for audio in the NoVNC client
RUN sed -i "/import RFB/a \
import WebAudio from '/core/webaudio.js'" \
import WebAudio from '../core/webaudio.js'" \
/usr/share/novnc/app/ui.js \
&& sed -i "/UI.rfb.resizeSession/a \
var loc = window.location, new_uri; \
Expand Down
14 changes: 1 addition & 13 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,8 @@ 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
command=bash -c '/usr/bin/rm -rf /tmp/.X11-unix && /usr/bin/rm -rf /tmp/.X1-lock && rm ~/.vnc/passwd && echo $PASSWORD | vncpasswd -f > ~/.vnc/passwd && chmod 0600 ~/.vnc/passwd && vncserver'
stdout_logfile=/root/x11vnc.log
redirect_stderr=true

Expand Down

0 comments on commit 8391a0a

Please sign in to comment.