X server already running?

2007-11-26 Thread Kevin Porter


Hi,

I've rebooted after a crash (I'm on XP, something else took XP down, not 
cygwin/X!), and now when I run startx I get a popup error message 
telling me a fatal error has occurred and I should look at /tmp/XWin.log 
for further info.


/tmp/XWin.log says:

-- START /tmp/XWin.log --

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't 
already running

winDeinitMultiWindowWM - Noting shutdown in progress

-- END /tmp/XWin.log --

I suspect a there's a pid file still hanging around for X from the 
previous crashed session? I can't find one, and googling for a solution 
turned up nothing useful.


Can anyone help? I hope so, I'm lost without cygwin / X / vim ! (Talking 
of vim, if anyone can tell me how to paste into a cygwin/X/vim window 
I'd be extremely grateful. My usual cumbersome workaround is to quit my 
vim session and fire up gvim to do the paste!).


regards,

- Kev

--
Kevin Porter
Advanced Web Construction Ltd
http://www.9ballpool.co.uk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: X server already running?

2007-11-26 Thread Phil Betts
Kevin Porter wrote on Monday, November 26, 2007 9:08 AM::

 /tmp/XWin.log says:
 
 -- START /tmp/XWin.log --
 
 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListeners: server already running
 
 Fatal server error:
 Cannot establish any listening sockets - Make sure an X server isn't
 already running
 winDeinitMultiWindowWM - Noting shutdown in progress
 
 -- END /tmp/XWin.log --
 
 I suspect a there's a pid file still hanging around for X from the
 previous crashed session? I can't find one, and googling for a
 solution turned up nothing useful.
 

The file you're looking for is /tmp/.X11-unix/X0

If you'd started X with startxwin.bat or startxwin.sh this would have
been done as a matter of course.

Phil

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X server already running?

2007-11-26 Thread Kevin Porter

Thanks Phil,

All my googling for a solution pointed to the /tmp/.X11-unix directory 
but unfortunately it didn't exist, that's why I was thinking maybe an 
errant pid file somewhere.


I've been lucky this time actually, a second reboot has just fixed the 
problem! (Unlike the previous time I had this problem, when several 
reboots had no effect and I ended up uninstalling and reinstalling 
cygwin from scratch).


regards,

- Kev


Phil Betts wrote:

Kevin Porter wrote on Monday, November 26, 2007 9:08 AM::

  

/tmp/XWin.log says:

-- START /tmp/XWin.log --

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running
winDeinitMultiWindowWM - Noting shutdown in progress

-- END /tmp/XWin.log --

I suspect a there's a pid file still hanging around for X from the
previous crashed session? I can't find one, and googling for a
solution turned up nothing useful.




The file you're looking for is /tmp/.X11-unix/X0

If you'd started X with startxwin.bat or startxwin.sh this would have
been done as a matter of course.

Phil

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




  



--
Kevin Porter
Advanced Web Construction Ltd
http://www.9ballpool.co.uk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/