Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Jan 31, 2016 · 8 comments
Closed

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

GoogleCodeExporter opened this issue Jan 31, 2016 · 8 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

Patch submitted

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Issue 11 has been merged into this issue.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant