connection refused (errno 111): unable to connect to X server

2011-08-09 Thread Joshua J. Yi

Hi All,

I've been having this problem for a while now and I can't seem to figure 
out how to solve it. I've checked the FAQ, mailing lists, and done web 
searches, but unless I've missed something (quite possible!), the 
solution to my problem isn't out there.


When I run startxwin in the bash window, I get the following error:

---

giving up
startxwin:  Connection refused (errno 111):  unable to connect to X server
startxwin:  No such process (errno 3):  Server error

---

The error log (XWin.0.log) is attached.

For some reason, X doesn't start or isn't working. (Same result when I 
start from X from the start button.)


This has been an on-going problem for months now (been working on it 
intermittantly), and after multiple updates, so I don't think it's a 
package-version issue. Currently, I've installed every package in 
cygwin, but that doesn't help.


I haven't had problems installing cygwin in the past on different 
computers, so I wonder if it's a library problem (something) with this 
computer (a thinkpad).


Anyways, I'll apologize in advance if the solution is out there already, 
but after digging through the FAQ and mailing lists and trying various 
things, I'm at wit's end.


Also, thanks in advance.

-Josh

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.10.3.0
OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32)
Package: version 1.10.3-1 built 2011-07-19

XWin was started with the following command line:

/usr/bin/X :0 -clipboard -multiwindow -auth 
 /home/Administrator/.serverauth.3000 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1680 h 1050
winInitializeDefaultScreens - native DPI x 96 y 96
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/nbb:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[432576.406] (II) xorg.conf is not supported
[432576.406] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information
[432576.406] LoadPreferences: /home/Administrator/.XWinrc not found
[432576.406] LoadPreferences: Loading /etc/X11/system.XWinrc
[432576.406] LoadPreferences: Done parsing the configuration file...
[432576.406] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[432576.406] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[432576.406] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[432576.406] winDetectSupportedEngines - Returning, supported engines 001f
[432576.406] winTaskbarInit - Could not get SHGetPropertyStoreForWindow address
[432576.406] winSetEngine - Multi Window or Rootless = ShadowGDI
[432576.406] winScreenInit - Using Windows display depth of 32 bits per pixel
[432576.421] winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 
1050 depth: 32
[432576.421] winFinishScreenInitFB - Masks: 00ff ff00 00ff
[432576.421] winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 
d 24 bpp 32
[432576.421] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[432576.421] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[432576.421] Screen 0 added at virtual desktop coordinate (0,0).
[432576.421] MIT-SHM extension disabled due to lack of kernel support
[432576.437] XFree86-Bigfont extension local-client optimization disabled due 
to lack of shared memory support in the kernel
[432576.625] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[432576.625] (II) GLX: Initialized DRISWRAST GL provider for screen 0

--
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: segfault Xserver...current version (1.10, not 1.8)

2011-08-09 Thread Linda Walsh

Jon TURNEY wrote:

Following the instructions at [2] to obtain an Xserver backtrace would 
also be of great help.


[2] http://x.cygwin.com/devel/backtrace.html


Reading symbols from /usr/bin/Xwin...(no debugging symbols found)...done.
Attaching to program `/usr/bin/Xwin', process 5280
[New Thread 5280.0x15b4]
[New Thread 5280.0xcf4]
[New Thread 5280.0x74c]
[New Thread 5280.0x4a4]
[New Thread 5280.0xe9c]
[New Thread 5280.0xf64]
[New Thread 5280.0xccc]
[New Thread 5280.0x11a4]
[New Thread 5280.0x1594]
[New Thread 5280.0x818]
[New Thread 5280.0x15bc]
[New Thread 5280.0x15e0]
[New Thread 5280.0x1514]
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 5280.0x15b4]
0x00554823 in ?? ()
(gdb) bt
#0  0x00554823 in ?? ()
#1  0x00544023 in ?? ()
#2  0x0058401e in ?? ()
#3  0x0052ad57 in ?? ()
#4  0x0052028a in ?? ()
#5  0x61007038 in _cygwin_exit_return () from /usr/bin/cygwin1.dll
#6  0x0007 in ?? ()
#7  0x00fb1e08 in ?? ()
#8  0x61004c96 in _cygtls::call2(unsigned long (*)(void*, void*), void*, 
void*)

() from /usr/bin/cygwin1.dll
#9  0x in ?? ()
(gdb)

--
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: segfault Xserver...current version (1.10, not 1.8)

2011-08-09 Thread Christopher Faylor
On Tue, Aug 09, 2011 at 05:55:31PM -0700, Linda Walsh wrote:
Jon TURNEY wrote:

 Following the instructions at [2] to obtain an Xserver backtrace would 
 also be of great help.
 
 [2] http://x.cygwin.com/devel/backtrace.html
 
Reading symbols from /usr/bin/Xwin...(no debugging symbols found)...done.

From the above web page:

  To generate a useful backtrace, you will need an X server built with
  debugging symbols.  X server snapshots are built with debugging symbols
  for this reason.  Download the latest X Server snapshot from
  ftp://cygwin.com/pub/cygwinx, uncompress it using bunzip2, and move it
  to /usr/bin/XWin.exe

cgf

--
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/