[FreeNX-kNX] freenx was working, now authentication error

Jon Severinsson jon at severinsson.net
Mon Mar 28 13:43:56 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

As you speek of emerge, I suppose you run Gentoo and have installed
freeNX 0.2.8 through portage. Is this assumption correct?

The easiest way to track down errors is to enable logging (in 0.2.x set
NX_LOGGING=1 in the nxserver script, in 0.3.x set NX_LOGGING=1 in the
node.conf file). After a single login attempt you will have a
/tmp/nxserver.log (0.2.x) or /var/log/nxserver.log (0.3.x). First try to
read it and se if you make anything out of it, if you cant' attack it to
the list.

I think the error most likely is either a misconfiguration in ssh during
the update (check that both PasswordAuthentication and
PubkeyAuthentication is enabled in /etc/ssh/sshd_config) or that some nx
component went missing in the crach.
The later can be fixed (guaranteed, but will take some time) by removing
all nx components (emerge -avC nxcomp nxproxy nx-x11 nxserver-freenx
nxssh nxclient && rm -r /usr/NX) followed by 'emerge -av
nxserver-freenx'. I would recomend trying to use the log to figgure out
what component/file has the error instead of reinstalling it all, but
mainly becouse it'll take a few hours to recompile it all...

Hope this help

Regards
Jonno

Ben Voigt wrote:
| I'm running CoLinux, and it caused a Windows STOP error, so my
| reiserfs filesystem was unmounted uncleanly.  When I rebooted, dmesg
| said "finishing unlinking" some 15 files, given numericly (the inodes
| I would guess).
|
| Now I can still log into ssh, but the NoMachine NX client only gets as
| far as authenticating and then says authentication failed.  I guess
| some important freenx file got unlinked by the filesystem crash.  I
| tried nxserver --stop and nxserver --start in order to recopy the
| public keys, but that didn't help.
|
| I had also been upgrading some software with emerge -uavD world,
| perhaps something there affected freenx.
|
| Any advice on how to track down the cause of failure?
| _______________________________________________
| FreeNX-kNX mailing list
| FreeNX-kNX at kde.org
| https://mail.kde.org/mailman/listinfo/freenx-knx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCSAocOOpxqcksWu4RAmtmAJ40oMhHw072s18OBgdW6iiN944jEwCgkVwr
SwaC9MLugAOlsOVqXL7VB/E=
=Vo2W
-----END PGP SIGNATURE-----



More information about the FreeNX-kNX mailing list