• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

nxserver setup problem

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Hey guys, was trying to get nxserver running on my ubuntu box so that I can access it from my XP desktop and get rid of the extra mouse and keyboard that are hanging around.

I installed the client, node, and server packages from nomachine.com. During the installation of the server I received warnings about not having an SSH daemon on port 22, so I grabbed openssh-server and installed that.

I then tried nxserver --daemon start but received a command not found from bash. I decided that the new directory must not be on the path, so I changed dir to /user/bin/NX/bin and did an ls to verify that the files were present. Tried to execute the same command, with the same result:

bash: nxserver: command not found

I saw some other info on the web that indicated that the files would also be found in /etc/init.d so I went there and tried it with the same result. Also got the same result whether running sudo first or not.

Any ideas? Thanks.
 
To execute a program, you have to have the full path, so you can do "/usr/bin/NX/bin/nxserver --daemon" or change directory to /usr/bin/NX/bin/ and then run "./nxserver --daemon"
 
Thanks for the tip. I was in usr/bin/NX/bin when I executed the programs. I first did an ls on the directory to make sure they were there. That's what makes this so confusing. The programs are there, but they won't run. Kind of confusing reply too. Does the "command not found" come from bash, or nxserver?

Guess there isn't a lot of experience here with nxserver. Maybe I will punt and try Xming over ssh.
 
Originally posted by: Markbnj
Thanks for the tip. I was in usr/bin/NX/bin when I executed the programs. I first did an ls on the directory to make sure they were there. That's what makes this so confusing. The programs are there, but they won't run. Kind of confusing reply too. Does the "command not found" come from bash, or nxserver?

it's from bash. Did you did again with the ./ in front?
 
I was in usr/bin/NX/bin when I executed the programs. I first did an ls on the directory to make sure they were there. That's what makes this so confusing. The programs are there, but they won't run. Kind of confusing reply too. Does the "command not found" come from bash, or nxserver?

By default the current directory isn't in your PATH for security reasons.
 
Originally posted by: sciencewhiz
Originally posted by: Markbnj
Thanks for the tip. I was in usr/bin/NX/bin when I executed the programs. I first did an ls on the directory to make sure they were there. That's what makes this so confusing. The programs are there, but they won't run. Kind of confusing reply too. Does the "command not found" come from bash, or nxserver?

it's from bash. Did you did again with the ./ in front?

Aha. I think you and Nothinman have cleared it up for me. I had no idea the current directory wasn't in my path. Live and learn. I'll give it a try that way right now.

Edit: sweet, thanks for the help. Stupid thing to be hung up on for an hour 🙂. Once I could execute the various utilities I confirmed that it was running and was able to install the client on my XP box and start a remote gnome session with no further troubles. I'm pretty impressed by how responsive the desktop is over the lan.
 
Back
Top