fix(deprecated/vnc): fix broken turbovncserver-security.conf (#261)

This commit is contained in:
Cian Johnston 2024-01-22 21:25:17 +00:00 committed by GitHub
parent c35ef22abf
commit 9698050752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -67,11 +67,7 @@ RUN ln -s /opt/TurboVNC/bin/* /opt/VirtualGL/bin/* /usr/local/bin/
# This can be ignored as the VNC server manages this lifecycle.
RUN vglserver_config -config +s +f +t
RUN echo 'no-remote-connections\n\
no-httpd\n\
no-x11-tcp-connections\n\
no-pam-sessions\n\
' > /etc/turbovncserver-security.conf
COPY turbovncserver-security.conf /etc/turbovncserver-security.conf
ENV VNC_SCRIPTS=$VNC_ROOT_DIR/scripts \
VNC_SETUP_SCRIPTS=$VNC_ROOT_DIR/setup \

View File

@ -0,0 +1,4 @@
no-remote-connections
no-httpd
no-x11-tcp-connections
no-pam-sessions