Export to GitHub

neatx - issue #3

No such file or directory /usr/lib/nx/nxagent


Posted on Jul 8, 2009 by Helpful Elephant

What steps will reproduce the problem? 1. Install svn revision 9 2. Install nxclient, nxnode 3. Try to connect

What is the expected output? What do you see instead? I expect no errors, but see this in syslog:

nxnode-wrapper[22361]: glib.GError: Failed to execute child process "/usr/ lib/nx/nxagent" (No such file or directory)

What version of the product are you using? On what operating system? ubuntu 9.04, x86_64

Please provide any additional information below. Fixed this by linking /usr/NX/bin/nxagent binary to /usr/lib/nx/nxagent

Comment #1

Posted on Jul 8, 2009 by Happy Camel

I got the same issue with ArchLinux, but instead of linking I patched the lib/constants.py file with good values for my distro, changing the following variables: NXDIR XSESSION NXAGENT_PKGNAME NXAGENT_VERSION_COMMAND

I don't know if it's really a bug anyway.

Attached is the patch I use for my distro.

Attachments

Comment #2

Posted on Jul 9, 2009 by Happy Rhino

Good point, NXDIR should really be configurable. In terms of distro-specific stuff, that should probably be done as part of packaging, which we don't provide at the moment.

Comment #3

Posted on Jul 13, 2009 by Grumpy Panda

I have noticed NXDIR is not used accept for figuring out where is nxagent. For ubuntu intrepid, with nxclient's deb installation I changed NXAGENT = "/usr/bin/nxagent" to make it work.

Comment #4

Posted on Jul 14, 2009 by Grumpy Rabbit

nxagent should be in the path shouldn't it? that means you should just be able to put: NXAGENT = "nxagent"

and be done with it.

Comment #5

Posted on Jul 14, 2009 by Happy Rhino

@dragonfyre13, indeed, that works too if nxagent is in your path.

Comment #6

Posted on Jul 20, 2009 by Happy Rhino

Sent a patch out for review to change NXDIR to /usr/bin, which will fix this for most people.

Comment #7

Posted on Jul 20, 2009 by Happy Rhino

Patch submitted

Comment #8

Posted on Jul 20, 2009 by Happy Rhino

Issue 11 has been merged into this issue.

Status: Fixed

Labels:
Type-Defect Priority-Medium