Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nxserver - Connection with remote peer broken
Date: Mon, 09 Jul 2012 17:58:36
Message-Id: 20120709195640.0cfb1b35@weird.wonkology.org
In Reply to: Re: [gentoo-user] nxserver - Connection with remote peer broken by Joseph
1 Joseph writes:
2
3 > On 07/09/12 19:07, Alex Schuster wrote:
4 > >Joseph writes:
5
6 > >> Here is the log from remote nxserver:
7 > >[...]
8 > >> nxagentXkbGetRules: WARNING! Failed to stat file
9 > >> [/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error
10 > >> -1. /usr/lib64/NX/bin/nxagent: symbol lookup
11 > >> error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest
12 > >[...]
13 > >
14 > >nxagent needs the _XGetRequest symbol, and looks for it in
15 > >libXtst.so.6. It's not directly defined there, but in libX11.so, "ldd
16 > >-r /usr/lib64/libXtst.so.6" will show that this library is also being
17 > >searched for. There the symbol is found on my system, but I assume
18 > >"nm -D /usr/lib64/libX11.so | grep XGetRequest" will list nothing for
19 > >you. I am using net-misc/nx-3.5.0-r3 just fine. And I also have
20 > >xorg-server-1.12.2 installed (with use flags ipv6 nptl udev xorg).
21 [...]
22 > When run "nm -D /usr/lib64/libX11.so | grep XGetRequest"
23 > I get:
24 > 0000000000047600 T _XGetRequest
25 >
26 > so it seems to me it finds it there, so I'm not sure why I closes the
27 > connection. It just started after I upgraded xorg and enabled KMS in
28 > the kernel.
29
30 That's strange. I assume "ldd -r /usr/lib64/libXtst.so.6" will output
31 libX11.so.6, and libX11.so and libX11.so.6 in /usr/lib64/ are both links
32 to libX11.so.6.3?
33
34 > There is an error:
35 > nxagentXkbGetRules: WARNING! Failed to stat file
36 > [/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error -1.
37 >
38 > but I have no clue what to do with it.
39
40 I see this here, too. I think the file has moved
41 to /usr/share/X11/xkb/rules/xorg, if you want you can try to symlink it
42 to /usr/X11R6/lib/X11/xkb/rules/xorg.
43
44 I'd also rebuild nx, maybe this is needed after the X.org upgrade.
45
46 Wonko

Replies

Subject Author
Re: [gentoo-user] nxserver - Connection with remote peer broken Joseph <syscon780@×××××.com>