Re: Problems with OpenSSH and X11 forwarding

From: Richard E. Silverman (slade@shore.net)
Date: 01/31/02


From: slade@shore.net (Richard E. Silverman)
Date: 31 Jan 2002 10:21:33 -0500


>>>>> "FW" == Frank Winkler <frank.winkler@germany.sun.com> writes:

>> You certainly *don't* want to use the environment file to set your
>> DISPLAY variable, as it is set dynamically by sshd for the
>> forwarding.

    FW> Absolutely correct, but where the hell did I mention to set
    FW> DISPLAY?!? I was talking about something like XAUTHORITY ...

You didn't say what environment variable you were talking about, at all.
And since the only one you did mention in any context was DISPLAY, I
thought I'd point out that this would be a mistake -- one that people
often make.

As for the "where the hell" part -- if you want to be rude, you can go
solve your own problem.

-- 
  Richard Silverman
  slade@shore.net



Relevant Pages

  • Re: SSH not setting DISPLAY variable
    ... > I'm having a rather strange problem with OpenSSH forwarding X11 ... > SSH and one of them works perfectly, but the other one does not. ... > On the second computer, "echo $DISPLAY" just gives a blank line, so ... > connections - if I connect out from the not-working computer to somewhere ...
    (comp.security.ssh)
  • Re: SSH tunneling of the Oracle Installer
    ... Inside Putty I've enabled X11 forwarding, ... Then the programs that run on the remote computer and want to display ... The second line listens on the interface that has address 127.0.0.1. ...
    (comp.os.linux.setup)
  • Re: Attempting to run remote X app
    ... > I'm attempting to ssh into a central server and run an X app, ... Make sure the ssh server is forwarding X connections: ... DISPLAY environment variable is set), the connection to the X11 display ...
    (comp.os.linux.x)
  • Re: xorg on a headless, mouseless, keyboardless box
    ... X Error of failed request: ... can pop up windows on your X display. ... Because of the way SSH X- ... forwarding works, all the processes on your remote machine appear to ...
    (freebsd-questions)
  • Re: X11 Forwarding
    ... the point is to be using SSH X forwarding, ... The SSH client need only be able to access the X ... it does not set the DISPLAY variable on the server. ...
    (comp.security.ssh)