1827514 Members
2812 Online
109965 Solutions
New Discussion

change vnc port

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

change vnc port

Red Hat Enterprise Linux 4

How can I change the port that vncserver uses to listen?
2 REPLIES 2
Tonatiuh
Super Advisor

Re: change vnc port

Not to a 5900+N. I want to change the port to 900 or something like that.
Steven E. Protter
Exalted Contributor
Solution

Re: change vnc port

Shalom,

vncserver -rfbport=5904

You can pick any port you want, but can not used a priviledged port, ie a port under 1024 and you should check that the port you desire is not in use.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com