novnc / websockify

Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confusing running TurboVNC and Websockify

lifetooeasy opened this issue · comments

Why these two commands gives different outputs?

  1. websockify -v --heartbeat 30 5906 -- /bin/sh -c cd /home/ && /opt/TurboVNC/bin/vncserver -verbose -geometry 1680x1050 :6 -SecurityTypes None
Desktop 'TurboVNC: xxxx started on display :3
  1. vncserver -SecurityTypes None :6
Desktop 'TurboVNC: xxxx:6 started on display :6

Scenario 2 is the desired behavior, how to do that using websockify?

P.S in the directory /tmp/.X11-unix we have X0, X1, X2, X4