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
  •  


Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A picture

Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A

$34.99



SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE picture

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE

$214.99



Western Digital 256GB NVMe 2280 80mm SSD SDAPNUW-256G-1006 L18845-002 SN520 picture

Western Digital 256GB NVMe 2280 80mm SSD SDAPNUW-256G-1006 L18845-002 SN520

$29.99



2 x SanDisk Plus SDSSDA 2.5

2 x SanDisk Plus SDSSDA 2.5" 240GB Solid State Drive

$29.50



Crucial MX500 500GB 2.5

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1

$52.99



Samsung 860 EVO 500GB 2.5

Samsung 860 EVO 500GB 2.5" SATA III SSD MZ-76E500 MZ7LH500HALU

$50.00



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.80



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive

$39.99



Kingston 128GB M.2 SATA III SSD  picture

Kingston 128GB M.2 SATA III SSD

$13.00