Re: '"GLX" missing on display' Problems

2004-04-28 Thread Harold L Hunt II
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding

Brian Ford wrote:
Wrong list:

http://cygwin.com/lists.html

This is a Cygwin/X specific question.  Redirecting...

On Wed, 28 Apr 2004, eti1 wrote:


I use cygwin from home (on a Windows box) to ssh into my machine at work
(Linux box).  I get the following error when I try to run programs that use
opengl libs for displaying:
[EMAIL PROTECTED] cubit90]$ glxgears
Xlib:  extension "GLX" missing on display "localhost:10.0".
Error: couldn't get an RGB, Double-buffered visual
When I ssh, I use the -X option so that graphics get forwarded to my local
machine.  I am aware that this error is usually manifested because opengl
libs are not installed on the local machine, but I know I have them on my
local machine because if I go a 'glxgears' before ssh-ing the gears
graphics window displays just fine.  It appears that after ssh-ing into my
work machine, display information is lost.
What is very troubling with this problem is that sometimes the problem
altogether disappears.  For example, if I ssh into my work machine and let
the terminal sit for a while, it sometimes works, sometimes not.  Other
times after ssh-ing in, if I edit a file with "vim" I can run glxgears
after, but not always.  Nothing is reproducable to get it to work.  But
once it starts displaying, it usually doesn't stop.  I tried a complete
uninstall/reinstall of cygwin but it didn't do anything.
Help!
--Corey


Please also see:

Problem reports:   http://cygwin.com/problems.html


We need more information to help you.



Re: '"GLX" missing on display' Problems

2004-04-28 Thread Brian Ford
Wrong list:

http://cygwin.com/lists.html

This is a Cygwin/X specific question.  Redirecting...

On Wed, 28 Apr 2004, eti1 wrote:

> I use cygwin from home (on a Windows box) to ssh into my machine at work
> (Linux box).  I get the following error when I try to run programs that use
> opengl libs for displaying:
>
> [EMAIL PROTECTED] cubit90]$ glxgears
> Xlib:  extension "GLX" missing on display "localhost:10.0".
> Error: couldn't get an RGB, Double-buffered visual
>
> When I ssh, I use the -X option so that graphics get forwarded to my local
> machine.  I am aware that this error is usually manifested because opengl
> libs are not installed on the local machine, but I know I have them on my
> local machine because if I go a 'glxgears' before ssh-ing the gears
> graphics window displays just fine.  It appears that after ssh-ing into my
> work machine, display information is lost.
>
> What is very troubling with this problem is that sometimes the problem
> altogether disappears.  For example, if I ssh into my work machine and let
> the terminal sit for a while, it sometimes works, sometimes not.  Other
> times after ssh-ing in, if I edit a file with "vim" I can run glxgears
> after, but not always.  Nothing is reproducable to get it to work.  But
> once it starts displaying, it usually doesn't stop.  I tried a complete
> uninstall/reinstall of cygwin but it didn't do anything.
>
> Help!
> --Corey

Please also see:
> Problem reports:   http://cygwin.com/problems.html

We need more information to help you.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


Remote Desktop, MultiWindow & Cursors

2004-04-28 Thread Wilks, Dan
Looks like the newer versions of XWin are having cursor problems when
coming out of remote desktop (XP Pro).  After a remote desktop session
the cursor completely disappears in the X window client area.

Here's what I'm seeing:

- Run a cygwin bash shell
- XWin -multiwindow -clipboard
- Run xterm on a Linux box w/ PuTTY tunneling X.
- Move the cursor around the xterm.  Nice I-Beam.
- Go to another machine, remote desktop in.
- xterm is still active app but cursor is now outside the xterm 
  window over the windows desktop but with X's X cursor.
- Move cursor around.  It remains the X cursor wherever you
  move it.  Verify.
- Activate a Windows app (IE) and then back to xterm.  Cursor
  returns to I-Beam and proper behavior.
- Shut down remote desktop.  Return to tty.
- Now when the mouse moves over any X window it completely
  disappears.

Also, at this point, copying anything will completely crash XWin.  I'm in
the
process of looking into it.  My debug build of current sources doesn't
exhibit this behavior.  I'll try a non-debug build next.  Hey, is there a 
safe, automated, way to do a full, clean build of just Xserver?

Dan



XWin 6.7.0.0-7 with -clipboard hangs with cygwin1-20040422 in Win98SE

2004-04-28 Thread Carl Holmberg
Hi,

