On Mon Oct 27, 2008 at 02:28:34PM -0700, Daniel Senderowicz wrote:

> >On Mon Oct 27, 2008 at 01:33:20PM -0700, Daniel Senderowicz wrote:
> >
> >> Hi,
> >> 
> >> I'm new to this list, so please forgive me if this was previously
> >> posted.
> >> 
> >> I'm running on Fedora 8, and cannot kill previous instances of
> >> vncserver. Every time I start "vncserver" it will open display
> >> 6, while no other displays are opened. Inside ~/.vnc that are
> >> no files with pid's or log's with numbers less than 6. Also
> >> by doing
> >> 
> >> "ps aux | grep vnc" there are no related processes. I imagine
> >> that there must be some file somewhere locking the creation
> >> of these displays. I would appreciate any suggestion.
> >> 
> >There are lock files created by X at /tmp/.X?-lock and /tmp/.X11-unix/X?
> >where '?' is the display number.  These can get left behind if X
> >crashes, so they need to be cleaned up manually.
> >
> None. There are no files in /tmp/.X0-lock nor /tmp/.X11-unix.
> In fact I moved ALL files in /tmp somewhere else but the problem
> still remains.
> 

Looking at the vncserver script, the only other checks are attempts to
bind to port 5900 + n & 6000 + n (where n is the display number), so you
should be able to use netstat to check whether anything's listening on
those ports (and, if you have it, socklist to tell you what's listening).

So,
    netstat -a -n | grep 590
    netstat -a -n | grep 600
and
    socklist | grep 590
    socklist | grep 600

(socklist is part of procinfo: http://www.kozmix.org/src/)

HTH,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <[EMAIL PROTECTED]> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to