[FreeNX-kNX] Fw: Fw: The NX service is not available
sohbay at gmail.com
sohbay at gmail.com
Tue Oct 16 13:57:49 UTC 2007
----- Original Message -----
From: "Terje Andersen" <terander at guard.zapto.org>
To: "User Support for FreeNX Server and kNX Client" <freenx-knx at kde.org>
Sent: Tuesday, October 16, 2007 1:26 AM
Subject: Re: [FreeNX-kNX] Fw: Fw: The NX service is not available
> On Sun, 2007-10-14 at 23:24 +0200, sohbay at gmail.com wrote:
>>
>> update:
>>
>> I have copied nxloadconfig into /etc/nxserver and ran the setup again
>>
>> /usr/share/doc/freenx-0.7.0/nxsetup --install
>
> According to the 'which' error (who looks for the program/bash-script
> 'nxloadconfig'), it looks like the package you installed with yum should
> have installed the FreeNX binaries in '/usr/NX/bin'. Check if that
> directory is there, and if the binaries are missing in that folder, I
> would recommend to remove the package with yum again. Then remove/rename
> the '/usr/NX/' directory (and all other FreeNX folders/files you can
> find (use 'locate' as given in previous mail)), and finally reinstall
> with yum again.
> If all goes well this time, the binary files for FreeNX should have been
> placed in /usr/NX/bin/.
>
> You should then run the setup again, but _NOT_ from the documentation
> directory (as you have done so far), with the command:
> /usr/NX/bin/nxsetup
>
> (of course, my thoughts here are based on that the FreeNX files/folders
> are placed in '/usr/NX/', which could be wrong, but the adapt it to the
> place where the 'yum'-package places them.
>
> If this still fails, I would contact the package maintainer and ask him
> what to do, as I have not much experience with Fedora, or it's likes....
>
> Maybe someone with experience with Fedora could step up here.....? ;-)
>
> PS! Try to write your comments below (under) and not above (over) the
> lines of interest like you did here - it helps a lot when trying to
> understand the mail-exchange/thread :-)
>
> /Terje
>
>>
> <Big-Snip>
>>
>> ----- 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
>>
>>
Thanks again for your kind help!
OK I have removed nxserver and its dependency NX using "yum remove freenx"
I then removed all other lingering directories and then ran yum install
freenx with its dependency NX
Then LOCATE
[root at server ~]# locate nxserver
/etc/nxserver
/etc/nxserver/client.id_dsa.key
/etc/nxserver/node.conf.sample
/etc/nxserver/server.id_dsa.pub.key
/etc/nxserver/users.id_dsa
/etc/nxserver/users.id_dsa.pub
/root/nxserver-3.0.0-74.x86_64.rpm
/usr/libexec/nx/nxserver
/usr/libexec/nx/nxserver-helper
/var/lib/nxserver
/var/lib/nxserver/db
/var/lib/nxserver/home
/var/lib/nxserver/db/closed
/var/lib/nxserver/db/failed
/var/lib/nxserver/db/running
/var/lib/nxserver/home/.ssh
/var/lib/nxserver/home/.ssh/authorized_keys
/var/lib/nxserver/home/.ssh/known_hosts
[root at server ~]#
if I run setup it says its not implemented yet?
[root at server~]# /usr/libexec/nx/nxserver --setup
NX> 100 NXSERVER - Version 1.5.0-70 OS (GPL)
NX> 500 Error: Function --setup not implemented yet.
NX> 999 Bye
adding a user and password appears to work OK
[root at server ~]# /usr/libexec/nx/nxserver --useradd root
[root at server ~]# /usr/libexec/nx/nxserver --passwd root
OK
I try to start the server "its already running"
[root at server ~]# /usr/libexec/nx/nxserver --start
NX> 100 NXSERVER - Version 1.5.0-70 OS (GPL)
NX> 500 ERROR: Service already running
NX> 999 Bye
[root at server ~]#
I copy the key from /etc/nxserver/client.id_dsa.key to the nxserver client
and then I try to login and I get the same error "auth failed!
NX> 203 NXSSH running with pid: 3604
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: ip on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
Am I doing something wrong?
Thanks
Tom
More information about the FreeNX-kNX
mailing list