using x11 forwarding with ssh from a jail

[ Available lists | Index of freebsd-hackers | Month of Apr 2003 | Week of 20 Apr 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Brian Dean <bsd@bsdhome.com>
Date
20 Apr 2003 16:31:41
Subject
using x11 forwarding with ssh from a jail
Message-ID
20030420233133.GA593@neutrino.bsdhome.com

Replies
Referenced by

[ Hide this part ]
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/


Elapsed time: 0.097 seconds