This commit is contained in:
Your Name 2024-11-29 10:01:50 +05:00
parent d52919b4c4
commit 3141f78530
2 changed files with 4 additions and 17 deletions

View File

@ -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

View File

@ -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