Forum / NoMachine for Linux / Cannot get nx to work with headless Ubuntu machine
- This topic has 5 replies, 3 voices, and was last updated 3 years ago by nessus42.
-
AuthorPosts
-
October 6, 2021 at 21:34 #35640nessus42Participant
Hi. I’d like to get NX working from my Mac at home to a headless Ubuntu machine at work. I used NX heavily previously, but in the distant past. I loved it when I used it, and would like to use it in rootless mode.
As I mentioned, the Ubuntu machine in question is headless and I think doesn’t have any X11 server software installed on it. (It does have xterm, etc.) In the past I was a Linux sysadmin and knew how to do everything Linux, but that was a long time ago. And that was on RedHat, not Ubuntu. So you may have to answer my questions as if you were talking to an idiot.
I was hoping to use the internal X11 server for NX that I’ve seen mentioned in the NX documentation for headless machines, and hoped that this would just work automatically. But no such luck. I installed xvfb using apt-get, hoping that might help. It seemed to a bit, in that now the NX client on my Mac prompted me to create a “display”. And now the NX client asks me if I want to connect to the display. But when I do so, I end up on a screen that says, “<No available desktops on this server>”. And the “New desktop” button is greyed out.
I installed NX on the Ubuntu box by downloading the 64-bit DEB version and following the instructions. /etc/issue on the Ubuntu box says that the machine is running Ubuntu 20.04.3 LTS. The Mac is running Catalina.
Thanks for any help that you might offer.
October 7, 2021 at 10:29 #35647BritgirlKeymasterHi, I’m assuming you’ve installed the latest version both sides and that you are connecting to a free NoMachine installation, or have you installed one of our other products there? What’s the desktop environment installed there?
October 7, 2021 at 17:25 #35659nessus42ParticipantYes, I have the last version of NX installed on both the Ubuntu box and my Mac.
There’s no desktop environment installed on the Ubuntu box. Just xvfb.
Is a desktop environment needed?
I don’t want to use a desktop environment on the Ubuntu box. I want to use it rootless, which is how I’ve used NX in the past, from a Windows computer at home to a Red Hat computer at work.
When I used NX rootless in the past, I never saw a remote desktop environment on my Windows computer. Just remote applications, running in their own windows on my home computer.
Though in that case, it was my desktop Linux computer at work, so it did have a real X server installed and it did have Gnome installed, even though I never saw Gnome when I was using the remote Linux computer from home via NX rootless.
October 7, 2021 at 17:28 #35660nessus42ParticipantP.S. Yes, I’m using the free versions of NX on both my client Mac at home and the server Ubuntu box at work. Both are the most recent versions. I installed them yesterday.
October 25, 2021 at 17:40 #35950CarinParticipantHi nessus42,
Rootless sessions are only available with NoMachine Terminal Server family products (https://www.nomachine.com/terminal-server).
To use the NoMachine free version, a desktop environment must be installed.
October 26, 2021 at 01:35 #35958nessus42ParticipantAh, thanks! But quel dommage.
-
AuthorPosts
This topic was marked as solved, you can't post.