Help - Search - Members - Calendar
Full Version: NX Nomachine help
MandrivaUsers.org > Advanced Topics > Networking
mindwave
ok, everyone says NX is SO much faster than VNC, and since i moved to DSL from cable VNC is unbearably slow, so any tips would be appreciated.

i have tried a 2009 and 2008.1 install and get similar errors from both.

thus far: I downloaded the client, nonode and server RPM, installed them in that order. I try and connect, EVEN from within the same network and still get connection refused, time out errors.

it APPEARS as though nxserver installed ok, although it does look like its grabbed onto the loopback, is that normal?
127.0.0.1

however wehn i try and use:
nxserver --useradd mindwave --passwd XXXXXXX

I first get:

CODE
NX> 900 Verifying public key authentication for NX user: mindwave.
NXSERVER - Version 3.2.0-16 - LFE
Thu Oct 16 14:55:31 2008 running as user: 'root' (uid: 0, pid: 14439) on 'localhost'
Info: selected user 'mindwave' is authenticated (NXNodeExec)
Info: password for selected user is in 'unknown' mode (NXNodeExec)
Info: preferred auth method is '' (NXNodeExec)
Info: selected NX Node with host name '127.0.0.1', port '22' (NXNodeExec)
Info: selected su to access NX Node (NXNodeExec)
Info: nxssh command line is 'su mindwave -c /usr/NX/bin/nxnode' (NXNodeExec)
Info: nxssh child pid is: 14515 (NXNodeExec)
Info: received data in out channel from NX Node: 'NX> 1000 NXNODE - Version 3.2.0-13 ' (NXNodeExec)
Info: received message 'CONNECTED' from NX Node (NXNodeExec)
Info: sent request for service 'setkey' to NX Node (NXNodeExec)
Info: no parameter to send to NX Node (NXNodeExec)
Info: received data in out channel from NX Node: 'NX> 716 Public key is already present in: /home/mindwave/.ssh/authorized_keys2.


which seems ok so far (?) but then after an ENTIRE screen of similar data I get:

CODE
Info: nxssh command line is '/usr/NX/bin/nxssh -nxservermode -l mindwave
127.0.0.1 -p 22 -x -2 -i /usr/NX/etc/keys/node.localhost.id_dsa -o 'PubkeyAuthentication yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication no' -o 'PasswordAuthentication no' -o 'RhostsRSAAuthentication no' -o 'StrictHostKeyChecking no' /usr/NX/bin/nxnode' (NXNodeExec)
Info: nxssh child pid is: 14564 (NXNodeExec)
Info: NX Node out channel was closed (NXNodeExec)
Info: Removing not recognized buffer from stdout:[] (NXNodeExec)
Info: received data in err channel from NX Node: 'ssh: connect to host
127.0.0.1 port 22: Connection refused
' (NXNodeExec)
Info: NX Node err channel was closed (NXNodeExec)
Info: closing nxssh's in, out, err FDs (flagfinished is: 0) (NXNodeExec)
Error: no 'CONNECTED' message from NX Node (NXNodeExec)
NX> 595 ERROR: A fatal error occurred in NX Server.
NX> 595 ERROR: The exception id is: 8FD0C292. To get detailed
information about
NX> 595 ERROR: the error search for the string 8FD0C292 in the system
log
NX> 595 ERROR: file (usually '/var/log/messages').
NX> 500 ERROR: Last operation failed.


which without being an expert is PROBABLY why i cant connect

I have READ all the PDF's and some of the FAQ's as well as a DOC I found online, and still cant figure it out.

I'd REALLY love to get this working. any and all help is appreciated.

thanks

J
wardevil
All i did to make mine working in a 2009 install,after bannging the wall with my head,was to changes some settings in the sshd_config related to X11 forwarding,where is the settings:

AllowAgentForwarding yes
AllowTcpForwarding yes
X11Forwarding yes
X11UseLocalhost yes
PermitTunnel yes

That did the trick in my case,just uncomment out those lines and change if not equal...

Cheers.....
mindwave
having never used SSH I probably sound pretty stupid.

but I did a search of all my HD's and dont have a file sshd_config.

Is this a config file that gets built by hand or should it be automatically setup by default?

Thanks

j
ianw1974
This config file is relevant to openssh-server so if you have this package installed, it will exist in /etc/ssh/sshd_config.
wardevil
Nomachine nxserver works like a charm.....even more easy to setup than freenx rpms provided by mandriva in the mirrors.....so if you want to set it up very easely just install the i386 rpms(they are 3 of them) from the nomachine website and install openssh-server too if not installed yet.

All you have to do is to create a new keygen for ssh to authenticate the user....just run:
CODE
nxserver --keygen


and copy the key to the client.

CODE
nxserver --useradd username


to add a user named username in this case to the allowed users to connect to nxserver(should be a valid username in the system and must be able to login via ssh)

CODE
nxserver --restart


and off you go....should be able to start a session.

If you run nxserver and a command not found is diplayed you need to put /usr/NX/bin/ in your PATH.If you run in a konsole:

CODE
export


you will be able to see if nxserver bin dir is in your PATH if not then you need to:
CODE
PATH=$PATH:/usr/NX/bin/


Hope it helps....

Cheers....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.