Forwarding X via SSH under X.org?

From: Michael J. Barillier (mbarilli_at_midsouth.rr.com)
Date: 11/22/04

  • Next message: tink: "Odd environment ($PATH)"
    Date: Sun, 21 Nov 2004 19:42:42 -0600
    
    

    I have been forwarding X (XFree86) with SSH using `ssh -X
    userid@remotehost', but now that I have switched to X.org (Gentoo
    upgrade) I find that the same command sets up DISPLAY=thishost:0.0 on
    the remote side rather than localhost:10.0 as it had under XFree86. I
    don't want to have to use xhost to allow remotehost access to
    thishost. Sshd_config on remotehost has X11UseLocalhost commented out
    (it defaults to ``yes'') but even explicitly setting it to ``yes''
    doesn't cause DISPLAY to be set to localhost.

    What's changed with X.org's handling of forwarding, and what needs to
    be set to get X forwarding working the way it did under XFree86? Is
    this an X.org issue, or SSH?

    -- 
    Michael J. Barillier               | ``When you have to shoot, shoot.
    <blackwolf(at)shadizar.dyndns.org> | Don't talk.''
    Public key available on request.   |                     -- Tuco Ramirez
    

  • Next message: tink: "Odd environment ($PATH)"

    Relevant Pages

    • Forwarding X via SSH under X.org?
      ... I have been forwarding X with SSH using `ssh -X ... the remote side rather than localhost:10.0 as it had under XFree86. ... Sshd_config on remotehost has X11UseLocalhost commented out ... What's changed with X.org's handling of forwarding, ...
      (comp.os.linux.x)
    • Re: Partial SNAFUs - X11Forwarding etc.
      ... to the base server machine via SSH, or it it also supposed to protect ... back "up the line" to the client machine? ... the ssh server host is compromised or otherwise untrustworthy, ... refrain from running the program via ssh X11 forwarding - there's no ...
      (comp.security.ssh)
    • Re: Whats the deal on the -X vs -Y thing?
      ... As a quick fix you could use something like this as your remote ssh ... chain is compromised (eg at either the tty layer, X11 forwarding port ... forwarding would not be needed on the intermediate hosts. ...
      (comp.security.ssh)
    • Re: Openssh Port Forwarding Confusion
      ... >Now for my Port forwarding question. ... So far what I have extracted about ssh port ... You connect to a port on the SSH client. ...
      (comp.security.ssh)
    • Re: [SLE] export DISPLAY and xhost +
      ... >>impression that remote X using DISPLAY travels over ssh just because you ... > X11 and TCP forwarding ... the connection to the X11 display is auto­ ... and the connection to the real X server will be made from the ...
      (SuSE)