This is the mail archive of the cygwin-xfree 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]
Other format: [Raw text]

Re: Problem with starting X server


On Mon, 17 Jul 2006, Andy Rushton wrote:

> Stephen A.Goulet wrote:
> >     This is what finally worked for me.  Start cygwin and do a df, if
> > this show the mount points, /usr, /usr/bin/, and /usr/lib.  Then
> > umount /usr and close the cygwin window.  Now do the reinstall of the
> > fonts as documented in the FAQ.
>
> I agree, but wanted to add to this feedback.
>
> I have found that you need to mount the fonts in binary mode. You see, I
> go against the recommended practice and install Cygwin in Text mode -
> i.e. text files have DOS line-endings. I find that this allows better
> inter-operation between Cygwin apps and Windows apps. However, this
> seems to break X11's fonts (I *suspect* that somewhere in X the fonts
> are being opened in text mode when they are binary files but I haven't
> been able to confirm this). If this is your problem, the solution is to
> separately mount the font directory in binary mode - for example, my
> mount table contains the following:
>
> e:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
> E:\cygwin\bin on /usr/bin type system (textmode)
> E:\cygwin\lib on /usr/lib type system (textmode)
> E:\cygwin on / type system (textmode)
> c: on /cygdrive/c type system (textmode,noumount)
> d: on /cygdrive/d type system (textmode,noumount)
> e: on /cygdrive/e type system (textmode,noumount)

This mount used to be routinely added by the X postinstall script.  IIRC,
this has been fixed in X so that such a mount is no longer required.
Searching the list archives may unearth the relevant thread.  However, the
bug may have crept back, or may not have been propagated to the latest
Cygwin/X release.

> Note the first entry. Once I have this extra mount point for the X11
> fonts, I reinstalled all the fonts using the Cygwin installer - which
> has a 'reinstall' option for each package. The reinstall means that the
> font indexes get regenerated.

The regeneration of indexes is done by the postinstall script, which you
could have re-run without reinstalling the font packages.  Simply run
each of /etc/postinstall/xorg-x11-f*.sh.done.

> FYI the command for generating extra mount points is called 'mount'.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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


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