Created
August 25, 2022 07:42
-
-
Save markwylde/3f9dafa1db9d9c8f3833438e016bc578 to your computer and use it in GitHub Desktop.
Creater an X11 server in Docker with VNC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get upgrade -y | |
DEBIAN_FRONTEND=noninteractive apt-get install -y x11vnc xvfb fluxbox | |
Xvfb :2 -screen 0 1024x768x16 & | |
DISPLAY=:2 fluxbox & | |
DISPLAY=:2 x11vnc -display :2 -bg -forever -nopw -quiet -listen localhost -xkb & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment