fix(deprecated/vnc): fix broken turbovncserver-security.conf (#261)
This commit is contained in:
parent
c35ef22abf
commit
9698050752
|
@ -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 \
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
no-remote-connections
|
||||
no-httpd
|
||||
no-x11-tcp-connections
|
||||
no-pam-sessions
|
Loading…
Reference in New Issue