From 3141f785309d9205903fb13031347de379f03fb6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 29 Nov 2024 10:01:50 +0500 Subject: [PATCH] man --- Dockerfile | 6 +++--- supervisord.conf | 15 +-------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70713ef..a3aad2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV LC_ALL en_US.UTF-8 ENV XYZ 1024x768x16 ENV TZ "Asia/Shanghai" -ENV VNC_PW "484" +#ENV VNC_PW "484" ENV DISPLAY :0 @@ -56,8 +56,8 @@ RUN apt-get upgrade --yes && \ # 容器里超级进程管理和配置文件 COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf -COPY myrun /usr/bin/myrun -RUN chmod +x /usr/bin/myrun +#COPY myrun /usr/bin/myrun +#RUN chmod +x /usr/bin/myrun # 开放VNC端口和noVNC端口 # EXPOSE 5900 diff --git a/supervisord.conf b/supervisord.conf index 0a12f0a..08d8ab7 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -15,7 +15,7 @@ redirect_stderr=true [program:x11vnc] priority=20 directory=/ -command=x11vnc -display :0 -shared -usepw +command=x11vnc -display :0 -shared -passwd 484 -viewpasswd 123456 user=root autostart=true autorestart=true @@ -48,19 +48,6 @@ stdout_logfile=/var/log/novnc.log redirect_stderr=true stopasgroup=true -[program:novnc] -priority=26 -directory=/opt/novnc -command=/opt/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 8788 --web /opt/novnc -user=root -autostart=true -autorestart=true -stopsignal=QUIT -stdout_logfile=/var/log/novnc.log -redirect_stderr=true -stopasgroup=true - - #[program:myrun] #priority=27 #command=/usr/bin/myrun