This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


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

RE: X apps won't start




> Suhaib,
> 
> > > I'm running cygwin 1.1.2 and have just downloaded, uncompressed and
> > > de-tarred all the tar balls (without B20 in the name) from 
> xc-4-binaries
> > > into /usr/X11R6. I got the impression these should work. However
> > > when ever I
> > > try and start any of the X apps I get a dialogue box appearing
> > saying 'The
> > > application failed to initalize properly (0xc0000022).
> >
> >
> > Which apps?
> 
> XWin, xterm etc. All the ones that startxwin.bat tries to start up.

Try editing startxwin.bat.  If it contain "start rxvt" remove it.  Under
some configurations rxvt does not start properly and causes other
xterm not to start if "start rxvt" is before "start xterm".

Next release, I will pack MXterm.

Also startxwin.bat is may not work from a cygwin bash shell.  It is
intended to be used from Cmd.  For bash you can write your own
startup script, or use the following sequence of commands

export DISPLAY=127.0.0.1
xwin : &
xterm -rightbar -sl 500 &

assuming /usr/X11R6/bin is in your PATH, otherwise
you need to first export PATH then use the above mentioned commands

export PATH=$PATH:/usr/X11R6/bin

--Sms

> 
> I should add that I am running on Windows NT 4.0 SP6.
> 
> Regards,
> Tony.
> --
> Tony Arnold, Head of Science and Engineering Support Unit,
> University of Manchester. Tel: +44 161 275 6093, Fax: +44 161 275 6071
> E-mail: tony.arnold@man.ac.uk, Home: http://www.man.ac.uk/Tony.Arnold

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