[FreeNX-kNX] Fw: Fw: The NX service is not available

sohbay at gmail.com sohbay at gmail.com
Sun Oct 14 21:24:40 UTC 2007


update:

I have copied nxloadconfig into /etc/nxserver and ran the setup again 

/usr/share/doc/freenx-0.7.0/nxsetup --install

but still I get the same error
-----------------------------------------
NX> 203 NXSSH running with pid: 2648
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:  on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
-----------------------------------------
here is the setup bash, I like how it says "Have Fun" at the end :(
I cant see any fun trying to set this up.

Do you want to use your own custom KeyPair? [y/N] n
Setting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nx/nxserver.log ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done
Setting up cups nxipp backend ...done

----> Testing your nxserver configuration ...
Warning: Invalid value "COMMAND_FOOMATIC=/usr/lib/cups/driver/foomatic-ppdfile"
         Users will not be able to use foomatic.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
         Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.

  Warnings occured during config check.
  To enable these features please correct the configuration file.

<---- done

----> Testing your nxserver connection ...
HELLO NXSERVER - Version 1.5.0-70 OS (GPL)
NX> 105 quit
Quit
NX> 999 Bye
<--- done

Ok, nxserver is ready.

PAM authentication enabled:
  All users will be able to login with their normal passwords.

  PAM authentication will be done through SSH.
  Please ensure that SSHD on localhost accepts password authentication.

  You can change this behaviour in the /etc/nxserver/node.conf file.

Have Fun!
[root at server ~]#

----- Original Message ----- 
From: sohbay at gmail.com 
To: User Support for FreeNX Server and kNX Client 
Sent: Sunday, October 14, 2007 8:40 PM
Subject: Re: [FreeNX-kNX] Fw: The NX service is not available


Thanks for the help Terje

I have spent about 8 hours reading everything on the internet but still I cannot make this work!

I have uninstalled it and made sure there were no lingering installations

I installed freenx with yum and its dependency NX

then I ran the setup and this what I have now.

[root at server ~]# /usr/share/doc/freenx-0.7.0/nxsetup

------> It is recommended that you use the NoMachine key for
        easier setup. If you answer "y", FreeNX creates a custom
        KeyPair and expects you to setup your clients manually.
        "N" is default and uses the NoMachine key for installation.

 Do you want to use your own custom KeyPair? [y/N] n

which: no nxloadconfig in (/usr/share/doc/freenx-0.7.0:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/NX/bin:/root/bin)
/usr/share/doc/freenx-0.7.0/nxsetup: line 130: .: filename argument required

.: usage: . filename [arguments]

Setting up  ...mkdir: missing operand

Try `mkdir --help' for more information.

[root at server ~]#


  ----- Original Message ----- 
  From: Terje Andersen 
  To: freenx-knx at kde.org 
  Sent: Sunday, October 14, 2007 4:28 PM
  Subject: Re: [FreeNX-kNX] Fw: The NX service is not available


  ----- Melding fra terander at guard.zapto.org ---------
      Dato: Sat, 13 Oct 2007 23:48:18 +0200
       Fra: Terje Andersen <terander at guard.zapto.org>
  Svar-til: User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>
      Emne: Re: [FreeNX-kNX] Fw: The NX service is not available
       Til: User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>


  > On Fri, 2007-10-12 at 23:50 +0200, sohbay at gmail.com wrote:
  >> Hello group,
  >>
  >> I sent this message a few days ago.. but im not sure if it got through
  >> or no one is interested in helping?
  >>
  >> Im at the end of my teather please help! :(
  >>
  >> --
  >>
  >> I had freenx working fine on my fedora core 7.8 last week , but now it
  >> says the following-
  >>
  >> The NX service is not available or the NX access was disabled on host
  >>
  >> I have pasted in the key but as you can see from the log its showing
  >> "Authentication failed.?
  >>
  >> NX> 203 NXSSH running with pid: 2260
  >> 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:  on port: 22
  >> NX> 202 Authenticating user: nx
  >> NX> 208 Using auth method: publickey
  >> NX> 204 Authentication failed.
  >>
  >
  > This means you have SSH authentication trouble, check that the file
  > exists according to your setting in node.conf (SSH_AUTHORIZED_KEYS =
  > "authorized_keys2"). Check the SSHD configuration (is the 'nx' user
  > allowed to login?) according to the wiki on
  > http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
  >
  > If all fails, try to run the setup again and reinstall manually (use
  > nxsetup).
  >
  >> if I try to start nxserver by typing nxserver --start it just say
  >> command not found!
  >>
  >
  > Check and add the path to the binaries for FreeNX.
  >
  >> I have removed nx server and NX using yum and re-installed them both
  >> and pasted in the key but it just will not work!
  >>
  >> Can anyone please help me, I have been trying for days :(
  >>

  I tried to help you, but you need to do something yourself too.... ;-)

  If you're unsure where the nxserver binaries is, do as root:

  root#> updatedb

  root#> locate nxsetup
  (here you most probably will find the other binaries from FreeNX aswell)

  then specify the complete path (like this: /usr/bin/NX/nxsetup --help)

  I again advise you to look at the Wiki page I gave earlier for more detailed help.

  /Terje



------------------------------------------------------------------------------


  ________________________________________________________________
       Were you helped on this list with your FreeNX problem?
      Then please write up the solution in the FreeNX Wiki/FAQ:
    http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
           Don't forget to check the NX Knowledge Base:
                   http://www.nomachine.com/kb/ 

  ________________________________________________________________
         FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
        https://mail.kde.org/mailman/listinfo/freenx-knx
  ________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20071014/3b4abfa0/attachment.html>


More information about the FreeNX-kNX mailing list