[gentoo-user] nxserver - Connection with remote peer broken

July 09th, 2012 - 12:30 pm ET by Joseph | Report spam
After upgrade I enabled "KMS" in the kernel for my for my Radeon card and now I can not connect client to "nxserver"
I'm getting an error message:
Connection with the remote server was shut down.
Please check the state with your remote connection.

My remote ssh connection is working OK.

Here is the log from remote nxserver:

NX> 105 listsession --type="shadow"
NX> 127 Sessions list of user '.*' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name
0 Local 8853BADD69C76E21B72ADD7F19C62D13 -- Running X0 (Local)
0 Local 1963BA24BEF6A0E5D9C94D039177D621 -- Running X0 (Local)


NX> 148 Server capacity: not reached for user: .*
NX> 105 attachsession --link="wan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0"

&link=wan&backingstore=1&encryption=1&cacheM&imagesdM&shmem=1&shpix=1&strict=0&composite=1&media=0&session=clinic-amd&type=shadow&client=linux&keyboard=pc102/us&idˆ53BADD69C76E21B72ADD7F19C62D13&display=0&clientproto=3.2.0&login_method=SSH&shadowdisplay=0&shadowhost=&shadowcookie=******&user=fd&userip2.168.139.7&uniqueid8F157B26A133781A52620694445D13&display00&host7.0.0.1
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-TEAMBZR104 OS (GPL, using backend: 3.5.0)
NX> 1000 NXNODE - Version 3.2.0-74-TEAMBZR104 OS (GPL, using backend: 3.5.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-TEAMBZR104 OS (GPL, using backend: 3.5.0)
nxnode_reader: NX> 700 Session id: clinic-amd-1000-188F157B26A133781A52620694445D13
NX> 700 Session id: clinic-amd-1000-188F157B26A133781A52620694445D13
nxnode_reader: NX> 705 Session display: 1000
nxnode_reader: NX> 703 Session type: shadow
server_nxnode_echo: NX> 700 Session id: clinic-amd-1000-188F157B26A133781A52620694445D13
NX> 705 Session display: 1000
NX> 703 Session type: shadow
nxnode_reader: NX> 701 Proxy cookie: 6b18e580deffd5df2ede984f0cbae577
server_nxnode_echo: NX> 705 Session display: 1000
nxnode_reader: NX> 702 Proxy IP: 127.0.0.1
nxnode_reader: NX> 706 Agent cookie: 6b18e580deffd5df2ede984f0cbae577
server_nxnode_echo: NX> 703 Session type: shadow
NX> 701 Proxy cookie: 6b18e580deffd5df2ede984f0cbae577
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 6b18e580deffd5df2ede984f0cbae577
nxnode_reader: NX> 704 Session cache: shadow
NX> 704 Session cache: shadow
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 701 Proxy cookie: 6b18e580deffd5df2ede984f0cbae577
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie: 6b18e580deffd5df2ede984f0cbae577
server_nxnode_echo: NX> 704 Session cache: shadow
server_nxnode_echo: NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
server_nxnode_echo: NX> 710 Session status: running
NX> 1006 Session status: running
server_nxnode_echo: NX> 1002 Commit
session_status 188F157B26A133781A52620694445D13 Running
NX> 105 server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
Info: Closing connection to slave with pid 8770.
nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate
"/home/fd/.nx/F-C-clinic-amd-1000-188F157B26A133781A52620694445D13/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic
functionality. Session log follows:
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate
"/home/fd/.nx/F-C-clinic-amd-1000-188F157B26A133781A52620694445D13/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic
functionality. Session log follows:
nxnode_reader:
nxnode_reader: NXAGENT - Version 3.5.0
nxnode_reader:
nxnode_reader: Copyright (C) 2001, 2011 NoMachine.
nxnode_reader: See http://www.nomachine.com/ for more information.
nxnode_reader:
nxnode_reader: Info: Agent running with pid '9412'.
nxnode_reader: Session: Starting session at 'Mon Jul 9 09:35:44 2012'.
nxnode_reader: Info: Proxy running in server mode with pid '9412'.
nxnode_reader: Info: Waiting for connection from '127.0.0.1' on port '5000'.
nxnode_reader: Info: Accepted connection from '127.0.0.1'.
nxnode_reader: Info: Connection with remote proxy completed.
nxnode_reader: Info: Using WAN link parameters 768/24/1/0.
nxnode_reader: Info: Using agent parameters 5000/5/50/0/0.
nxnode_reader: Info: Using cache parameters 4/4096KB/16384KB/16384KB.
nxnode_reader: Info: Using pack method 'adaptive-9' with session 'shadow'.
nxnode_reader: Info: Using product 'LFE/None/LFEN/None'.
nxnode_reader: Info: Using ZLIB data compression 1/1/32.
nxnode_reader: Info: Using ZLIB stream compression 1/1.
nxnode_reader: Info: No suitable cache file found.
nxnode_reader: Info: Listening to X11 connections on display ':1000'.
nxnode_reader: Info: Established X client connection.
nxnode_reader: Info: Using shared memory parameters 1/1/1/4096K.
nxnode_reader: Info: Using alpha channel in render extension.
nxnode_reader: Info: Not using local device configuration changes.
nxnode_reader: nxagentXkbGetRules: WARNING! Failed to stat file [/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error -1.
nxnode_reader: /usr/lib64/NX/bin/nxagent: symbol lookup error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest
nxnode_reader: NX> 1006 Session status: closed
nxnode_reader: 1001 Bye.

NXAGENT - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '9412'.
Session: Starting session at 'Mon Jul 9 09:35:44 2012'.
Info: Proxy running in server mode with pid '9412'.
Info: Waiting for connection from '127.0.0.1' on port '5000'.
Info: Accepted connection from '127.0.0.1'.
Info: Connection with remote proxy completed.
Info: Using WAN link parameters 768/24/1/0.
Info: Using agent parameters 5000/5/50/0/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-9' with session 'shadow'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 1/1.
Info: No suitable cache file found.
Info: Listening to X11 connections on display ':1000'.
Info: Established X client connection.
Info: Using shared memory parameters 1/1/1/4096K.
Info: Using alpha channel in render extension.
Info: Not using local device configuration changes.
nxagentXkbGetRules: WARNING! Failed to stat file [/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error -1.
/usr/lib64/NX/bin/nxagent: symbol lookup error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest
NX> 1006 Session status: closed
1001 Bye.
server_nxnode_echo: NX> 596 Session startup failed.
nxnode_reader: NX> 1001 Bye.
Info: Closing connection to slave with pid 8770.


NXPROXY - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '13981'.
Session: Starting session at 'Mon Jul 9 09:50:50 2012'.
Info: Connection with remote proxy completed.
Info: Using WAN link parameters 768/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-9' with session 'shadow'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 1/1.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display ':0.0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Mon Jul 9 09:50:50 2012'.
Info: Established X server connection.
Info: Using shared memory parameters 1/4096K.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.
Session: Terminating session at 'Mon Jul 9 09:50:54 2012'.
Session: Session terminated at 'Mon Jul 9 09:50:54 2012'.

Joseph
email Follow the discussionReplies 5 repliesReplies Make a reply

Similar topics

Replies

#1 Alex Schuster
July 09th, 2012 - 01:20 pm ET | Report spam
Joseph writes:

After upgrade I enabled "KMS" in the kernel for my for my Radeon card
and now I can not connect client to "nxserver" I'm getting an error
message: Connection with the remote server was shut down.
Please check the state with your remote connection.

My remote ssh connection is working OK.

Here is the log from remote nxserver:


[...]
nxagentXkbGetRules: WARNING! Failed to stat file
[/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error
-1. /usr/lib64/NX/bin/nxagent: symbol lookup
error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest


[...]

nxagent needs the _XGetRequest symbol, and looks for it in libXtst.so.6.
It's not directly defined there, but in libX11.so, "ldd
-r /usr/lib64/libXtst.so.6" will show that this library is also being
searched for. There the symbol is found on my system, but I assume
"nm -D /usr/lib64/libX11.so | grep XGetRequest" will list nothing for you.
I am using net-misc/nx-3.5.0-r3 just fine. And I also have
xorg-server-1.12.2 installed (with use flags ipv6 nptl udev xorg).

There is a discussion about older versions of libX11.so not having this
symbol, but this should not matter here:
http://www.linuxquestions.org/quest...175414183/

So, I don't know what is going on.

Wonko
Replies Reply to this message
#2 Joseph
July 09th, 2012 - 01:30 pm ET | Report spam
On 07/09/12 19:07, Alex Schuster wrote:
Joseph writes:

After upgrade I enabled "KMS" in the kernel for my for my Radeon card
and now I can not connect client to "nxserver" I'm getting an error
message: Connection with the remote server was shut down.
Please check the state with your remote connection.

My remote ssh connection is working OK.

Here is the log from remote nxserver:


[...]
nxagentXkbGetRules: WARNING! Failed to stat file
[/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error
-1. /usr/lib64/NX/bin/nxagent: symbol lookup
error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest


[...]

nxagent needs the _XGetRequest symbol, and looks for it in libXtst.so.6.
It's not directly defined there, but in libX11.so, "ldd
-r /usr/lib64/libXtst.so.6" will show that this library is also being
searched for. There the symbol is found on my system, but I assume
"nm -D /usr/lib64/libX11.so | grep XGetRequest" will list nothing for you.
I am using net-misc/nx-3.5.0-r3 just fine. And I also have
xorg-server-1.12.2 installed (with use flags ipv6 nptl udev xorg).

There is a discussion about older versions of libX11.so not having this
symbol, but this should not matter here:
http://www.linuxquestions.org/quest...175414183/

So, I don't know what is going on.

Wonko



When run "nm -D /usr/lib64/libX11.so | grep XGetRequest"
I get:
0000000000047600 T _XGetRequest

so it seems to me it finds it there, so I'm not sure why I closes the connection.
It just started after I upgraded xorg and enabled KMS in the kernel.

There is an error:
nxagentXkbGetRules: WARNING! Failed to stat file [/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error -1.

but I have no clue what to do with it.

Joseph
Replies Reply to this message
#3 Alex Schuster
July 09th, 2012 - 02:00 pm ET | Report spam
Joseph writes:

On 07/09/12 19:07, Alex Schuster wrote:
>Joseph writes:

>> Here is the log from remote nxserver:
>[...]
>> nxagentXkbGetRules: WARNING! Failed to stat file
>> [/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error
>> -1. /usr/lib64/NX/bin/nxagent: symbol lookup
>> error: /usr/lib64/libXtst.so.6: undefined symbol: _XGetRequest
>[...]
>
>nxagent needs the _XGetRequest symbol, and looks for it in
>libXtst.so.6. It's not directly defined there, but in libX11.so, "ldd
>-r /usr/lib64/libXtst.so.6" will show that this library is also being
>searched for. There the symbol is found on my system, but I assume
>"nm -D /usr/lib64/libX11.so | grep XGetRequest" will list nothing for
>you. I am using net-misc/nx-3.5.0-r3 just fine. And I also have
>xorg-server-1.12.2 installed (with use flags ipv6 nptl udev xorg).


[...]
When run "nm -D /usr/lib64/libX11.so | grep XGetRequest"
I get:
0000000000047600 T _XGetRequest

so it seems to me it finds it there, so I'm not sure why I closes the
connection. It just started after I upgraded xorg and enabled KMS in
the kernel.



That's strange. I assume "ldd -r /usr/lib64/libXtst.so.6" will output
libX11.so.6, and libX11.so and libX11.so.6 in /usr/lib64/ are both links
to libX11.so.6.3?

There is an error:
nxagentXkbGetRules: WARNING! Failed to stat file
[/usr/X11R6/lib/X11/xkb/rules/xorg]: Unknown error -1.

but I have no clue what to do with it.



I see this here, too. I think the file has moved
to /usr/share/X11/xkb/rules/xorg, if you want you can try to symlink it
to /usr/X11R6/lib/X11/xkb/rules/xorg.

I'd also rebuild nx, maybe this is needed after the X.org upgrade.

Wonko
Replies Reply to this message
#4 Joseph
July 09th, 2012 - 02:10 pm ET | Report spam
On 07/09/12 19:07, Alex Schuster wrote:
nxagent needs the _XGetRequest symbol, and looks for it in libXtst.so.6.
It's not directly defined there, but in libX11.so, "ldd
-r /usr/lib64/libXtst.so.6" will show that this library is also being
searched for. There the symbol is found on my system, but I assume
"nm -D /usr/lib64/libX11.so | grep XGetRequest" will list nothing for you.
I am using net-misc/nx-3.5.0-r3 just fine. And I also have
xorg-server-1.12.2 installed (with use flags ipv6 nptl udev xorg).

There is a discussion about older versions of libX11.so not having this
symbol, but this should not matter here:
http://www.linuxquestions.org/quest...175414183/

So, I don't know what is going on.

Wonko



I have two machines on a remote network.
One - was not upgraded and NX server is working OK
Interestingly: nm -D /usr/lib64/libX11.so | grep XGetRequest
is not showing any entry and NX is working.

On the machine with radeon that I upgraded the nm -D /usr/lib64/libX11.so | grep XGetRequest
is showing:
0000000000047600 T _XGetRequest
but NX is not working. I've upgraed to unstable net-misc/nx-3.5.0-r3
and no luck, still not working.

Joseph
Replies Reply to this message
#5 Joseph
July 09th, 2012 - 02:30 pm ET | Report spam
On 07/09/12 19:56, Alex Schuster wrote:
>nxagent needs the _XGetRequest symbol, and looks for it in
>libXtst.so.6. It's not directly defined there, but in libX11.so, "ldd
>-r /usr/lib64/libXtst.so.6" will show that this library is also being
>searched for. There the symbol is found on my system, but I assume
>"nm -D /usr/lib64/libX11.so | grep XGetRequest" will list nothing for
>you. I am using net-misc/nx-3.5.0-r3 just fine. And I also have
>xorg-server-1.12.2 installed (with use flags ipv6 nptl udev xorg).


[...]
When run "nm -D /usr/lib64/libX11.so | grep XGetRequest"
I get:
0000000000047600 T _XGetRequest

so it seems to me it finds it there, so I'm not sure why I closes the
connection. It just started after I upgraded xorg and enabled KMS in
the kernel.



That's strange. I assume "ldd -r /usr/lib64/libXtst.so.6" will output
libX11.so.6, and libX11.so and libX11.so.6 in /usr/lib64/ are both links
to libX11.so.6.3?



It is linked to libX11.so.6.3.0
/usr/lib64/libX11.so
lrwxrwxrwx 1 root root 15 Jul 6 22:44 /usr/lib64/libX11.so -> libX11.so.6.3.0

Joseph
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search