open port 6001

Sylvester W. Braswell swb01@health.state.ny.us
Mon Feb 3 19:29:00 2003


After issueing the command
'vncserver -depth 24 -geometry 1152x900  -localhost :1'
i have noticed port 6001 opens up in addition to 5901

netstat -a
      *.6001               *.*                0      0 24576      0 LISTEN
localhost.5901             *.*                0      0 24576      0 LISTEN

Is is possible to start Xvnc and force 6001 to open only on localhost?
something like:
netstat -a
localhost.6001               *.*                0      0 24576      0
LISTEN
localhost.5901             *.*                0      0 24576      0 LISTEN

I have tried adding the flag -nolisten tcp, however this does not open 6001
at all
which i believe is necessary for Xvnc to communicate.   Whatever the case,
in using this
flag, i could not get cde on solaris 5.8 to come up.

If it is possible to force everything on localhost
i can use ssh and tunnel back the necessary ports.