-
Senior Member
registered user
FreeNX: Logging in as normal user
I installed the NX server (GPL Ed.) on a Kanotix box, and the NX client on another Kanotix box. The message from "nxsetup" said to copy /home/.nx/.ssh/client.id_dsa.key on the server to /usr/NX/share/ on the client, overwriting the one there.
If I log into KDE as root, I can run the client and log into the server just fine. But if I'm logged on as my normal user on the client machine, the connection times out, with the message
"NX> 205 Enter passphrase for key '/usr/NX/share/client.id_dsa.key':"
(of course, you only see the message after the connection times out, because the client doesn't open a terminal window).
What should I do?
-
Senior Member
registered user
you may need to change the id_dsa on the client side to world readable(chmod 0755). Just check the ownership and access mode, it must be related to that.
-
Senior Member
registered user
I installed the NX server (GPL Ed.) on a Kanotix box, and the NX client on another Kanotix box. The message from "nxsetup" said to copy /home/.nx/.ssh/client.id_dsa.key on the server to /usr/NX/share/ on the client, overwriting the one there.
No, you don't need to do that. That's why you get the "NX> 205 Enter passphrase for key '/usr/NX/share/client.id_dsa.key':" error. Hope you have the original back up.
What you need to do is recreate nomachine key on the server side..
nxsetup --setup-nomachine-key
after you create nx user and their password:
nxserver --useradd NEW_USER
nxserver --passwd NEW_USER
-
Senior Member
registered user

Originally Posted by
shah
I installed the NX server (GPL Ed.) on a Kanotix box, and the NX client on another Kanotix box. The message from "nxsetup" said to copy /home/.nx/.ssh/client.id_dsa.key on the server to /usr/NX/share/ on the client, overwriting the one there.
No, you don't need to do that. That's why you get the "NX> 205 Enter passphrase for key '/usr/NX/share/client.id_dsa.key':" error. Hope you have the original back up.
What you need to do is recreate nomachine key on the server side..
nxsetup --setup-nomachine-key
after you create nx user and their password:
nxserver --useradd NEW_USER
nxserver --passwd NEW_USER

That is for nx setup using its own ssh key and own user database. The newer version(and at least the freenx) allows you to have your own ssh key as well as using the standard pam modules(once the ssh session is established using the special NX client).
What eco2geek did was perfectly ok(I prefer that too from a security perspective as no other NX client can get into your machine, blocked at the ssh level), just a few permission issues needs to be sorted out.
-
Senior Member
registered user
I see............
If that the case, this link might help:
http://mail.kde.org/pipermail/freenx...er/000359.html
-
Senior Member
registered user
Thank you, garyng, you hit the nail on the head. Works.
(The user and password were already added, otherwise I couldn't have logged on even as root. I will admit to not knowing what the heck I'm doing here; I assumed that one would have to pay in order to get a key from NoMachine.)
-
Senior Member
registered user

Originally Posted by
eco2geek
Thank you, garyng, you hit the nail on the head. Works.
(The user and password were already added, otherwise I couldn't have logged on even as root. I will admit to not knowing what the heck I'm doing here; I assumed that one would have to pay in order to get a key from NoMachine.)
No you don't. NoMachine has one client key in their product so every client can talk to every server. This is essentially a secure tunnel, the authentication is done through this tunnel(Windows logon, PAM or its own). I just paranoid and don't want other NX clients to establish tunnels to my machines, thus the generated client key(just a SSH key pair).
Similar Threads
-
By rwcitek in forum General Support
Replies: 1
Last Post: 01-16-2006, 12:39 AM
-
By dougvega in forum General Support
Replies: 1
Last Post: 10-09-2005, 12:48 AM
-
By dougvega in forum Networking
Replies: 0
Last Post: 09-09-2005, 05:13 PM
-
By urpk in forum General Support
Replies: 1
Last Post: 05-01-2004, 03:18 PM
-
By morder in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-01-2003, 08:21 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$159.99

Hitachi HUS726060ALA640 6TB 7.2K SATA 3.5 6G HDD Hard Disc Drive
$109.99

New Western Digital WD40EFPX 68C6CN0 4TB 3.5" SATA III Internal NAS Red Plus HDD
$137.59

Western Digital WD Blue WD10EZEX 1 TB 3.5" SATA III Desktop Hard Drive
$23.99

Hitachi / HGST Travelstar HTS541010B7E610 1TB 2.5" SATA III HDD
$29.99

HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED
$34.95

HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health
$78.00

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

HUS726060ALA640 HGST Ultrastar 6TB SATA 6Gbps 7.2K 3.5" Hard Drive OF21860
$129.99

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00