Re: $DISPLAY variable empty after SSHing

2009-08-04 Thread Jon TURNEY
On 04/08/2009 05:27, Andrew DeFaria wrote: mcoughlin wrote: Well it is good to know that it is doable. My computer is running Windows Vista, the middle computer runs Red Hat 3, and the work computer runs Red Hat 4. ssh -X computer #2 Warning: untrusted X11 forwarding setup failed: xauth key

Re: $DISPLAY variable empty after SSHing

2009-08-04 Thread Mark J. Reed
X11 forwarding has to be enabled on the server. If it's not, then any request by the client to forward X connections (due to -X or -Y options or ForwardX11 in ~/.ssh/config or /etc/ssh_config or wherever) will be ignored. Check the sshd_config on the final host (the "work computer"). -- Problem

Re: $DISPLAY variable empty after SSHing

2009-08-03 Thread Andrew DeFaria
mcoughlin wrote: Well it is good to know that it is doable. My computer is running Windows Vista, the middle computer runs Red Hat 3, and the work computer runs Red Hat 4. ssh -X computer #2 Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth da

Re: $DISPLAY variable empty after SSHing

2009-08-03 Thread mcoughlin
Well it is good to know that it is doable. My computer is running Windows Vista, the middle computer runs Red Hat 3, and the work computer runs Red Hat 4. Larry Hall (Cygwin) wrote: > > On 08/03/2009 09:39 PM, mcoughlin wrote: >> >> This may be confusing because I have to SSH twice to reach t

Re: $DISPLAY variable empty after SSHing

2009-08-03 Thread Larry Hall (Cygwin)
On 08/03/2009 09:39 PM, mcoughlin wrote: This may be confusing because I have to SSH twice to reach the computer I work on. On my home computer, I begin by starting the X server. I run the command: bash-3.2$ echo $DISPLAY :0.0 And so it seems to be working fine. I then do: ssh -X computer #2

Re: $DISPLAY variable empty after SSHing

2009-08-03 Thread mcoughlin
In /etc/ssh/ssh_config ForwardX11Trusted yes Is that what you mean? Because that is how it is set currently (that file is on the "in between" computer). Michael Huang Bambo wrote: > > You must have you ssh tool make X forward enabled. > > 2009/8/4 mcoughlin : >> >> This may be confusing bec

Re: $DISPLAY variable empty after SSHing

2009-08-03 Thread Huang Bambo
You must have you ssh tool make X forward enabled. 2009/8/4 mcoughlin : > > This may be confusing because I have to SSH twice to reach the computer I > work on. > > On my home computer, I begin by starting the X server. I run the command: > > bash-3.2$ echo $DISPLAY > :0.0 > > And so it seems to b

$DISPLAY variable empty after SSHing

2009-08-03 Thread mcoughlin
This may be confusing because I have to SSH twice to reach the computer I work on. On my home computer, I begin by starting the X server. I run the command: bash-3.2$ echo $DISPLAY :0.0 And so it seems to be working fine. I then do: ssh -X computer #2 Warning: untrusted X11 forwarding setup