kanotix.com

Networking - FreeNX

rich.bradshaw - 17.05.2006, 12:08 Uhr
Titel: FreeNX
Help!

I have been using VNC to connect to my Kanotix box, which works fine. I haev ssh working fine as well.

I am trying to setup freeNX to connect from a windows pc.

# nxserver --status

NX> 100 NXSERVER - Version 1.4.0-45-SVN OS (GPL)
NX> 110 NX Server is running
NX> 999 Bye

# /etc/init.d/ssh start
Starting OpenBSD Secure Shell server: sshd

$ nxsetup-kanotix

I told it use no-machine keys.

Right. All ok so far?

On windows I am using the nomachine nx client for windows. When I try and connect I get:

NX> 203 NXSSH running with pid: 2712
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
ssh: connect to host myipaddress port 5000: Connection refused

Now I have forwarded it correctly and let the connection through firestarter.

Why is it refusing the connection?

Thanks!
slh - 17.05.2006, 13:33 Uhr
Titel: FreeNX
Set ssl encryption in your client.
rich.bradshaw - 17.05.2006, 16:54 Uhr
Titel: FreeNX
Tried that but still not working, I'm still getting the same error... I should be loggin on with my normal account username and password right, not a special nx one?

This time the Windows firewall checked to see if it could let it go through, which it didn't notice last time.
rich.bradshaw - 17.05.2006, 18:53 Uhr
Titel: FreeNX
I tried

# nxserver --adduser username
# nxserver --passwd username

to add me as a user, this was successful, but didn't help my cause!
slh - 17.05.2006, 18:56 Uhr
Titel:
That's actually by far the worst you could do.
rich.bradshaw - 17.05.2006, 19:24 Uhr
Titel:
thanks. lol

What do you think I should do? I'm confused as to what's happening.

if I try and connect over port 22 instead of 5000 i get:

NX> 203 NXSSH running with pid: 568
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 88.105.82.184 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

I notice it is authenticating user called nx, i tried to create a user called nx on the system but not sure that I'm doing it right.

What should I do? I found this http://www.gnomeuser.org/documents/howto/nx.html, but it isn't really helping me... Any ideas?
rich.bradshaw - 17.05.2006, 19:29 Uhr
Titel:
Cool. got it sorted!

Basically had to allow user nx to connect in shhd_config, i had only allowed me.

Steps are:

add a user called nx (is this needed?)
copy all the files in my /home/richard/.ssh to /home/nx/.ssh (is this needed?)
let nx connect via ssh using shhd_config
restart ssh

and you are done...

easy when you know how!
rich.bradshaw - 17.05.2006, 19:31 Uhr
Titel:
aside: why is nx so much quicker than vnc? Can a user use the computer locally at the same time without inteference? If I play music via freenx will it come out of speakers at local pc?

- Are there any portable versions of NX for Windows? I can't install software into Windows at uni. I have a unix machine as well at uni, but again I can't install software and don't want to comprimise the security in place there.
Roughnecks - 17.05.2006, 20:29 Uhr
Titel:
rich.bradshaw hat folgendes geschrieben::
- Are there any portable versions of NX for Windows? I can't install software into Windows at uni. I have a unix machine as well at uni, but again I can't install software and don't want to comprimise the security in place there.


yes it is possible. i use it a lot.
http://kde-apps.org/content/show.php?content=29637
get the qsclient and install it on windows. then choose to create an usb stick installation or something. then you can copy that to a stick or cd and run it without installation.
rich.bradshaw - 17.05.2006, 21:37 Uhr
Titel:
qsclient see,s only to be a front end, when I load it it loads nxclient - does it provide its own support for nx on its own?
Roughnecks - 17.05.2006, 22:16 Uhr
Titel:
oh well, i forgot to tell you.
of course you can download the nxclient from nomachine.com and install it on any windows pc.
though i think you do not have an administration account on your windows computers at uni.
you can install qsclient at home, install the nxclient through qsclient, and then choose the "install to usb stick" (or something) option in qsclient to have a portable version of the nxclient.
copying a nxclient install directory didn't work. i only got a portable nxclient for windows with this qsclient thing.
rich.bradshaw - 18.05.2006, 09:15 Uhr
Titel:
That is perfect! Thanks a lot!
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007