vncviewer

Ed Greshko ed.greshko at greshko.com
Thu Feb 27 11:34:22 UTC 2014


Also, one thing you need to know is this....

If you run vncserver a second time without killing a previous instance of vncserver it will run and increment the display.  This means you can have multiple vncservers running for a user each on a different tcp port.

[egreshko at f20f ~]$ vncserver

New 'f20f.greshko.com:1 (egreshko)' desktop is f20f.greshko.com:1

Starting applications specified in /home/egreshko/.vnc/xstartup
Log file is /home/egreshko/.vnc/f20f.greshko.com:1.log

[egreshko at f20f ~]$ vncserver

New 'f20f.greshko.com:2 (egreshko)' desktop is f20f.greshko.com:2

Starting applications specified in /home/egreshko/.vnc/xstartup
Log file is /home/egreshko/.vnc/f20f.greshko.com:2.log

[egreshko at f20f ~]$ vncserver

New 'f20f.greshko.com:3 (egreshko)' desktop is f20f.greshko.com:3

Starting applications specified in /home/egreshko/.vnc/xstartup
Log file is /home/egreshko/.vnc/f20f.greshko.com:3.log

Notice the :N at the end of each line?

And notice that 3 ports are now in use for each instance of Xvnc?

tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      17083/Xvnc         
tcp        0      0 0.0.0.0:5902            0.0.0.0:*               LISTEN      17491/Xvnc         
tcp        0      0 0.0.0.0:5903            0.0.0.0:*               LISTEN      18078/Xvnc


More information about the users mailing list