"Remote Login" (Ubuntu bundle Remote Desktop) is not working

Hi!

First of all, Sorry I’m not that much familiar with Ubuntu.

I’v searched and tried multiple options.
I’m not prefer to install additional programs, so I want to try Ubuntu’s pre-settled bundle “Remote Login” But as following, there is only a black screen when I remotely login from macOS.

  • Enabled the “remote login” at Settings menu of Spark
  • I tried to connect to the Spark from my macOS by “windows app”
  • Connected but only black screen with only a mouse cursor.
    The cursor is moving but no response, only black screen.

Spark is fresh new and updated to the latest version.

How can I solve the problem?

and Is there any other options for Remote Desktop to connect spark from remotely? (not SSH)

I’m trying xrdp but it is also not working.

This post may help. Suggested workaround (downgrade) worked on my Spark and is still:

Thx!

But the problem is still there 🥲

What I’ve tried

  1. Tweak *.rdp file on client (macOS)

Many ubuntu forums suggested following as the solution.
export *.rdp file on macOS and change
”use redirection server name:i:0” to “use redirection server name:i:1”

(Result)
This tweak shows me “login” page!
but, after I logged into my spark, black screen again with movable cursor.
No wallpapers, side bars, no GUIs at all.

  1. Downgrade some? packages

In the post, following packages were used

wget http://ports.ubuntu.com/pool/main/f/freerdp3/libfreerdp3-3_3.5.1+dfsg1-0ubuntu1.2_arm64.deb
wget http://ports.ubuntu.com/pool/main/f/freerdp3/libwinpr3-3_3.5.1+dfsg1-0ubuntu1.2_arm64.deb
wget http://ports.ubuntu.com/pool/main/f/freerdp3/libwinpr-tools3-3_3.5.1+dfsg1-0ubuntu1.2_arm64.deb

but… right now (ubuntu1.2) version is not available. there are (ubuntu1.5) versions.
such as

wget http://ports.ubuntu.com/pool/main/f/freerdp3/libfreerdp3-3_3.5.1+dfsg1-0**ubuntu1.5**_arm64.deb
wget http://ports.ubuntu.com/pool/main/f/freerdp3/libwinpr3-3_3.5.1+dfsg1-0**ubuntu1.5**_arm64.deb
wget http://ports.ubuntu.com/pool/main/f/freerdp3/libwinpr-tools3-3_3.5.1+dfsg1-0**ubuntu1.5**_arm64.deb

I tried them, but no change. still black screen after log-in.

Were you able to choose color depth: GFX AVC420 (32 bpp) or GFX H264 AVC444 on your rdp client before connecting?

I also had to upgrade my rdp client to be able to choose said color depth. After, it worked.

The rdp client error message leading me to the rdp client upgrade was:

“Client did not advertise support for the Graphics Pipeline, closing connection”

What does it mean?
The error message “Client did not advertise support for the Graphics Pipeline, closing connection” originates from the server side (usually gnome-remote-desktop-daemon) and means that the RDP server requires the GFX extension, but Remmina (my rdp client) did not negotiate it correctly. Here is the technical background and possible solutions:

Technical Background
The error message refers to the RDP extension [MS-RDPEGFX] (Remote Desktop Protocol: Graphics Pipeline Extension), also known as “GFX” or “RDP 8/10 Graphics Pipeline.” This protocol enables efficient graphics transmission via H.264/AVC, Progressive Codec, and others, and is required in newer versions of GNOME Remote Desktop (gnome-remote-desktop starting with GNOME 46 / Ubuntu 24.04). The server actively closes the connection if the client does not announce this capability during the connection setup in the capability exchange.

Remmina uses FreeRDP internally as its RDP implementation. The problem typically occurs when an older FreeRDP version (2.x) encounters a server that requires FreeRDP 3.x, or when GFX negotiation is suppressed by incorrect connection settings in Remmina.

There are essentially three groups of causes:

  1. Version incompatibility: The server (e.g., gnome-remote-desktop 46+) expects FreeRDP 3.x-compatible behavior; Remmina is still built with FreeRDP 2.x.

  2. Incorrect color profile in Remmina: Certain settings (e.g., “RemoteFX 32bpp”) can affect GFX negotiation or cause conflicts

  3. Missing H.264 support on the client: If the FreeRDP build variant does not include H.264, GFX may not be fully advertised

Maybe those hints help you to get ahead although you are using a Mac while I used a linux machine.

As solution I found with Perplexity:

