Tagged: linux ubuntu headless
December 22, 2022 at 19:01 #42108
Dear NoMachine team,
I was successfully using headless-Ubuntu desktop from OS X with NoMachine. But after moving to a new IP address (because of mispayment some day for my cloud service) I can’t connect with password authentication to headless-Ubuntu via NoMachine anymore.
My hell loop:
First time NoMachine has several unsuccessful attempts to connect and eventually fails with the logs which is attached in file with name
All further attempts to connect finish with the message
<No available desktops on this server>.
Here is a list what I tried, but it didn’t help:
1) sudo /etc/NX/nxserver –restart
2) reinstallation of NoMachine on server side
DefaultDesktopCommandefault at /usr/NX/etc/node.cfg into all possible options.
NoMachine version: Version 8.2.3
Ubuntu version: Ubuntu 20.04.5 LTS
Ubuntu available desktops:
$ grep ^Exec /usr/share/xsessions/*.desktop
December 23, 2022 at 15:12 #42122katpanParticipant
/usr/share/xsessions/ubuntu.desktop:Exec=env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --systemd --session=ubuntu
In order to investigate, we need the logs from server side.
More info on how to collect logs here in this article: https://kb.nomachine.com/AR10K00697?s=%20how%20to%20collect%20logs
Can you please send them by email to forum[at]nomachine[dot]com, making sure to reference the topic as the subject of the email?
Thanks!December 27, 2022 at 09:36 #42130
I’ve sent logs to the email which you provided. But I’m not sure if it was delivered. Let me know if there are some problems.December 27, 2022 at 10:40 #42145katpanParticipant
I confirm we received the logs, and we are investigating the issue.
Thank you for your patience 🙂January 3, 2023 at 10:26 #42275fra81Moderator
please try to run this command on the server machine and tell us if it reports any error:
sudo /etc/NX/nxserver --eglcapture yes
Then restart the display manager and the NoMachine server to make changes effective:
sudo systemctl restart display-manager sudo /etc/NX/nxserver --restart
Let us know if that solves the problem.January 18, 2023 at 16:48 #42566
This solved my problem 🙂February 15, 2023 at 17:15 #42962
I was using NoMachine for sometime, after I had run your commands. But I was suffered with double login screens and systematic faults of Ubuntu OS.
Then I found out that I had gdm3 proceess in processes tree with systemd parent process.
So, I ran:
sudo systemctl stop gdm
then turned off eglcapture with command:
sudo /etc/NX/nxserver –eglcapture no
and restarted nxserver.
Now it seems that everything works OK. I suppose that your solution can be called temporary, but mine should help for using headless OS in more reliable and stable way.February 16, 2023 at 09:55 #42966BritgirlParticipant
Launching the command we suggested would have allowed for further debugging, but disabling -egl completely obviously removes the root problem. Thanks for the update.
This topic was marked as solved, you can't post.