Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ssh + emerge = X11 connection rejected
Date: Wed, 13 Jun 2007 14:33:41
Message-Id: 20070613162728.367fbebf.hilse@web.de
In Reply to: [gentoo-user] ssh + emerge = X11 connection rejected by Helmut Jarausch
1 Hi,
2
3 On Wed, 13 Jun 2007 10:37:51 +0200 (CEST) Helmut Jarausch
4 <jarausch@××××××××××××××××.de> wrote:
5
6 > normally I log into a machine via
7 > ssh -Y root@ ....
8 > and perform some updates via emerge.
9 > This has been working for hundreds of packages.
10 > But with
11 > dev-python/matplotlib (-0.90.1)
12 > this fails with
13 > X11 connection rejected because of wrong authentication.
14 > X connection to localhost:10.0 broken (explicit kill or server
15 > shutdown).
16 >
17 > But when I log in locally there is no such problem.
18 >
19 > What could be the reason?
20
21 Most probably a package specific setup routine that makes a connection
22 to the X server -- for whatever reason. The environment is probably
23 modified at that point (e.g. by portages sandbox), so it doesn't work
24 with a forwarded X connection.
25
26 Maybe you can temporarily overcome that by using e.g. Xnest (since you
27 already have X forwarding running) or Xvnc.
28
29 -hwh
30 --
31 gentoo-user@g.o mailing list