unable to connect to socket: Connection refused(10061 ...
github.com › TigerVNC › tigervncFeb 10, 2015 · unable to connect to sokcet: Connection refused (10061) Edit: I just noticed that this was somehow because vnc was running on "display"? :2 and not :1, and this was because of some files in /tmp/ namely (.X11-unix and .X1-lock) after deleting them the vncserver spawned at :1 and it worked!; btw the warning when running vncserver -localhost no was