Gentoo Archives: gentoo-user

From: Andrey Vul <andrey.vul@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ssh + emerge = X11 connection rejected
Date: Wed, 13 Jun 2007 14:11:49
Message-Id: e38d12ff0706130704k13c311a9hffb50973a552dbfd@mail.gmail.com
In Reply to: Re: [gentoo-user] ssh + emerge = X11 connection rejected by Helmut Jarausch
1 On 6/13/07, Helmut Jarausch <jarausch@××××××××××××××××.de> wrote:
2 > On 13 Jun, Vladimir Rusinov wrote:
3 > > On 6/13/07, Helmut Jarausch <jarausch@××××××××××××××××.de> wrote:
4 > >>
5 > >> normally I log into a machine via
6 > >> ssh -Y root@ ....
7 > >> and perform some updates via emerge.
8 > >> This has been working for hundreds of packages.
9 > >> But with
10 > >> dev-python/matplotlib (-0.90.1)
11 > >> this fails with
12 > >> X11 connection rejected because of wrong authentication.
13 > >> X connection to localhost:10.0 broken (explicit kill or server shutdown).
14 > >>
15 > >> But when I log in locally there is no such problem.
16 > >>
17 > >> What could be the reason?
18 > >>
19 > >
20 > > emerge --info ?
21 > >
22 >
23 > Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo i686)
24 > =================================================================
25 > System uname: 2.6.21-gentoo i686 Intel(R) XEON(TM) CPU 2.40GHz
26 > Gentoo Base System release 1.12.9
27 > Timestamp of tree: Wed, 13 Jun 2007 06:20:01 +0000
28 > ccache version 2.4 [disabled]
29 > dev-java/java-config: 1.3.7, 2.0.32
30 > dev-lang/python: 2.4.3-r1, 2.5.1
31 > dev-python/pycrypto: 2.0.1-r5
32 > dev-util/ccache: 2.4-r7
33 > sys-apps/sandbox: 1.2.17
34 > sys-devel/autoconf: 2.13, 2.61
35 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
36 > sys-devel/binutils: 2.16.1-r3
37 > sys-devel/gcc-config: 1.3.16
38 > sys-devel/libtool: 1.5.22
39 > virtual/os-headers: 2.6.21
40 > ACCEPT_KEYWORDS="x86"
41 > AUTOCLEAN="yes"
42 > CBUILD="i686-pc-linux-gnu"
43 > CFLAGS="-O2 -march=i686 -pipe"
44 > CHOST="i686-pc-linux-gnu"
45 > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
46 > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
47 > CXXFLAGS="-O2 -march=i686 -pipe"
48 > DISTDIR="/usr/portage/distfiles"
49 > FEATURES="distlocks metadata-transfer sandbox sfperms strict"
50 > GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
51 > MAKEOPTS="-j3"
52 > PKGDIR="/usr/portage/packages"
53 > PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
54 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
55 > PORTAGE_TMPDIR="/var/tmp"
56 > PORTDIR="/usr/portage"
57 > PORTDIR_OVERLAY="/usr/local/portage"
58 > SYNC="rsync://numa-i/gentoo-portage"
59 > USE="X acl berkdb bitmap-fonts cdr cli cracklib crypt cups doc dri dvd fortran gcj gdbm gnome gpm gtk gtk2 iconv ipv6 isdnlog jpeg kde libg++ midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt readline reflection session spl sqlite sqlite3 ssl svg tcl tcpd tetex tiff tk truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
60 > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
61 >
62 > --
63 > Helmut Jarausch
64 >
65 > Lehrstuhl fuer Numerische Mathematik
66 > RWTH - Aachen University
67 > D 52056 Aachen, Germany
68 > --
69 > gentoo-user@g.o mailing list
70 >
71 >
72 I do SSH without X and stuff works. However, due to a bug, OpenSSH
73 4.4-4.5 + OpenSSL 0.9.8e create bad packets (PuTTY is great for bug
74 testing SSH :P). To use SSH, add the following line to
75 /etc/portage/package.use: "=net-misc/openssh-4.6_p1_r1 -ldap". Also,
76 if emerge whines about unusable USE flags, add -<flag> to the openssh
77 line in /etc/portage/package.use
78
79 Or add a patch to the OpenSSL 0.9.8e ebuild and rehash it: "ebuild
80 /usr/portage/path/to/openssl.ebuild digest".
81
82 --
83 ---------------------
84 Andrey Vul
85 --
86 gentoo-user@g.o mailing list