I am seeing the same XWin hang problem with the latest code, 
with -clipboard, as I've reported before.  In this case I also 
used the default startxwin.sh with a --logverbose 255 to try to 
pick up whatever logging I could.  This is a -multiwindow 
config, but identical hangs occurred before when running without 
this option, using twm instead.  Am running bash.   

My cygwin installation is up-to-date as of 4/28/04 12:28 EDT.  A 
cygcheck -csvr is available - I'll post it upon request.  In 
this case I also used the latest cygwin1.dll snapshot, but the 
hang occurs with the latest release cygwin1.dll also.  

I attached to XWin with strace using after the XTerm came up, 
stabilized and the XWin.log stopped producing initial output.  I 
then placed the cursor in the window, typed the "date" command, 
then copied (left click/hold/drag) and the pasted the command 
successfully.  I then left clicked to the left of the date 
command, right-clicked to the right, and XWin froze up.  As is 
typical, in my experience, only a few mouse clicks - 
particularly anything using the right-click, causes XWin to hang 
up completely with -clipboard.

The last 132 lines of the strace are reproduced below.  After 
that, I've included the XWin.log.  I've marked the place where 
the system froze (just before the kill -9 was issued).  Note the 
readv errno 11 returned 14 lines before the freeze point.

I hope this helps.

###Last 132 lines of strace.  Whole trace from time XTerm came 
###up is available.

  399 93751361 [select_socket] XWin 1034021 thread_socket: stuff_start 0x101A2FCC
   86 93751447 [main] XWin 1034021 select_stuff::wait: m 2, ms 117051
 1270 93752717 [select_socket] XWin 1034021 thread_socket: Win32 select returned 1
  540 93753257 [select_socket] XWin 1034021 thread_socket: s 0x1019D720, testing fd 13 
()
  420 93753677 [select_socket] XWin 1034021 thread_socket: s 0x1016D048, testing fd 11 
()
  405 93754082 [select_socket] XWin 1034021 thread_socket: s 0x101741A8, testing fd 10 
()
  411 93754493 [select_socket] XWin 1034021 thread_socket: s 0x10173CD0, testing fd 9 
()
  471 93754964 [select_socket] XWin 1034021 thread_socket: read_ready
  400 93755364 [select_socket] XWin 1034021 thread_socket: s 0x1019DD90, testing fd 5 
()
  416 93755780 [select_socket] XWin 1034021 thread_socket: s 0x1016D290, testing fd 4 
()
  468 93756248 [main] XWin 1034021 select_stuff::wait: woke up.  wait_ret 1.  verifying
  419 93756667 [main] XWin 1034021 select_stuff::wait: gotone 1
  423 93757090 [main] XWin 1034021 select_stuff::wait: returning 0
  401 93757491 [main] XWin 1034021 select_stuff::cleanup: calling cleanup routines
  403 93757894 [main] XWin 1034021 socket_cleanup: si 0x1019FFA8 si->thread 0x610F7860
  400 93758294 [main] XWin 1034021 socket_cleanup: connection to si->exitsock 0x2E4
 4827 93763121 [main] XWin 1034021 cygthread::detach: WFSO returns 0, id 0xFFCE4D87
 1650 93764771 [main] XWin 1034021 free: (0x1019FFA8), called by 0x6108AAA4
  887 93765658 [main] XWin 1034021 socket_cleanup: returning
  783 93766441 [main] XWin 1034021 socket_cleanup: si 0x0 si->thread 0x0
  843 93767284 [main] XWin 1034021 socket_cleanup: returning
  475 93767759 [main] XWin 1034021 socket_cleanup: si 0x0 si->thread 0x0
  400 93768159 [main] XWin 1034021 socket_cleanup: returning
  405 93768564 [main] XWin 1034021 socket_cleanup: si 0x0 si->thread 0x0
  398 93768962 [main] XWin 1034021 socket_cleanup: returning
  394 93769356 [main] XWin 1034021 socket_cleanup: si 0x0 si->thread 0x0
  475 93769831 [main] XWin 1034021 socket_cleanup: returning
  395 93770226 [main] XWin 1034021 socket_cleanup: si 0x0 si->thread 0x0
  407 93770633 [main] XWin 1034021 socket_cleanup: returning
  407 93771040 [main] XWin 1034021 peek_socket: considering handle 0x28C
  401 93771441 [main] XWin 1034021 peek_socket: adding read fd_set , fd 13
  859 93772300 [main] XWin 1034021 peek_socket: WINSOCK_SELECT returned 0
  432 93772732 [main] XWin 1034021 peek_socket: considering handle 0x284
  398 93773130 [main] XWin 1034021 peek_socket: adding read fd_set , fd 11
  520 93773650 [main] XWin 1034021 peek_socket: WINSOCK_SELECT returned 0
  416 93774066 [main] XWin 1034021 peek_socket: considering handle 0x20C
  397 93774463 [main] XWin 1034021 peek_socket: adding read fd_set , fd 10
  565 93775028 [main] XWin 1034021 peek_socket: WINSOCK_SELECT returned 0
  414 93775442 [main] XWin 1034021 peek_socket: considering handle 0x178
  410 93775852 [main] XWin 1034021 set_bits: me 0x10173CD0, testing fd 9 ()
  398 93776250 [main] XWin 1034021 set_bits: ready 1
  434 93776684 [main] XWin 1034021 peek_windows: window 6(0x0) not ready
  404 93777088 [main] XWin 1034021 peek_socket: considering handle 0x12C
  404 93777492 [main] XWin 1034021 peek_socket: adding read fd_set , fd 5
  488 93777980 [main] XWin 1034021 peek_socket: WINSOCK_SELECT returned 0
  413 93778393 [main] XWin 1034021 peek_socket: considering handle 0x128
  410 93778803 [main] XWin 1034021

