Skip to content

Instantly share code, notes, and snippets.

@rikka0w0
Created July 7, 2020 19:33
Show Gist options
  • Save rikka0w0/895815ab1968a1be0f80f25e66fd61f5 to your computer and use it in GitHub Desktop.
Save rikka0w0/895815ab1968a1be0f80f25e66fd61f5 to your computer and use it in GitHub Desktop.
Start a vnc server on a Termux Debian chroot
# apt install -y Xvfb x11vnc
export DISPLAY=:0
Xvfb $DISPLAY -screen 0 1024x768x16 &
startxfce4 &
x11vnc -display $DISPLAY -nopw -forever -loop -noxdamage -repeat -rfbport 5900 -shared -noshm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment