From 6f4be824c97ad6b0ea9d75c2713e99b7713e6454 Mon Sep 17 00:00:00 2001 From: Randy Bush Date: Sat, 4 Jul 2020 14:42:19 -0700 Subject: [PATCH] from wiki --- pages/Xvnc.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pages/Xvnc.md diff --git a/pages/Xvnc.md b/pages/Xvnc.md new file mode 100644 index 0000000..fd20aea --- /dev/null +++ b/pages/Xvnc.md @@ -0,0 +1,14 @@ +# Installing Xvnc + +``` +apt-get install tightvncserver +vncserver -localhost -nolisten tcp +``` + +Then set up the usual SSH tunnel and you're there. + +Xvnc will run fine without the options, but one really should lock down access. + +"-localhost" tells Xvnc to listen for VNC clients only on the loopback interface + +"-nolisten tcp" tells Xvnc to listen for X11 clients only on the PF_UNIX socket in /tmp/. \ No newline at end of file