Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nxserver - symbol lookup error: /usr/lib64/libXtst.so.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2594
Location: Edmonton, AB

PostPosted: Mon Jul 09, 2012 3:48 pm    Post subject: nxserver - symbol lookup error: /usr/lib64/libXtst.so.6 Reply with quote

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:

Code:
...
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.


Code:

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'.
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Sun Jul 22, 2012 1:26 pm    Post subject: similar error in freenx-server Reply with quote

same here, I upgraded the kernel, followed the gentoo Xserver guide which said to use KSM:

Then:
Code:
emerge -eav system
emerge -eav world
python-updater
revdep-rebuild
emerge --prune


Now I can't login via nx-client using neatx or freenx-server. Freenx server gives a similar error:

Code:
nxnode_reader: Info: Using shared memory parameters 1/1/1/2048K.
Info: Using shared memory parameters 1/1/1/2048K.
nxnode_reader: Info: Using alpha channel in render extension.
Info: Using alpha channel in render extension.
nxnode_reader: Info: Not using local device configuration changes.
Info: Not using local device configuration changes.
nxnode_reader: /usr/lib64/NX/bin/nxagent: symbol lookup error: /usr/lib64/libXcomposite.so.1: undefined symbol: _XGetRequest
/usr/lib64/NX/bin/nxagent: symbol lookup error: /usr/lib64/libXcomposite.so.1: undefined symbol: _XGetRequest
nxnode_reader: xrdb: Connection reset by peer
xrdb: Connection reset by peer
nxnode_reader: xrdb: Can't open display ':1000'
xrdb: Can't open display ':1000'
nxnode_reader: NX> 1006 Session status: closed
NX> 1006 Session status: closed
nxnode_reader: 1001 Bye.




neatx was dying with an xrdb error. I removed neatx and emerged freenx-server hoping to get more clues in the nx server log. The nx server log is showing the undefined symbol error that you are also getting.
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2594
Location: Edmonton, AB

PostPosted: Sun Jul 22, 2012 2:47 pm    Post subject: Re: similar error in freenx-server Reply with quote

newtonian wrote:
same here, I upgraded the kernel, followed the gentoo Xserver guide which said to use KSM:

[snip]
neatx was dying with an xrdb error. I removed neatx and emerged freenx-server hoping to get more clues in the nx server log. The nx server log is showing the undefined symbol error that you are also getting.


It is a Gentoo bug see:
https://bugs.gentoo.org/show_bug.cgi?id=423855

I did fix it by unmerging: nxserver-freenx
and emerged: net-misc/nxserver-freeedition

Here are some hints, where to find the ssh-key for the client etc.:
http://www.nomachine.com/documentation/admin-guide.php

freeedition worked for me.
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Sun Jul 22, 2012 4:16 pm    Post subject: Re: similar error in freenx-server Reply with quote

Joseph_sys wrote:
newtonian wrote:
same here, I upgraded the kernel, followed the gentoo Xserver guide which said to use KSM:

[snip]
neatx was dying with an xrdb error. I removed neatx and emerged freenx-server hoping to get more clues in the nx server log. The nx server log is showing the undefined symbol error that you are also getting.


It is a Gentoo bug see:
https://bugs.gentoo.org/show_bug.cgi?id=423855

I did fix it by unmerging: nxserver-freenx
and emerged: net-misc/nxserver-freeedition

Here are some hints, where to find the ssh-key for the client etc.:
http://www.nomachine.com/documentation/admin-guide.php

freeedition worked for me.


Hi Joseph-

I fixed the issue by doing the following:

Code:

echo net-misc/nx >> /etc/portage/package.keywords
emerge net-misc/nx


The bugfix is in net-misc/nx 3.5.0.14-r1

tested with neatx


OR if you want to go the neatx way

Code:

echo net-misc/nx >> /etc/portage/package.keywords
emerge net-misc/nx
emerge -C net-misc/nxserver-freenx
emerge neatx
usermod -a -G wheel nx


And you should be good to go.


Cheers,
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Sun Jul 22, 2012 4:44 pm    Post subject: Just a note Reply with quote

The wording confusing but

net-misc/nxserver-freeedition is the binary version of net-misc/nx

net-misc/nxserver-freeedition is a binary version of net-misc/nx and has its own versions of the libraries that didn't compile properly in net-misc/nx. That is why it worked for you to install nxserver-freeedition

neatx replaces net-misc/nxserver-freenx

I bet you have nxserver-freeedition and neatx running on your server.


Thanks again for persisting with this. I saw your posts in gentoo-user and your reply in the forums with the link to the bug report saved my day. : )


Cheers,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum