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
  •  


Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS picture

Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS

$3599.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR picture

Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR

$80.00



CISCO SFP-10G-ER 10-2531-02 10GBASE-ER SFP+ 10G 1550nm 40km 1PCS picture

CISCO SFP-10G-ER 10-2531-02 10GBASE-ER SFP+ 10G 1550nm 40km 1PCS

$135.00



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$83.00



Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch picture

Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch

$34.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.99



Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS picture

Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS

$99.99



Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested picture

Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested

$799.99



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W Network Switch picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W Network Switch

$41.64