Re: X server already running?
On Mon, 26 Nov 2007, Kevin Porter wrote: (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!). I don't believe this has been answered. First off, you can paste using the middle mouse button. If you have a two-button mouse, you can use the -emulate3buttons flag to XWin (it might even be the default), and then press the left and right buttons simultaneously. Finally, if you want the Windows clipboard, then ':!cat /dev/clipboard' works fine from within vim. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! That which is hateful to you, do not do to your neighbor. That is the whole Torah; the rest is commentary. Go and study it. -- Rabbi Hillel -- 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/
X server already running?
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?
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?
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/