[TriLUG] SSH display variable being set incorrectly

Tanner Lovelace clubjuggler at gmail.com
Mon Nov 29 12:07:51 EST 2004


On Mon, 29 Nov 2004 11:29:44 -0500, Owen Berry
<trilugbucket at berrybunch.net> wrote:
> I have this problem recently where when I connect to my home machine
> via SSH the DISPLAY variable gets set according to the host I came
> from (example dargo.trilug.org:0.0) instead of using the SSH tunnel
> (example localhost:10.0). If I set the DISPLAY manually everything
> works fine, so it's not that X forwarding is not working.
> 
> Any suggestions on why this would be happening?

1. It's turned off in the X-server
2. It's turned off as a default option for the ssh client
3. You didn't specify -X on the ssh command-line?

Try running ssh with the -X and -vvv options to see what's happening.

Cheers,
Tanner



More information about the TriLUG mailing list