Xvnc opening port on 6001 as X server ?
Thu Nov 7 09:40:01 2002
> -----Original Message-----
> From: Coexec [mailto:email@example.com]
> Here is what I want to have as my setup. I was about
> to call it 100% complete, then I found a snag.
What's your problem? An open port on 6001?
> I am running X with -nolisten tcp so that all X
> connections are made through local sockets. I did
> this also for, startx, kdm, gdm and xdm. I can run
> the X server just fine from the console.
> Then I configured XDMCP to run on and only allow
> access from localhost.
> I figured that this way the only open ports on the
> server for X and VNC would be the standard 5900.
not by default, if you indicate Xvnc, it should be 5900+display (or whay you
specify with -rfb or which ever you get from inetd if you use -inetd)
> The only problem is that when I make the VNC
> connection, port 6001 X11:1 opens up. My guess is
> that Xvnc is starting a new X server but ignoring the
> "--nolisten tcp" switch used to start every other type
> of X server. Is there anyway that I can pass this
> switch through Xvnc ?
Xvnc does not start an X server, it IS an X server. Have you tried to give
it '-nolisten tcp' (note the - v.s. --) as you would give it to your other
Xserver? Try `Xvnc -help` to see a list of options your Xvnc accepts.
If you use vncserver to start Xvnc, vncserver is a perl script that passes
options to Xvnc. Either give vncserver the option or edit it to do so by