Jach's personal blog

(Largely containing a mind-dump to myselves: past, present, and future)
Current favorite quote: "Supposedly smart people are weirdly ignorant of Bayes' Rule." William B Vogt, 2010

Installing NoMachine on Gentoo

I had some trouble getting the NoMachine server to work on my Gentoo box, but eventually I prevailed. I'm putting this out there in case anyone else had some issues.

This page is accurate to start out with: Extract the archive to /usr/NX, run the installer with --install redhat. If you want to add the /etc/init.d/nxserver service to startup, you'll have to use rc-update yourself.

If you don't install to /usr/NX, you may find an error starting the nxnode or nxd services. At least I did. Anyway, now you can try to log in, but you'll probably fail. In that case, run /usr/NX/bin/nxserver --userlist and verify there are no users. That's the first problem. Remedy it with /usr/NX/bin/nxserver --useradd <yourusername> --administrator. You're not done yet though. The nx user needs to be in the wheel group (su), so run usermod -a -G wheel nx. Finally, run /usr/NX/bin/nxserver --restart and you should now be able to login. Have fun!

See Full Post and Comments