Autor |
Nachricht |
|
Titel: FreeNX
Verfasst am: 17.05.2006, 12:08 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
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! |
|
|
|
|
 |
|
Titel: FreeNX
Verfasst am: 17.05.2006, 13:33 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
Set ssl encryption in your client. |
|
|
|
|
 |
|
Titel: FreeNX
Verfasst am: 17.05.2006, 16:54 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
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. |
|
|
|
|
 |
|
Titel: FreeNX
Verfasst am: 17.05.2006, 18:53 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
I tried
# nxserver --adduser username
# nxserver --passwd username
to add me as a user, this was successful, but didn't help my cause! |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 18:56 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
That's actually by far the worst you could do. |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 19:24 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
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? |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 19:29 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
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! |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 19:31 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
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. |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 20:29 Uhr
|
|

Anmeldung: 13. Dez 2004
Beiträge: 730
Wohnort: Deutschland
|
|
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. |
_________________ Kanotix 2006-1 RC4 (daily dist-upgraded)
Deutsches Kanotix Wiki - English Kanotix Wiki
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 21:37 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
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? |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.05.2006, 22:16 Uhr
|
|

Anmeldung: 13. Dez 2004
Beiträge: 730
Wohnort: Deutschland
|
|
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. |
_________________ Kanotix 2006-1 RC4 (daily dist-upgraded)
Deutsches Kanotix Wiki - English Kanotix Wiki
|
|
|
|
 |
|
Titel:
Verfasst am: 18.05.2006, 09:15 Uhr
|
|

Anmeldung: 14. Jan 2006
Beiträge: 287
|
|
That is perfect! Thanks a lot! |
|
|
|
|
 |
|