Re: Problems starting X server

2002-07-21 Thread Francis Barton

Thanks for your reply Thomas.

 Are you sure you've installed the XFree86-xserv package?  To verify it's
 installed, check for the existence of /usr/X11R6/bin/XWin.exe and a
symbolic
 link at /usr/X11R6/bin/X that points to it.

All present and correct.

 Also, look for the existence of the file /tmp/XWin.log.  If it exists,
post
 its contents here.

Here you go:

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
_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 0017
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 24 bits per
pixel
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1146 h 811 r 1146 l 0 b 811
t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowDDNL - lPitch: 4584
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp
24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing
from l
ist!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing
from
 list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing
from
 list!

Fatal server error:
could not open default font 'fixed'
(END)

I guess it's the fonts that are causing the problems. What do you make of
this? :

$ ls /usr/X11R6/lib/X11/
XErrorDB  doclbxproxy   rstart   xedit  xserver
XKeysymDB etclocale twm  xinit  xsm
XftConfig fonts  proxymngr  x11perfcomp  xkb
app-defaults  fs rgb.txtxdm  xman.help

$ ls /usr/X11R6/lib/X11/fonts
ls: /usr/X11R6/lib/X11/fonts: No such file or directory

$ ls -l /usr/X11R6/lib/X11/fo*
ls: /usr/X11R6/lib/X11/fonts: No such file or directory

Sorry if I'm missing something here, but something strange is going on with
that fonts directory! I have a single-user installation so presumably it's
not a case of not having read privileges for that folder

E:\Cygwin\usr\X11R6\lib\X11\fonts\ with all subdirectories *is* there (I can
see it in Windows Explorer, I mean)

Any suggestions?
Francis.

 From: Francis Barton [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Problems starting X server
 Date: Sat, 20 Jul 2002 07:31:06 +0100
 
 I have cygwin installed and working from the command line. I have
 downloaded
 and installed all the required X packages using the standard Cygwin
 setup.exe.
 I am running Windows 98.
 
 I have tried running startx xinit startxwin.sh and startxwin.bat
 without success. An X window flashes up then disappears.
 
 Here is my error message:
 ---
 
 /usr/X11R6/bin/xinit:  No such file or directory (errno 2):  no server
X
 in PATH
 
 Use the -- option, or make sure that /usr/X11R6/bin is in your path and
 that X is a program or a link to the right type of server
 for your display.  Possible server names include:
 
  XFree86 XFree86 displays
 
 giving up.
 /usr/X11R6/bin/xinit:  Connection refused (errno 111):  unable to connect
 to
 X server
 /usr/X11R6/bin/xinit:  No such process (errno 3):  Server error.
 
 -
 
 /usr/X11R6/bin is in my path, but I'm stuck on what to do next to get X
 running.




RE: Problems starting X server

2002-07-21 Thread Harold Hunt

Run the ``mount'' command from a Cygwin bash shell, you will see something
like:

Administrator@HUNTHARO ~
$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
(binmo
de)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
c:\PalmDev on /PalmDev type system (textmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)


Except, on your system, one of two things is happending:

1) The fonts are installed on drive X (where X is a wildcard) along with the
rest of Cygwin, while the mount for the fonts directory points to some other
drive.

2) The fonts are installed on drive X, while Cygwin is installed on drive Z,
and the mount for the fonts directory points to drive Z.


You are first going to have to figure out where the Cygwin/XFree86 fonts got
installed to.  Then you are going to need to move them to be in the correct
place with respect to the rest of Cygwin.  After that you might have to
unmount and remount the fonts directory mount to point to the correct
location.

I can't hold your hand on these, but perhaps someone else will be willing to
answer further questions about the details of doing this.

Harold