Re: 'GLX missing on display' Problems

2004-04-30 Thread Alexander Gottwald
On Fri, 30 Apr 2004 [EMAIL PROTECTED] wrote:

 On 28 Apr, Harold L Hunt II wrote:
   http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding 
 
 Interesting info, though it confuses me a little.
 
 Where it says:
 
 It is easiest to just override trusted X11 forwarding by passing -Y to ssh
 in place of -X. The -Y does the same thing as -X, but it enables trusted
 X11 forwarding for the current connection.
 
 does it mean to say It is easiest to just override X11 forwarding...?
 Otherwise it seems to be saying you can override trusted X forwarding
 with trusted X forwarding.
 
 When it says OpenSSH 3.8 enables trusted X11 forwarding by default when
 connecting to an ssh server that supports trusted X11 forwarding.,
 does it mean that overrides the setting in the /etc/ssh_config file?
 In other words, which default is the most default?

Correct is:

OpenSSH 3.8 now connects as _un_trusted client by default. The prior versions
always connected as trusted (normal) clients. 

Actually it should read:

OpenSSH 3.8 uses untrusted X11 forwarding by default when connecting to an 
ssh server that supports untrusted X11 forwarding. Most ssh servers for GNU/Linux 
are versions of OpenSSH that do support untrusted X11 forwarding, so using 
OpenSSH 3.8 from Cygwin will result in a connection that uses untrusted X11 
forwarding by default. You will quickly notice that this is the case if most 
of your X applications are now killed when you try to copy and paste or if 
xdpyinfo returns only a fraction of the supported extensions that it does if 
run locally.

It is easiest to just override untrusted X11 forwarding by passing -Y to ssh 
in place of -X. The -Y does the same thing as -X, but it enables trusted X11 
forwarding for the current connection.

 What happens if your config file has both ForwardX11 yes and
 ForwardX11Trusted yes?  Which is the default then?  Is it bad to have
 both?  Is it bad to have one set to yes and the other to no?

I don't know. Try it. 

 Apologies if these are stupid questions.
 
 I notice that I do have openssh 3.8 installed, and also note that the
 man page mentions ForwardX11Trusted in only one place, with no
 explanation, and the section on X11 and TCP forwarding mentions only
 ForwardX11 and the -X and -x options, not the -Y.  So I couldn't get
 answers to my questions there.  (This is true in the latest Cygwin, as
 of a day or so ago.)

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


Re: 'GLX missing on display' Problems

2004-04-29 Thread luke . kendall
On 28 Apr, Harold L Hunt II wrote:
  http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding 

Interesting info, though it confuses me a little.

Where it says:

It is easiest to just override trusted X11 forwarding by passing -Y to ssh
in place of -X. The -Y does the same thing as -X, but it enables trusted
X11 forwarding for the current connection.

does it mean to say It is easiest to just override X11 forwarding...?
Otherwise it seems to be saying you can override trusted X forwarding
with trusted X forwarding.

When it says OpenSSH 3.8 enables trusted X11 forwarding by default when
connecting to an ssh server that supports trusted X11 forwarding.,
does it mean that overrides the setting in the /etc/ssh_config file?
In other words, which default is the most default?

What happens if your config file has both ForwardX11 yes and
ForwardX11Trusted yes?  Which is the default then?  Is it bad to have
both?  Is it bad to have one set to yes and the other to no?

Apologies if these are stupid questions.

I notice that I do have openssh 3.8 installed, and also note that the
man page mentions ForwardX11Trusted in only one place, with no
explanation, and the section on X11 and TCP forwarding mentions only
ForwardX11 and the -X and -x options, not the -Y.  So I couldn't get
answers to my questions there.  (This is true in the latest Cygwin, as
of a day or so ago.)

Regards,

luke



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


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.