Change VNC Port

vnc
port-forward

#1

Is it possible to change the VNC port?

I need it to be different on each rig because I port forward external VNC sessions via my router.


#2

I’ll log in a rig later and check, but I suggest you don’t forward those ports. Never a good idea to have so many exposed open ports. If you can ssh from remote, simply ssh tuneling is way better


#3

You can change it in
/hive/etc/xinitrc
Either you change the display value (a :0 value means port 5900, :1 is for 5901) or you can use -rfbport port.

But, once again, nothing is promissed that next upgrade will not overwrite this. As I suggested earlier, you’d better to tunnel through ssh