RE: Start X server crashes with dual monitors

2008-05-15 Thread Phil Betts
Top posting - reformatted.

Krzysztof Syryczynski wrote on Thursday, May 15, 2008 1:11 AM::

 Did you perform the steps in the FAQ for the fatal error message you
 received? Fatal server error: could not open default font 'fixed'
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

 Yes, it didn't work:
 umount /usr/X11R6/lib/X11/fonts
 umount: /usr/X11R6/lib/X11/fonts: No such file or directory
 But directory exist:
 ls /user/X11R6/lib/X11/fonts
 100dpi 75dpi TTF Type1 cyrilic encodings misc util
 
 (installed: Editors, System, Shels, X11; the rest default or
 installed) 
 

You have almost certainly opted to install cygwin with text mode
mounts (DOS style line endings).  If this is the case (you can 
verify this using cygcheck), you have two options:

1) reinstall cygwin with binary mounts (UNIX style line endings)

This is the preferred option, because installing using textmode
mounts can cause all sorts of other problems unless you're very 
careful.

[ It is possible to change the mount mode without reinstalling, 
but there is a high probability that you have some files with DOS
style line endings, each of which would need converting with d2u.
Finding and fixing them all is error prone and more trouble than 
it's worth.]

2) Ensure that the fonts directory is on a binary mount.  To do 
this, you need to delete the contents of /usr/X11R6/lib/X11/fonts:

$ rm -rf /usr/X11R6/lib/X11/fonts/*

Then create a binary mount for the fonts:

$ mount -f -b $(cygpath -m /usr/X11R6/lib/X11/fonts)
/usr/X11R6/lib/X11/fonts

You then need to reinstall the fonts packages via setup.exe


Phil
This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange.

--
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: Start X server crashes with dual monitors

2008-05-15 Thread Reini Urban

Krzysztof Syryczynski schrieb:

Yes, it didn't work:
umount /usr/X11R6/lib/X11/fonts
umount: /usr/X11R6/lib/X11/fonts: No such file or directory
But directory exist:
ls /user/X11R6/lib/X11/fonts


Oh god! Please do:
  mkdir -p /usr/X11R6/lib/X11/fonts
  mv /user/X11R6/lib/X11/fonts/* /usr/X11R6/lib/X11/fonts/


100dpi 75dpi TTF Type1 cyrilic encodings misc util
(installed: Editors, System, Shels, X11; the rest default or installed)



Did you perform the steps in the FAQ for the fatal error message you
received?
Fatal server error: could not open default font 'fixed'
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof


--
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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: Start X server crashes with dual monitors

2008-05-14 Thread jose isaias cabrera


I am working ok with a laptop and a monitor, but of course, that is not a 
**true** dual monitor.


- Original Message - 
From: Krzysztof Syryczynski [EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Wednesday, May 14, 2008 2:10 PM
Subject: Start X server crashes with dual monitors



Hello,

Windows XP Pro + SP3, cygwin 1.5.25-11,
GeForce8600 GT (NVIDIA chipset), 2 DVI monitors 1680*1050 as dual span.

My goal is to use cygwin as a good xterm for remote login.
For this I need to click Start X Server (needed for emacs and surf)
and then click xterm itself.
Unfortunately 5 attempts to install cygwin on this computer has failed -
- installation itself is ok, but I can't use it.

Clicking icon Start X Server (needed for emacs and surf) produces error:

A fatal error has occurred and Cygwin/X will now exit
XWin was started with the following command line:
/usr/X11/bin/XWin - multiwindow -clipboard -silent -dup-error

Below is /tmp/XWin.log

(WW) /tmp mounted int textmode
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be 
created.

(II) XF86Config is not supported
(II) See x.cygwin.com/docs/faq/cygwin-x-faq for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 3360 height: 1050 depth: 
16
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 
bpp 16

null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_initcyg
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to
lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
(--) 16 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'

What puzzles me is that after installation, reboot and clicking icon
Cygwin on desktop there was only line written.
If I remember correctly, there should be long list of
after-installation activities in this window.

After every bad installation I have deleted directories C:/cygwin,
C:/cygwinDownloads and icons.
I haven't tried to delete services, register etc.
What should I do? I would prefer not to reinstall Windows.

Cheers,
Krzysztof

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




--
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: Start X server crashes with dual monitors

2008-05-14 Thread Reini Urban

Krzysztof Syryczynski schrieb:

Windows XP Pro + SP3, cygwin 1.5.25-11,
GeForce8600 GT (NVIDIA chipset), 2 DVI monitors 1680*1050 as dual span.

My goal is to use cygwin as a good xterm for remote login.
For this I need to click Start X Server (needed for emacs and surf)
and then click xterm itself.
Unfortunately 5 attempts to install cygwin on this computer has failed -
- installation itself is ok, but I can't use it.

Clicking icon Start X Server (needed for emacs and surf) produces error:

A fatal error has occurred and Cygwin/X will now exit
XWin was started with the following command line:
/usr/X11/bin/XWin - multiwindow -clipboard -silent -dup-error

Below is /tmp/XWin.log

...

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!

Fatal server error:
could not open default font 'fixed'


That's a fatal error and it has nothing to do with dual monitors.
-multiwindow does not care about monitors or graphic drivers,
it just uses the windows gdi subsystem.

You'd need to install the x11 fonts.
xorg-x11-fnts for example.



What puzzles me is that after installation, reboot and clicking icon
Cygwin on desktop there was only line written.
If I remember correctly, there should be long list of
after-installation activities in this window.

After every bad installation I have deleted directories C:/cygwin,
C:/cygwinDownloads and icons.
I haven't tried to delete services, register etc.
What should I do? I would prefer not to reinstall Windows.


Read the error message.
--
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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: Start X server crashes with dual monitors

2008-05-14 Thread Krzysztof Syryczynski
I have reinstalled xorg-x11-fnts (and everything in X11).
There are many fonts in directories
C:\cygwin\usr\X11R6\lib\X11\fonts\75dpi and 100dpi.
But Start X server still crashes with the same fatal error.
Directory /usr/X11R6/lib/X11/fonts/CID/, which is mention in Xwin.log,
does not exist.

 You'd need to install the x11 fonts.
 xorg-x11-fnts for example.

--
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: Start X server crashes with dual monitors

2008-05-14 Thread Krzysztof Syryczynski
Yes, it didn't work:
umount /usr/X11R6/lib/X11/fonts
umount: /usr/X11R6/lib/X11/fonts: No such file or directory
But directory exist:
ls /user/X11R6/lib/X11/fonts
100dpi 75dpi TTF Type1 cyrilic encodings misc util

(installed: Editors, System, Shels, X11; the rest default or installed)


 Did you perform the steps in the FAQ for the fatal error message you
 received?
 Fatal server error: could not open default font 'fixed'
 http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

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