Re: Cannot Start X

2007-08-08 Thread Marco Schuler
On 8/7/07, Larry Hall (Cygwin X) wrote:
 Marco Schuler wrote:
  On 8/7/07, Holger Krull wrote:
  Marco Schuler schrieb:
  On 8/7/07, Holger Krull x wrote:
  Why is everything mounted in textmode?
  Hm, I don't know. That's just what cygwin did on installation. Is
  there any problem about this?
  Well, usually it is not what cygwin does. I don't know if it does any 
  paticular harm, but there is no reason to have / mounted textmode.
 
  It seems as this is default from mount. man mount sais: By default,
  mounts are in text  mode


 The mode of the mounts created by setup.exe depend on what you specify
 for the Default text file type during installation.  Unix (i.e. binary)
 is the default.  Like all defaults, your best bet is to stick with them
 unless you have a need for something else and understand the implications.

 If you'd prefer to change back to binary mounts now, you can either re-run
 setup.exe and respecify your mount points as Unix or you can force a
 remount of all mount points as binary with the following:

mount -m /tmp/mounts
edit '/tmp/mounts' and change all '-t's to '-b's
save your edits
chmod +x /tmp/mounts
/tmp/mounts

 You will, of course, have to run through the file-system and change any
 scripts you have from text to binary (with 'd2u') for those to work for
 you again.  If you're not too far into your installation configuration,
 you may find it easier to start to remove what you have and reinstall.


I installed cygwin again using UNIX mounts. X works now :-)

Thank you both for your help!

--
Regards,
 Marco

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



Cannot Start X

2007-08-07 Thread Marco Schuler
Hello

I installed Cygwin on my new machine yesterday and now I cannot start
x as I am used to. A fatal error occurs. I tried to start using
startxserver.bat which uses:

XWin -multiwindow -clipboard -silent-dup-error

Here is the content of the 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 http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 3000 height: 1200 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
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
(--) 3 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'


I tried to fix the problem according to
http://xfree86.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof
but this did not help. Also reinstalling all the fonts did not help.

A mount shows the following:

$ mount
C:\cygwin\bin on /usr/bin type user (textmode)
C:\cygwin\lib on /usr/lib type user (textmode)
C:\cygwin on / type user (textmode)
c: on /cygdrive/c type user (textmode,noumount)
d: on /cygdrive/d type user (textmode,noumount)
h: on /cygdrive/h type user (textmode,noumount)
k: on /cygdrive/k type user (textmode,noumount)
o: on /cygdrive/o type user (textmode,noumount)
s: on /cygdrive/s type user (textmode,noumount)
t: on /cygdrive/t type user (textmode,noumount)
u: on /cygdrive/u type user (textmode,noumount)
x: on /cygdrive/x type user (textmode,noumount)

There is no mount point for /usr/X11R6/lib/X11/fonts

Any ideas on how to fix this problem?

Thanks a lot in advance!

--
Best regards,
 Marco

--
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: Cannot Start X

2007-08-07 Thread Marco Schuler
On 8/7/07, Holger Krull [EMAIL PROTECTED] wrote:
 Marco Schuler schrieb:
  XWin -multiwindow -clipboard -silent-dup-error
 
  Here is the content of the XWin.log:
 
  (WW) /tmp mounted int textmode
  _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be 
  created.

 Check if you can write in the dir /tmp/.X11-unix and delete everything (use 
 ls -la to check because the files start with a dot)


I deleted all the files in the directory you mentioned, but it did not
help. Still the same error and msg in the XWin.log.

Any other ideas?

 Why is everything mounted in textmode?

Hm, I don't know. That's just what cygwin did on installation. Is
there any problem about this?

--
Regards,
 Marco

--
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: Cannot Start X

2007-08-07 Thread Marco Schuler
On 8/7/07, Holger Krull wrote:
 Marco Schuler schrieb:
  On 8/7/07, Holger Krull x wrote:

 Please make your email Program not quote the full email adress.

Sorry about that. Gmail does not allow to configure this... Manual
deleting will do ;-)

  Why is everything mounted in textmode?
 
  Hm, I don't know. That's just what cygwin did on installation. Is
  there any problem about this?

 Well, usually it is not what cygwin does. I don't know if it does any 
 paticular harm, but there is no reason to have / mounted textmode.

It seems as this is default from mount. man mount sais: By default,
mounts are in text  mode

But I'd say the textmode is not the problem why I cannot start X?

--
Regards,
 Marco

--
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: Cannot Start X

2007-08-07 Thread Marco Schuler
On 8/7/07, Holger Krull wrote:
 Marco Schuler schrieb:

[...]
 Where did you get your cygwin from?

From the cygwin mirror in Switzerland: ftp://mirror.switch.ch

  But I'd say the textmode is not the problem why I cannot start X?

 No, but it is a hint that there is something wrong with your cygwin 
 installation.


 Attach the output of cygcheck -c

$ cygcheck -c | grep -v OK

Cygwin Package Information
Package  VersionStatus
apache   1.3.33-2   Incomplete
xorg-x11-bin 6.8.99.901-1   Incomplete

After seeing that xorg-x11-bin was incomplete, I reinstalled it again
using the setup program. Then:

$ cygcheck -c | grep -v OK
Cygwin Package Information
Package  VersionStatus
apache   1.3.33-2   Incomplete

But the problem remains the same.

The tail of XWin.log is:

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

Fatal server error:
could not open default font 'fixed'
winDeinitMultiWindowWM - Noting shutdown in progress


The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist in my installation:

$ ls -l /usr/X11R6/lib/X11/fonts/
total 0
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 100dpi/
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 75dpi/
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 TTF/
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 Type1/
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 cyrillic/
dr-xr-x---+ 3 chp01257 4294967295 0 Aug  7 14:33 encodings/
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 misc/
dr-xr-x---+ 2 chp01257 4294967295 0 Aug  7 14:34 util/

Any other suggestions?

--
Best regards,
 Marco

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