How to specify port number when start up VNC server?

How to specify port number when start up VNC server?

Command line like below:
#vncserver -rfbport <port number>

-rfbport port
Specifies the TCP port on which Xvnc listens for connections from viewers (the protocol used in

VNC is called RFB - "remote framebuffer"). The default is 5900 plus the display number.

How to specify port number when shutdown VNC server?

#vncserver -kill :2

-EOF-

posted @ 2010-07-19 14:29  dbblog  阅读(299)  评论(0编辑  收藏  举报