Re: Instaling IRAF

2004-04-28 Thread Igor Pechtchanski
On Wed, 28 Apr 2004, Marcus Vinicius M.Fernandes wrote:

> Hello
>
> I've just intalled the Cygwin im my laptop and it's working well. But I'm an
> astrophysic and I would like to install a software named IRAF
> (http://iraf.noao.edu/iraf-homepage.html). This is a RPM. But the instalation
> does not proceed, showing messages about missing packages. The setup-
> 2.4...rpm is one of them.
>
> Could you help me to install the IRAF software?
>
> Thank you.
> Marcus
>
> Ps: The IRAF is easily installed under any Linux operating system.

.  Cygwin doesn't run Linux binaries --
to be able to run something, you'll need to *port* it (or find a port).
Igor
P.S. This question has nothing to do with X, so belongs on the main Cygwin
list instead.  Please send follow-ups there.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


Instaling IRAF

2004-04-28 Thread Marcus Vinicius M.Fernandes
Hello

I've just intalled the Cygwin im my laptop and it's working well. But I'm an 
astrophysic and I would like to install a software named IRAF 
(http://iraf.noao.edu/iraf-homepage.html). This is a RPM. But the instalation 
does not proceed, showing messages about missing packages. The setup-
2.4...rpm is one of them.

Could you help me to install the IRAF software?

Thank you.
Marcus

Ps: The IRAF is easily installed under any Linux operating system.


Re: default configuration not working

2004-04-28 Thread Sara Gamble
Hi Alexander,

Thanks! I stumbled upon that last night after figuring out I was confused
about what -multiwindow window ment (I didn't realize it precluded having
a large background window).  Now I can successfully open an x-term in non
multiwindow mode and fix my display problem with 

startx -- :1 
and then from that xterm run either twm & or openbox & and get the
environment I want.

Thank you so much for helping me out with what was probably a really
simple question!
Sara

On Wed, 28 Apr 2004, Alexander Gottwald wrote:

> On Tue, 27 Apr 2004, Sara Gamble wrote:
> 
> > Hi Alexander,
> > 
> > Thanks for putting my mind somewhat at ease!  I tried your suggestion of
> > using the startx command, but I am still having display problems.  When I
> > run startx, it still gives me just the single window, even thought I want
> > the multiwindow mode that I thought came as a default setting.
> > 
> > I am getting error messages like:
> > 
> > another window manager is already running on screen 0?
> > unable to find any unmanaged screens
> 
> This is normal too. You can not run XWin in multiwindow mode and have an 
> external window manager. You can either use -multiwindow or windowmaker.
> 
> bye
>   ago
> -- 
>  [EMAIL PROTECTED] 
>  http://www.gotti.org   ICQ: 126018723
> 






Fluxbox 0.9.9 no build

2004-04-28 Thread quarto
Has anyone been able to get the current developement version of Fluxbox
(0.9.9)
to build under Cygwin/X? 
Any help appreciated.
Paul

I am clueless. Error message from make below.
++
ScreenResources.o(.text+0x0): In function
`_ZN4FbTk8ResourceIN7BScreen15PlacementPolicyEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:8: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceIN7BScreen15PlacementPolicyEE15setDefaul
tValueEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined
here
ScreenResources.o(.text+0x240): In function
`_ZN4FbTk8ResourceIN7BScreen12RowDirectionEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:44: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceIN7BScreen12RowDirectionEE15setDefaultVa
lueEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined
here
ScreenResources.o(.text+0x3c0): In function
`_ZN4FbTk8ResourceIN7BScreen15ColumnDirectionEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:73: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceIN7BScreen15ColumnDirectionEE15setDefaul
tValueEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined
here
ScreenResources.o(.text+0x540): In function
`_ZN4FbTk8ResourceINS_9MenuTheme8MenuModeEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:101: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceINS_9MenuTheme8MenuModeEE15setDefaultVal
ueEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined here
ScreenResources.o(.text+0x8d0): In function
`_ZN4FbTk8ResourceINS_8GContext9LineStyleEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:160: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceINS_8GContext9LineStyleEE15setDefaultVal
ueEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined here
ScreenResources.o(.text+0xa90): In function
`_ZN4FbTk8ResourceINS_8GContext9JoinStyleEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:194: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceINS_8GContext9JoinStyleEE15setDefaultVal
ueEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined here
ScreenResources.o(.text+0xc40): In function
`_ZN4FbTk8ResourceINS_8GContext8CapStyleEE15setDefaultValueEv':
/c/temp/1/fluxbox-0.9.9/src/ScreenResources.cc:228: multiple definition
of `FbTk::Resource::setDefaultValue()'
Screen.o(.text$_ZN4FbTk8ResourceINS_8GContext8CapStyleEE15setDefaultValu
eEv+0x0):/usr/include/c++/3.3.1/bits/basic_string.h: first defined here
collect2: ld returned 1 exit status
make[4]: *** [fluxbox.exe] Error 1
make[4]: Leaving directory `/c/temp/1/fluxbox-0.9.9/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/temp/1/fluxbox-0.9.9/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/temp/1/fluxbox-0.9.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/temp/1/fluxbox-0.9.9'
make: *** [all] Error 2



XWin never reads the authority file

2004-04-28 Thread Aravind
Problem:
X authentication using MIT-MAGIC-COOKIE-1 fails but
xhost based
authentication is working.

Setup:
XWin on Windows XP Professional, X client from Redhat
8.0

Version:
CYGWIN_NT-5.1 MYMACHINE 1.5.9(0.112/4/2) 2004-03-18
23:05 i686
unknown unknown Cygwin

Commandline:
XWin -audit 4 -fullscreen -clipboard -auth
C:\myhome\authfile

ServerOutput:

AUDIT: Wed Apr 28 11:05:53 2004: 3132 XWin: client 1
rejected from IP xxx.xxx.xxx.xxx port 39784
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
winProcEstablishConnection - ProcEstablishConnection
failed, bailing.
AUDIT: Wed Apr 28 11:05:53 2004: 3132 XWin: client 1
disconnected

ClientOutput:
Xlib: connection to "mymachine:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: mymachine:0

Using FileMonitor from sysinternals I found that XWin
NEVER reads the
authfile that I specify on the command line. How does
XWin gets the cookies
if it never reads the file? I am not sure whether this
is the error I may
be wrong. I have included only the relevant output.

11:05:53 AM XWin.exe:3132   QUERY INFORMATION
C:\myhome\authfile  SUCCESS Attributes: A   
11:05:53 AM XWin.exe:3132   OPENC:\myhome\authfile
SUCCESS Options: Open  Access: All  
11:05:53 AM XWin.exe:3132   QUERY INFORMATION
C:\myhome\authfile  SUCCESS FileFsVolumeInformation 
11:05:53 AM XWin.exe:3132   QUERY INFORMATION
C:\myhome\authfile  BUFFER OVERFLOW FileAllInformation  
11:05:53 AM XWin.exe:3132   OPENC:\myhome\authfile
SUCCESS Options: Open  Access: All  
11:05:53 AM XWin.exe:3132   QUERY INFORMATION
C:\myhome\authfile  SUCCESS FileCompressionInformation  
11:05:53 AM XWin.exe:3132   CLOSE   C:\myhome\authfile
SUCCESS 
11:05:53 AM XWin.exe:3132   OPENC:\myhome\authfile
SUCCESS Options: Open  Access: 0002 
11:05:53 AM XWin.exe:3132   QUERY SECURITY
C:\myhome\authfile  BUFFER OVERFLOW 
11:05:53 AM XWin.exe:3132   CLOSE   C:\myhome\authfile
SUCCESS 
11:05:53 AM XWin.exe:3132   OPENC:\myhome\authfile
SUCCESS Options: Open  Access: 0002 
11:05:53 AM XWin.exe:3132   QUERY SECURITY
C:\myhome\authfile  SUCCESS 
11:05:53 AM XWin.exe:3132   CLOSE   C:\myhome\authfile
SUCCESS 
11:05:53 AM XWin.exe:3132   CLOSE   C:\myhome\authfile
SUCCESS 

There should be atleast one READ in the 3rd column
right? I do see READ for
other files that XWin uses. Thanks for any help.
Please CC me as I am not
subscribed to the ML.

Aravind





__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


Assistance needed

2004-04-28 Thread smart25
Hello !
I'm trying to use Cygwin instead of installing a full-size Linux.
My task is learning system programming in Unix environment.
Unfortunately, I do not get "man" for some C/C++ functions,
such as "fork()", "cout", "getcwd()" etc. 
Other C functions (printf for example) are documented.
Where can I download the missing man pages ?
Thank you,
Andrey Gelman.


Re: Color support added to HW accelerated cursor

2004-04-28 Thread Alexander Gottwald
On Tue, 27 Apr 2004, Earle F. Philhower III wrote:

> There was one minor change I just committed, you need to always
> free the GetIconInfo, not only when it comes back as an icon...

Argl. It seems I need more coffee ;)

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


Re: default configuration not working

2004-04-28 Thread Alexander Gottwald
On Tue, 27 Apr 2004, Sara Gamble wrote:

> Hi Alexander,
> 
> Thanks for putting my mind somewhat at ease!  I tried your suggestion of
> using the startx command, but I am still having display problems.  When I
> run startx, it still gives me just the single window, even thought I want
> the multiwindow mode that I thought came as a default setting.
> 
> I am getting error messages like:
> 
> another window manager is already running on screen 0?
> unable to find any unmanaged screens

This is normal too. You can not run XWin in multiwindow mode and have an 
external window manager. You can either use -multiwindow or windowmaker.

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


Re: mysql command line client hangs in cygwin xterm

2004-04-28 Thread Rasjid Wilcox
On Wednesday 28 April 2004 17:40, Richard Piper wrote:
> On looking into this, it seems that mysql including its client is
> compiled with cygwin. It is an old version, and this may explain the
> problem.

This is the reason I refuse to use MySQL on Windows - sooner or later the 
multiple cygwin.dll problem that their distribution creates if the user also 
installs Cygwin is going to start biting people.  If possible I would suggest 
looking into Firebird (the database) instead.

Cheers,

Rasjid.



Re: mysql command line client hangs in cygwin xterm

2004-04-28 Thread Richard Piper
On looking into this, it seems that mysql including its client is 
compiled with cygwin. It is an old version, and this may explain the 
problem.

I will look into this further, when I get a chance to download the 
"beta" version of mysql, which I assume is compiled against a more 
recent version of the cygwin.dll.

Richard

On Wed, Apr 28, 2004 at 10:47:59AM +1000, Richard Piper wrote:
>The problem seems to be well described in the general cygwin mailing
>list.  As yet I have not seen a solution.
>
>http://sources.redhat.com/ml/cygwin/2003-03/msg01457.html
Yeah, that was an interesting email.  It was nice to see that someone
agreed with my assessment of the problem.  It is always a relief to hear
that I do know what I'm talking about from people who don't quite know
what they are talking about.
As I mentioned, the easiest solution is to always use cygwin built
programs if you want to run a program on a cygwin pty.
The logic that there had to be a solution to this problem because it
affects so many programs did escape me, though.  I'd be very happy to
see someone find a way to fool programs into thinking they are running
on a console when they are using a cygwin pty but the fact that it is a
serious problem doesn't mean that there is automatically going to be a
solution to the problem.
cgf
--
Richard Piper
Web: http://icu.rnsh.org
Mobile: 0438-120860
Sydney: 9926-8617
Kippax: 6550-5117
Email: [EMAIL PROTECTED]
GPG key ID: F6DFFB33 @ wwwkeys.pgp.net
Key fingerprint: 3FB8 8355 3AAA 84C3 D548  8FFF EFDB C6B5 F6DF FB33