This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: X Server won't start on Wondows ME


You need to add a :0 after XWIN, if you want to use only XWin command.

Which version of XFree86?  Which version of Cygwin?

Rename your .xinitrc to xinitrc-old.  Then create a file startxwin.sh in 
/usr/X11R6/bin and put the following in it

#! /bin/sh
export DISPLAY=127.0.0.1:0.0 
eval `ssh-agent`
XWin -screen 0 1024x768x16  -engine 1&
vtwm &  
xsetroot -solid aquamarine4  
xclock -geometry 80x80+1134+0 &  
xterm -n xterm-1 -j -ls -sb -sl 500 -rightbar -geometry +361+0 -e bash &
exit


cd to /usr/X11R6/bin from a Cygwin bash shell then
chmod 755 startxwin.sh

then

startxwin.sh 

to start X-server.  Let us know if it works.

Suhaib

Hi,

I have been watching the ongoing Win95a thread, and have exactly the same
problem on ME. I have tried a few of the things mentioned there and here are
the results:

The versions of cygwin and xfree were the latest releases I downloaded on
the
16/6/01.

I have exported DISPLAY=192.168.43.3:0.0 (the machines ip address)
----------------------------------------------------------------------------
------
1) Calling XWin from the command line gives this:

roger@LISTER ~
$ XWin
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Fatal server error:
no screens found

roger@LISTER ~

No Window appears....

----------------------------------------------------------------------------
-----
2) startx gives the following output:
roger@LISTER ~
$ startx

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines () - Windows 95/98/Me
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 00000007
winSetEngine () - Using Shadow DirectDraw NonLocking
winCreateBoundingWindowWindowed () - WindowClient width 640 height 480
winInitVisualsShadowDDNL () - Masks 0000f800 000007e0 0000001f RGB 6 d 16
winInitVisualsShadowDDNL () - Returning
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy

waiting for X server to begin accepting connections .
..
..
.xinit:  The descriptor is a file, not a socket (errno 108):  unexpected
signal
2

waiting for X server to shut down


roger@LISTER ~

The message "xinit:  The descriptor is a file, not a socket (errno ......"
came after I hit ctrl-C.
Note a window does appear, but it is dark. The X cursor is also there and I
can move it with the mouse.

----------------------------------------------------------------------------
------
3) I have tried engine 1 and engine 4, both react the same.
----------------------------------------------------------------------------
------

4) My .xinitrc looks like this:

#!/bin/bash
export DISPLAY=192.168.43.3:0.0
export PATH=$PATH:/usr/X11R6/bin
xterm -sb -sl 1024 -font 9x15 -e /bin/bash &
twm
----------------------------------------------------------------------------
------

I am totally out of ideas, can anyone help??

Regards

    Roger


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]