[FreeNX-kNX] FreeNX in Fedora 7 refuses to work

Ronald ronald645 at gmail.com
Wed Sep 26 19:41:04 UTC 2007


Ronald schreef:
> hi everyone,
>
> I'm posting to this list as a last resort of getting freenx to work:
>
> I tried the distroforums first, but it seems that they don't know either:
>
> http://forums.fedoraforum.org/showthread.php?p=871332
>
> Anyway, since this is my last resort, I will try to be as clear as 
> possible of my last actions:
>
> I installed the freenx by downloading the Fedora Core 7 packages:
>
> yum install freenx nx
>
> And I installed the closed source viewer from the nomachine site:
>
> rpm -i 
> http://64.34.161.181/download/3.0.0/Linux/nxclient-3.0.0-78.i386.rpm
>
> Then I tried a few times (quite a lot actually without any result) to 
> get the server going. This is what I tried now:
>
> Remote data from previous attempts:
> /usr/share/doc/free*/nxsetup --uninstall --purge
> rm -rf /home/Ronald/.ssh /root/.ssh /home/Ronald/.nx /root/.nx
> service sshd stop
>
> Retry:
> /usr/share/doc/free*/nxsetup --install                                
>                   # Create my own keys
> service sshd stop
> cd 
> /etc/ssh/                                                            
>                            # It seems that SSH only picks up keys at 
> this place (weird?)
> rm -rf ssh_host_dsa_key.pub ssh_host_dsa_key
> cp /etc/nxserver/users.id_dsa.pub 
> ssh_host_dsa_key.pub                      # Copy the generated keys to 
> the /etc/ssh directory (I did the private one too, while I know that 
> is not neccessary)
> cp /etc/nxserver/users.id_dsa ssh_host_dsa_key
> service sshd restart                                                   
>                         # Restart the SSH-server (I attach the 
> ssh.conf for you)
> /usr/libexec/nx/nxserver --adduser Ronald                              
>             # Add myself to the users
> /usr/libexec/nx/nxserver --passwd Ronald
> /usr/libexec/nx/nxserver --start                                       
>                     # Start the server (never saw any documentation 
> about this, but I think it's neccessary)
>
> The client:
>
> Host: 
> 127.0.0.1                                                         
>                        # Firewall configured to allow
> Password: <as entered during the --passwd Ronald>
> Key: The content of: /etc/ssh/ssh_host_dsa_key
>
> Ok, connection gives this:
>
> "Server not installed or NX access disabled"
>
> The log says:
> NX> 203 NXSSH running with pid: 15977
> NX> 285 Enabling check on switch command
> NX> 285 Enabling skip of SSH config files
> NX> 285 Setting the preferred NX options
> NX> 200 Connected to address: 127.0.0.1 on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> NX> 204 Authentication failed.
>
For the record, I just tested SSH with putty. I can get a terminal 
tunneled over the internet with the keys I made myself....



More information about the FreeNX-kNX mailing list