Results 1 to 7 of 7

Thread: FreeNX: Logging in as normal user

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568

    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?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    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.

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    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


  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    Quote 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.

  5. #5
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    I see............
    If that the case, this link might help:
    http://mail.kde.org/pipermail/freenx...er/000359.html

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    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.)

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    Quote 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

  1. FreeNX, VNC, sharing desktops
    By rwcitek in forum General Support
    Replies: 1
    Last Post: 01-16-2006, 12:39 AM
  2. freeNX in 4.0.2
    By dougvega in forum General Support
    Replies: 1
    Last Post: 10-09-2005, 12:48 AM
  3. freenx and ltsp
    By dougvega in forum Networking
    Replies: 0
    Last Post: 09-09-2005, 05:13 PM
  4. File Saving when logged as normal user ...
    By urpk in forum General Support
    Replies: 1
    Last Post: 05-01-2004, 03:18 PM
  5. Loading NTFS partition from normal user
    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
  •  


New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD picture

HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD

$249.99



HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM picture

HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM

$289.99



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD picture

Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD

$199.99



Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server picture

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server

$689.00



Supermicro 1U Server 5019C-WR X11SCW-F Xeon E-2174G 3.8Ghz 32GB RAM M.2 NVME   X picture

Supermicro 1U Server 5019C-WR X11SCW-F Xeon E-2174G 3.8Ghz 32GB RAM M.2 NVME X

$369.00



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers* picture

Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers*

$159.99