You have actually two separate problems stacked on top of each other. The .rdp tweak fixed the first one (Error 0x207 / NLA handshake failure), but the black screen with a movable cursor after login is a distinct, second issue: GNOME Remote Desktop is starting your session under Wayland, which fails to render on headless NVIDIA hardware over RDP.

What Is Happening Exactly

The DGX Spark runs Ubuntu 24.04 with GNOME on Wayland by default. When you connect via the “Remote Login” feature (GNOME Remote Desktop / gnome-remote-desktop.service), it tries to spin up a new RDP session using the Wayland compositor. On a headless ARM system with NVIDIA GPU, the Wayland compositor cannot properly initialize a virtual display for the RDP session — you get the session (the cursor moves), but no desktop renders. The libfreerdp package downgrade you attempted was a fix for a different bug (an NLA/security regression in ubuntu1.4), which you already bypassed via the .rdp tweak.

Two Paths to Fix It

Path 1 — Disable Wayland, Stay with GNOME Remote Desktop

This is the less invasive fix. SSH into the DGX Spark and run:
bash

sudo nano /etc/gdm3/custom.conf

Find the [daemon] section and make sure this line is present and uncommented:

text

[daemon]
WaylandEnable=false

Then reboot. GNOME will now start X11 sessions, and GNOME Remote Desktop will hand off an X11-based desktop to your RDP client instead of a Wayland compositor.

Path 2 — Switch to xrdp (Most Reliable for DGX Spark + macOS)

Multiple DGX Spark users confirmed this as the most stable solution on macOS. The key is to first prevent gnome-remote-desktop from hogging port 3389:

bash

# 1. Stop and disable GNOME Remote Desktop
systemctl --user stop gnome-remote-desktop.service
gsettings set org.gnome.desktop.remote-desktop.rdp enable false

# 2. Disable Wayland in GDM
sudo bash -c 'echo -e "[daemon]\nWaylandEnable=false" >> /etc/gdm3/custom.conf'

# 3. Install xrdp
sudo apt install xrdp xorgxrdp -y
sudo usermod -a -G ssl-cert xrdp

# 4. Make sure xrdp uses X11
echo "export XDG_SESSION_TYPE=x11" | sudo tee -a /etc/xrdp/startwm.sh

# 5. Enable and start xrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp

sudo reboot

After reboot, also go into GNOME Settings → System → Remote Desktop and make sure “Remote Login” is turned off there too, to prevent gnome-remote-desktop from grabbing port 3389 on the next login. Your .rdp file tweak (use redirection server name:i:1) can stay — it does not interfere with xrdp.

Why ubuntu1.5 Didn’t Help

The ubuntu1.5 packages fixed the NLA security regression (the “AcceptSecurityContext failed” error seen in logs), but they do nothing about the Wayland rendering failure — those are completely independent problems.

Good Luck!

Thanks for your kind reply!!

Unfortunately, I’ve tried both but they both failed…
Spark is fresh new (factory reset → only updates and just ollama with oss-120b).
So, maybe other package or program would not interfere the xrdp.

For this time, not even the black screen and movable cursor.

I’ve fully factory resetted spark 2 times while tried to find the way for enabling remote desktop…
Maybe I will give up in this time…

Ubuntu’s bundle “remote sharing" is working, but “remote login” xrdp are not.
Problem of “remote sharing” is when system is logged out (for example, if you miss press ctrl+L keys) “remote (screen) sharing” is also stopped..

I’ve gone through the trials and tribulations of RDP with Ubuntu long before the DGX Sparks. What you are probably running into is that UIbuntu’s built-in RDP requires (by error imho) a connected monitor in order to work properly. If you want to continue down this route without a monitor you can buy an HDMI monitor emulator on Amazon for less than 10 bucks and it will trick the OS into thinking a monitor is connected and RDP will work properly. These are the ones I use with my other Ubuntu boxes and with the DGX Sparks and they work great.

If you need more than one they also sell 3 and 5 packs to save more money.

Once you have that plugged in you should be able to use an RDP software like Remmina from another Linux box to connect to the Spark without issue. No other tweaks necessary that I can think of but if you run into issues still let me know and I can go back through my notes.

One other thing of note now that I think about it - If you have your user set to auto-login then the RDP password gets changed on every boot. There are various ways to fix this, but it would be easier to just do a web search or ask an AI for the fix for that rather than me regurgitate the same.

Thx!
I’ve settled to ”Desktop Sharing” of Ubuntu, rather than “Remote Login” or xrdp or other rdp.

This smoothly works on may macOS and also on iPad.