markcox / neatx

Automatically exported from code.google.com/p/neatx
0 stars 1 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by descentspb@gmail.com on 8 Jul 2009 at 8:15

GoogleCodeExporter commented 9 years ago
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.

Original comment by slubman@gmail.com on 8 Jul 2009 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by kormat on 9 Jul 2009 at 6:40

GoogleCodeExporter commented 9 years ago
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.

Original comment by udio...@gmail.com on 13 Jul 2009 at 6:39

GoogleCodeExporter commented 9 years ago
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.

Original comment by dragonfy...@gmail.com on 14 Jul 2009 at 5:25

GoogleCodeExporter commented 9 years ago
@dragonfyre13, indeed, that works too if nxagent is in your path.

Original comment by kormat on 14 Jul 2009 at 6:36

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

Original comment by kormat on 20 Jul 2009 at 5:11

GoogleCodeExporter commented 9 years ago
Patch submitted

Original comment by kormat on 20 Jul 2009 at 8:24

GoogleCodeExporter commented 9 years ago
Issue 11 has been merged into this issue.

Original comment by kormat on 20 Jul 2009 at 8:24