How to fix broken NX user authentication after OpenSSL fix

It looks like OpenSSH Keys generated on Debian derived distros (Ubuntu/Voyage etc.) are REALLY bad. I’m currently rolling out OpenSSL key updates as adviced on

One casualty of this update was my NX server using freenx. It just tells me that I can’t be authenticated. In the log /var/log/freenx.log it shows the following:

— NX SERVER START: -c /usr/lib/nx/nxserver – ORIG_COMMAND=
HELLO NXSERVER – Version 2.1.0-71 OS (GPL)
NX> 105 hello NXCLIENT – Version 2.1.0
NX> 134 Accepted protocol: 2.1.0
NX> 105 login
NX> 101 User: shuerlimann
NX> 102 Password:
NX> 404 ERROR: wrong password or login
NX> 999 Bye

This post talks about the NoMachine NX Server, but gave me the necessary clues:

The magic command for freenx from
on Ubuntu is

sudo rm /var/lib/nxserver/home/.ssh/known_hosts

This is necessary, as the SSH host key has been updated… Well, a more informative error message would’ve been nice, but I’m thankfull to the guys who produce freenx, anyway;-)


links for the config-burdened

A few links for the config-burdened sysadmins:
* Dpsyco: Debian packages of system configurations
* Puppet: centralised configuration management for networks
* IsiSetup: modular revision control for config files
* Cfg: Configuration File Tracking, emitting Puppet configs

[Feisty Fawn] No degregated RAID update

ADVICE: Don’t upgrade to Ubuntu Feisty Fawn if you’re using LILO on a degregated software RAID. Resync first, as told by this forum posting… I had to boot an old kernel (and who remembers which key to press to show the LILO menu?) The kernel packages weren’t able to build the initramfs and running lilo didn’t help, either. Resyncing was the key to success, though.

Buy the server if you can’t get the card

Our Compaq ProLiant ML 350 G2 is our “Achilles’ heel“. We don’t have spare parts for this machine. It’s the only SCSI system, running 3 Disks as a hardware RAID 5. The controller is some kind of Compaq SMART Array controller. Well, it didn’t work anymore after one boot. All the data still there, mirrored and all… but we couldn’t get at it. A few calls later we knew that a new, original controller would be available in 5 to 10 business days:-( Later that day, we found out that all Compaq SMART Array controller should be data compatible! We thus searched on Ebay et all, but didn’t find a local offer. We ordered a card from Germany, but they didn’t react on phone calls or faxes. Ramon did some more Ebay browsing and found one shop selling Compaq ProLiant ML 360 Rack servers for a reasonable price. We did only realize that a rack server probably will have an onboard SCSI controller when we got it. Well, it didn’t provide a SCSI cable connector, but only 2 DH slots. Problem was, that the controller did complain about changed order of disks, and changing disks didn’t help. It was only the last combination we tried that made the server boot with the degregated RAID 5 Array.

[Feisty Fawn] dot local

On of the most useful Feisty Fawn improvements is the integration of avahi. Using MDNS, you may address systems on the same network segment using a hostname instead of IP addresses. It’s dead simple: hostname.local:
shuerlimann@leni:~/$ ping otherhost.local
PING otherhost.local ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=64 time=36.5 ms

Just make sure you allow incoming connections on UDP port 5353.

It looks like systems updated from Edgy Eft don’t get this feature by default. Please give me some hints how to do that if you know how to do it:-)

[Feisty Fawn] enable guided partitioning of free space

If you don’t have unpartitioned space on your drive, but would like to delete an existing partition and use this space, here’s the HOWTO…

The ‘use larges free space’ option in the Kubuntu Feisty Fawn partitioner is only available if there is some unpartitioned space. Unfortunately, you can’t choose the manual partitioner, delete a partition and choose the mentioned method. The IMHO simplest method is to close the installer, open up konsole (ALT-F2 -> konsole), start cfdisk (‘sudo cfdisk /dev/hda’ where /dev/hda is the drive you’d like to partition) and delete the partition. Then start the installer again. Now the ‘free space’ method should be available.

There might be a possibility to use the visual partitioner instead of cfdisk, but I don’t know. Leave a comment if YOU do…