Forum Replies Created
Just wanted to update that I solved the problem by disabling ubuntu’s display manager/gdm3. I login into a terminal and launch awesome wm using startx. My hypothesis was correct – the interaction between gdm and awesome wm must disable some key setting that allows NoMachine to recognize GUI.
I’ve noticed that on my laptop where the server works well, it says ‘Desktop shared’ in the server status, however, on my desktop where it doesn’t work it says ‘Desktop not shared’. Therefore, there has to be something that’s preventing NoMachine from recognizing a running GUI.
That is exactly what I did – I’ve been logged in throughout all of the above responses/attempts in this thread. The login screen issue might be pointing towards the problem – maybe something to do with the login manager and awesome?
I haven’t tried using nouveau – it’s likely not the cause since I can connect when logged into Gnome on the server. The issue sticks without the xrandr config script; even when I set one of the monitors as primary or use an alternate monitor config (eg mirror), the black screen persists.
What is the root cause of black screen – NoMachine not being able to detect a running graphical environment? How does NoMachine check that one is running?
No black screen when connecting to Ubuntu/Unity desktop environments. Server side logs for a failed connection to Awesome WM are attached.
Please note that I used the same set of credentials to connect to both sessions (Unity & Awesome) – this is the same set I use to login to my desktop session.
Thank you for your reply.
I have attached the xrandr output as well as my startup script that sets up the dual display. Lowering the resolution has no effect; I don’t think any decimal scaling is applied.
Interestingly, I was able to connect to my my laptop (Ubuntu 18.04 + Awesome WM) from my desktop. So the problem is either with
1. dual monitors
2. interaction between Ubuntu 20 / Awesome / NoMachine
I tested #1 by disconnecting one of the monitors but still got a black screen. Any suggestions?
The monitors are connected via HDMI to one of the GPUs and are turned on. I am logged in to the same user account on the desktop.
I restarted the server after disabling hardware encoding, still get the black screen 🙁