2

I've installed a fresh Ubuntu 24.04 installation with all the drivers working properly. The propietary desktop remote acces seems to work just perfectly in appearance...but, if it closes the conection when opening most of the apps. I'm connecting to it via VPN and the ports are correctly opened. As you see in this video, terminal works perfectly and firefox works too. None of the others work. If I open nautilus or config, they just don't show up and nothing happens. If I open edge, darktable or any other, the connection closes.

May be something related with the default wayland desktop?

https://res.cloudinary.com/dchhykqlb/video/upload/f_auto:video,q_auto/zhfttljqrjzh2vvkkno0

3 Answers3

1

Same problem with NVIDIA drivers. If I turn on nouveau, Ubuntu remote login works well. Look like it's driver's problem

Why_not
  • 11
1

I saw someone saying to downgrade the nvidia drivers to 470 and that it worked.

For me it worked.

Cannot open most applications when using ubuntu 24.04 remote login from windows rdp. How would I make it work?

1

I had the exact same problem. Firefox, Terminal and some other application were working fine. But when starting VSCode for example the connection would crash. I'm using a NVIDIA ADA Gen. graphics card so downgrading the driver wasn't an option.

I fixed it by using x11 instead of wayland combined with xrdp instead of gnome-remote-desktop

1. Get current session (wayland or xorg)

 echo $XDG_SESSION_TYPE

2. if wayland force system to use xorg

sudo nano /etc/gdm3/custom.conf
% remove the '#' from WaylandEnable=false
sudo systemctl restart gdm3
sudo reboot

3. Check that session is xorg (return x11)

echo $XDG_SESSION_TYPE

4. Deactivate gnome-remote-desktop
Go to

Settings → System → Remote Desktop

and deactivate Desktop Sharing and Remote Login

5. Install and activate xrdp

sudo apt install xrdp -y
sudo systemctl enable --now xrdp

6. You're ready to connect

zx485
  • 2,865
David
  • 11
  • 2