TurboVNC: run with ratpoison instead of xfce4, 1.51GB -> 1.41GB
This commit is contained in:
parent
4cf2718077
commit
a0545beb3a
2 changed files with 3 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ RUN apt-get update \
|
||||||
# update lists and install
|
# update lists and install
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
virtualgl turbovnc xfce4 \
|
virtualgl turbovnc ratpoison \
|
||||||
novnc websockify \
|
novnc websockify \
|
||||||
tini \
|
tini \
|
||||||
nodejs \
|
nodejs \
|
||||||
|
|
@ -45,8 +45,7 @@ RUN apt-get update \
|
||||||
libcairo2 \
|
libcairo2 \
|
||||||
libasound2 \
|
libasound2 \
|
||||||
# needed for TurboVNC if not installing xfce4:
|
# needed for TurboVNC if not installing xfce4:
|
||||||
# libxdamage1 \
|
libxdamage1 \
|
||||||
# libxrandr2 \
|
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
# https://www.perplexity.ai/search/what-files-do-i-need-to-remove-imjwdphNSUWK98WzsmQswA
|
# https://www.perplexity.ai/search/what-files-do-i-need-to-remove-imjwdphNSUWK98WzsmQswA
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ else
|
||||||
pwt="with password"
|
pwt="with password"
|
||||||
fi
|
fi
|
||||||
# TurboVNC server replaces Xvfb+x11vnc
|
# TurboVNC server replaces Xvfb+x11vnc
|
||||||
/opt/TurboVNC/bin/vncserver $DISPLAY -geometry "${WIDTH}x${HEIGHT}" -depth ${DEPTH} -rfbport ${VNC_PORT} $pw -vgl -log /fgc/data/TurboVNC.log -xstartup /usr/bin/startxfce4 2>/dev/null # -noxstartup -novnc /usr/share/novnc/
|
/opt/TurboVNC/bin/vncserver $DISPLAY -geometry "${WIDTH}x${HEIGHT}" -depth ${DEPTH} -rfbport ${VNC_PORT} $pw -vgl -log /fgc/data/TurboVNC.log -xstartup /usr/bin/ratpoison 2>/dev/null # -noxstartup -novnc /usr/share/novnc/
|
||||||
echo "TurboVNC is running on port $VNC_PORT ($pwt) with resolution ${WIDTH}x${HEIGHT}"
|
echo "TurboVNC is running on port $VNC_PORT ($pwt) with resolution ${WIDTH}x${HEIGHT}"
|
||||||
# TODO keep websockify just for custom NOVNC_PORT? https://www.perplexity.ai/search/how-to-specify-the-novnc-port-rfv96C9tTZufnyFPRye5xA#0
|
# TODO keep websockify just for custom NOVNC_PORT? https://www.perplexity.ai/search/how-to-specify-the-novnc-port-rfv96C9tTZufnyFPRye5xA#0
|
||||||
websockify -D --web "/usr/share/novnc/" "$NOVNC_PORT" "localhost:$VNC_PORT" 2>/dev/null 1>&2 &
|
websockify -D --web "/usr/share/novnc/" "$NOVNC_PORT" "localhost:$VNC_PORT" 2>/dev/null 1>&2 &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue