tuts4y0u commited on
Commit
816c77d
1 Parent(s): 6f24f53

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -14,7 +14,8 @@ RUN apt install -y vim bash xfce4-terminal mate-desktop-environment-extras \
14
  RUN apt remove -y lxlock
15
  RUN apt remove -y light-locker xscreensaver-data xscreensaver
16
  RUN [ -r /etc/xdg/lxsession/LXDE/autostart ] && sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart || echo "/etc/xdg/lxsession/LXDE/autostart skipped"
17
- RUN chmod -R o+r / 2>/dev/null; exit 0;
 
18
  RUN git clone https://github.com/novnc/noVNC.git noVNC
19
  RUN mkdir -p /home/user/.vnc
20
  RUN chmod -R 777 /home/user/.vnc /tmp
 
14
  RUN apt remove -y lxlock
15
  RUN apt remove -y light-locker xscreensaver-data xscreensaver
16
  RUN [ -r /etc/xdg/lxsession/LXDE/autostart ] && sed -i '/@xscreensaver -no-splash/d' /etc/xdg/lxsession/LXDE/autostart || echo "/etc/xdg/lxsession/LXDE/autostart skipped"
17
+ RUN (gsettings set org.gnome.desktop.session idle-delay 0; gsettings set org.gnome.desktop.screensaver lock-enabled false;) || exit 0;
18
+ # RUN chmod -R o+r / 2>/dev/null; exit 0;
19
  RUN git clone https://github.com/novnc/noVNC.git noVNC
20
  RUN mkdir -p /home/user/.vnc
21
  RUN chmod -R 777 /home/user/.vnc /tmp