On Fri, Oct 11, 2002 at 06:36:48PM -0700, Erik Steffl wrote: > how come it is not possible to run vncserver reusing the display > number? the following should work: > > vncserver :1 > vncserver -kill :1 > vncserver :1 > > the first two work, the third one does not, her's the error mesage > from vncserver (which is a perl wrapper): >
Have you tried connecting to this vncserver when it's running? > billteam:~> vncserver :2 > ELVIS: cannot bind to 6000 + 2 [Address already in use] > A VNC server is already running as :2 > billteam:~> > > (I added the ELVIS message) Not quite sure what you mean by the above line. > > Xvnc complains about existing lock file (even though Xvnc that was > running on given display is gone). here's the message from Xvnc when I > manually remove /tmp/.X1-lock: > > billteam:~> Xvnc :1 > _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed > _XSERVTransMakeAllCOTSServerListeners: server already running > > Fatal server error: > Cannot establish any listening sockets - Make sure an X server isn't > already running > > lsof | greo 6001 doesn't show anything. I verified that vnc is not > running after vncserver -kill > > the probem seems to exist only for :1, I can kill vnc on :2 and then > start Xvnc :2 again (but not vncserver). > > I have seen this problem on two machines (so far). > > any ideas on what's going on? > Seems like you have X running. -Andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]