linuxvncvnc-server

How to connect to another VNC desktop?


In ubuntu I use the command 'vncserver -geometry 1920x1080' to start a vncserver. It then reports that 'my_vncserver:1' started.

When I do the same command again, it reports that 'my_vncserver:2' started.

In my VNC viewer, I would like to connect to this second server, how do I do this? The way I connect to the first vncserver is just by connecting to -my_ip-:5901. But how do I specify that I want to connect to the other vnc server?


Solution

  • VNC uses TCP port 5900+n for display number n.