Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2003 19:31:33 -0400
From:      Brian Dean <bsd@bsdhome.com>
To:        freebsd-hackers@freebsd.org
Subject:   using x11 forwarding with ssh from a jail
Message-ID:  <20030420233133.GA593@neutrino.bsdhome.com>

next in thread | raw e-mail | index | archive | help
Hi,

Is anyone having problems connecting to their X server from inside a
jail using ssh's X11 forwarding?

>From my non-jail environment, I ssh into my jail environment with X11
forwarding enabled.  When I try to invoke an X application, I get:

  % xclock
  X11 connection rejected because of wrong authentication.
  X connection to localhost:11.0 broken (explicit kill or server shutdown).

It works fine if I uset 'xhost +' in my non-jail environment and the
point my display appropriately from inside the jail (bypassing ssh x11
forwarding).  Any ideas why X11 forwarding doesn't seem to do the
right thing?

-Brian
-- 
Brian Dean
bsd@FreeBSD.org
bsd@bsdhome.com
http://www.bsdhome.com/
http://www.bdmicro.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030420233133.GA593>