Re: Pathnames for X server app-defaults etc.

2004-03-26 Thread Ruth Ivimey-Cook
On Thu, 2004-03-25 at 16:39, Harold L Hunt II wrote:
 Please look at my message about your installation being out of date.
 
 Harold

 I had previously tried a setup.exe 'reinstall' and also uninstalling
xserv and installing it from the easynet.be mirror, neither worked.

 However, last night I tried deleting everything cygwin - not as easy as
it sounds as there are some 'undeletable' link files - and reinstalling
it all from uni-erlangen.de.

This worked. So I must conclude that mirror.ac.uk at least, and possibly
easynet.be, are poor mirror choices :-(

It would be rather nice if setup had a way of verifying that the
packages it loads are self-consistent.

Regards,

Ruth



RE: Pathnames for X server app-defaults etc.

2004-03-26 Thread Dr.D.J.Picton

 Subject: RE: Pathnames for X server app-defaults etc.
 From: Ruth Ivimey-Cook [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: 'Dr.D.J.Picton' [EMAIL PROTECTED]
 Mime-Version: 1.0
 Date: Thu, 25 Mar 2004 16:39:42 +
 Content-Transfer-Encoding: 7bit
 X-Spam-Score: 0.0 (/)
 
 On Thu, 2004-03-25 at 15:36, Alexander Gottwald wrote:
  On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:
  The xserver is called XWin.exe. Maybe X is a custom script that starts the 
  xserver with xdmcp parameters. The first lines of the log should contain
  the commandline parameters. Unfortunately you stripped them

It seems to me that we are chasing red herrings here.  /usr/X11R6/X is
just a symbolic link to /usr/X11R6/Xwin.exe - they are one and the same!

I suspect that Ruth's problem is not quite the same as mine.  My X
server didn't crash; it just failed to find the application default files
and fell back on a default for the keyboard map, so that when I typed '#' on
my UK keyboard I got '\'.  Anyway, the symbolic links fixed the problems.
If the same symbolic links don't fix Ruth's problem, she probably needs to
look elsewhere.  Maybe the first thing to do is to reinstall the X11 packages.









Re: Pathnames for X server app-defaults etc.

2004-03-26 Thread Harold L Hunt II
Ruth Ivimey-Cook wrote:

On Thu, 2004-03-25 at 16:39, Harold L Hunt II wrote:

Please look at my message about your installation being out of date.

Harold


 I had previously tried a setup.exe 'reinstall' and also uninstalling
xserv and installing it from the easynet.be mirror, neither worked.
 However, last night I tried deleting everything cygwin - not as easy as
it sounds as there are some 'undeletable' link files - and reinstalling
it all from uni-erlangen.de.
This worked. So I must conclude that mirror.ac.uk at least, and possibly
easynet.be, are poor mirror choices :-(
Both of those mirrors look to be up to date to me.

It would be rather nice if setup had a way of verifying that the
packages it loads are self-consistent.
No, I think your 'undeletable' link files is a clue... there had to be 
something messed up with your installation.  It probably won't happen 
again since you deleted and reinstalled.

Harold


Re: Pathnames for X server app-defaults etc.

2004-03-26 Thread tulitanssi
Hi,

I've had similar problems. I noticed that the problems existed due to lack of 
permissions. When I set permissions (on the Windows side) as Full Control to Everyone, 
the deletion of old installation and the re-installation of new version worked.

It seems that permissions of the C:\cygwin directory (the install directory) should be 
set as Full Control to Everyone. Otherwise it is easy to get problems on 
re-installation.

Cheers,
Tuli

..
 MTV3 Laajakaista - Hauskemman elämän puolesta.
 http://www.mtv3.fi/liittyma/hankinta/laajakaista/



Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Dr.D.J.Picton
From: Dr.D.J.Picton dave at aps5 dot ph dot bham dot ac dot uk 
To: cygwin-xfree at cygwin dot com 
Date: Thu, 25 Mar 2004 12:22:01 + (GMT) 
Subject: Pathnames for X server app-defaults etc. 
Reply-to: cygwin-xfree at cygwin dot com 
Reply-to: Dr.D.J.Picton dave at aps5 dot ph dot bham dot ac dot uk 

I noticed various oddities - in particular, application default files
were ignored and the keyboard map was incorrect (for example, '#' produced
a '\').  Then I realized that the server now expects to find all the config
files under /usr/X11R6/lib/X11.  Installing a few symlinks fixed all 
the problems:

cd /usr/X11R6/lib/X11; ln -s /etc/X11 .

Sorry - spot the deliberate mistake!  That should have been

cd /usr/X11R6/lib/X11; ln -s /etc/X11/* .



RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Ruth Ivimey-Cook
 
Would the following issue:

Earlier this week, I re-installed Cygwin from scratch.  The current version
of the X 
server is 4.3.0-60.

Be why my X server doesn't start up any more?

I get the following Xwin.log after running X :0 from the cygwin shell:

(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winScreenInit - dwWidth: 1600 dwHeight: 1200
winSetEngine - Using Shadow DirectDraw NonLocking
winAllocateFBShadowDDNL - Not changing video mode
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 6400
winAllocateFBShadowDDNL - Created shadow pitch: 6400
winAllocateFBShadowDDNL - Created shadow stride: 1600
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
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: 0809 (0809) 
(--) Using preset keyboard for English (United Kingdom) (809), type 4
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc105 Layout = gb Variant = (null) Options =
(null)
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
XDM: too many retransmissions
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winProcQueryTree - Clipboard is not enabled, returning.
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry: 1
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Restore returned:
OsVendorReset - Hello
winDeinitMultiWindowWM - Noting shutdown in progress




RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Alexander Gottwald
On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:

 XDM: too many retransmissions

There is a problem with the xdmcp server.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Ruth Ivimey-Cook
 
Ago wrote:
There is a problem with the xdmcp server.

As I said, I ran the command as X :0, which IIRC should not require an
xdmcp server. Even if it did, I have another machine which can log in to the
same server fine.

Regards,

Ruth




RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Alexander Gottwald
On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:

  
 Ago wrote:
 There is a problem with the xdmcp server.
 
 As I said, I ran the command as X :0, which IIRC should not require an
 xdmcp server. Even if it did, I have another machine which can log in to the
 same server fine.

The xserver is called XWin.exe. Maybe X is a custom script that starts the 
xserver with xdmcp parameters. The first lines of the log should contain
the commandline parameters. Unfortunately you stripped them

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Harold L Hunt II
Ruth Ivimey-Cook wrote:

 
Would the following issue:


Earlier this week, I re-installed Cygwin from scratch.  The current version
of the X 

server is 4.3.0-60.


Be why my X server doesn't start up any more?
Does not appear to be.  In addition to what Alexander said, if the 
XWin.log you sent was complete, then you are running an old version of 
the XFree86-xserv package since there is no version or command line 
information printed at the top of the file.

Please run 'cygcheck -c XFree86-xserv' and report your results.  If you 
think you have been updating regularly, then you may be pointing to a 
stale mirror and you need to reselect a different mirror from the mirror 
list.  Note: If you selected a mirror that eventually became stale, it 
would be dropped from the downloaded mirror list, but it would still be 
your default mirror and would be added to the mirror list as a user 
entry.  This isn't quite the way it should be (a mirror from the list 
being removed from the list should be distinct from a user entry) 
handled but that is the way it will continue to be until someone puts 
forth the effort on setup.exe.

Harold


Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Harold L Hunt II
Dr.D.J.Picton wrote:

Earlier this week, I re-installed Cygwin from scratch.  The current version 
of the X server is 4.3.0-60.

I noticed various oddities - in particular, application default files
were ignored and the keyboard map was incorrect (for example, '#' produced
a '\').  Then I realized that the server now expects to find all the config
files under /usr/X11R6/lib/X11.  Installing a few symlinks fixed all 
the problems:

cd /usr/X11R6/lib/X11; ln -s /etc/X11 .

Now everything works properly.   However, it seems to me that something is
wrong with the package installation scripts which should either install all
the files in /usr/X11R6/lib/X11, or create the relevant symlinks in this
directory.
What are you talking about?  The postinstall script for the lib package 
does exactly what you did... your installation must have barfed for some 
reason because those symlinks have been created by that script for 
months now, if not for longer than a year.  Nothing has changed with 
that script that I know of, unless I royally broke something.

Harold


RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Ruth Ivimey-Cook
On Thu, 2004-03-25 at 15:36, Alexander Gottwald wrote:
 On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:
 The xserver is called XWin.exe. Maybe X is a custom script that starts the 
 xserver with xdmcp parameters. The first lines of the log should contain
 the commandline parameters. Unfortunately you stripped them

Whatever X is, it is part of the cygwin install, as I have not created
any programs.
% which X
/usr/X11R6/bin/X
%

I didn't strip *anything* from the file I posted.

Indeed, running XWin :0 has the same behaviour and the same log file.


Ruth



Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Harold L Hunt II
Please look at my message about your installation being out of date.

Harold

Ruth Ivimey-Cook wrote:

On Thu, 2004-03-25 at 15:36, Alexander Gottwald wrote:

On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:
The xserver is called XWin.exe. Maybe X is a custom script that starts the 
xserver with xdmcp parameters. The first lines of the log should contain
the commandline parameters. Unfortunately you stripped them


Whatever X is, it is part of the cygwin install, as I have not created
any programs.
% which X
/usr/X11R6/bin/X
%
I didn't strip *anything* from the file I posted.

Indeed, running XWin :0 has the same behaviour and the same log file.

Ruth