Re: sshd1/X11 forwarding/rlogin problems (SCO OpenServer 5.0.5)

From: Anton Graph (aglyport@no-s.p.a.m.yahoo.com)
Date: 04/23/02


From: Anton Graph <aglyport@no-s.p.a.m.yahoo.com>
Date: Tue, 23 Apr 2002 12:35:11 -0700

Anton Graph wrote:
> I'm using ssh to connect to a remote site foo. sshd on foo is configured
> to forward x11 connections. DISPLAY is set to foo:10.0.
>
> Then I rlogin to a site "bar" and set DISPLAY there to foo:10.0
>
> I try to run my X11 application and get this:
> warning: X11 connection requests different authentication protocol:
> 'MIT-MAGIC-COOKIE-1' vs. ''.
> warning: X11 connection requests different authentication protocol:
> 'MIT-MAGIC-COOKIE-1' vs. ''.
> X connection to foo:10.0 broken (explicit kill or server shutdown).
>
> So my question is. How would I setup host "bar" to use the proper X11
> authentication method so that sshd on host "foo" accepts X11 connections
> from "bar"?
>
>
> Part 2:
> To work around this I've just installed sshd on bar.
> So I ssh into foo (DISPLAY is properly set by sshd).
> Then I immediately ssh to bar -> DISPLAY is NOT set!
> I have X11forwarding set to Yes in /etc/sshd_config:
>
> X11Forwarding yes
> X11DisplayOffset 20
>
> I can not get directly into the host "bar" because of a firewall.
>
> The X server is on a slackware box. The machine I originally ssh from is
> SCO 5.0.5. So are foo & bar.
>
>
Nevermind, copying .Xauthority from "foo" to "bar" resolved this.



Relevant Pages

  • Re: Insert with response
    ... FooBar, there's no way and no need to put them in synch. ... column in the foo table to 250 calumns in the bar table. ... set statistics time off ...
    (microsoft.public.sqlserver.programming)
  • Re: Magic function
    ... processing objects created in root at depth 3 ... root obj2 at depth 3 ... processing objects created in foo at depth 2 ... processing objects created in bar at depth 0 ...
    (comp.lang.python)
  • Re: from __future__ import absolute_import ?
    ... foo not in bar ... Unfortunately this is a side effect of using the os's directory structure to represent a python "package" structure. ...
    (comp.lang.python)
  • Re: from __future__ import absolute_import ?
    ... foo not in bar ... A path below the package level is generally a good means to shoot ... to represent a python "package" structure. ...
    (comp.lang.python)
  • Re: how to deserialize variable element/node
    ... string bar; ... In the first deserialization case, bar = "sometimes a simple string is ... Your two XML fragments would have to be represented in an XML schema by ...
    (microsoft.public.dotnet.xml)