# 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: https://www.nomachine.com/AR03L00789 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!

#### Posted on 2014-09-02 by Jach

Tags: tips

Back to the top

Comment using the form below

(Only if you want to be notified of further responses, never displayed.)

LaTeX allowed in comments, use $\\...\\$\$ to wrap inline and $$...$$ to wrap blocks.