After upgrading to Fedora 38 cannot connect to computer using Remote Desktop

My desktop was running Fedora 37 and I could connect to it using remote desktop (RDP) from any other computer without any issue when I was on a Wayland or X11 GNOME session. I upgraded to Fedora 38 and I can no longer do that. A connection is established but I get a black screen with a mouse cursor when in a Wayland session. When switching to X11 I get to see the desktop after a delay of about 10 seconds but the keyboard is not functional and after a few minutes the connection freezes and I have to close it down.

My computer is using a NVIDIA graphics card with the RPM Fusion drivers as when I had Fedora 37 installed. After I did the upgrade from the command line I did not change any configuration options or settings. Everything else works fine as before without any issues.

Any ideas?

Have you checked this with older kernels under F38?

You might test with the LTS kernel ?

If you want to debug this with the actual F38 and kernel you have to give more specific info’s … and also errors you got in log files.

Why do you think that this could be related to the kernel? I was using kernel 6.2 on Fedora 37 without any issues.

1 Like

New drivers in general have something to do with the kernel.

Same issue here. Blank screen when connecting to F38 machine (which has AMD GPU). Wayland/X11 - doesn’t matter. I have tried connecting from machines with NVidia and Intel GPUs, Remmina/Connections - nothing works.

1 Like

I guess some logs/errors while connecting would be precious to investigate further.

It irritates me when someone automatically infers that the cause is graphics. RDP manages the desktop display and control remotely but is not in any way directly tied to a specific GPU type.

As I understand it RDP is gnome related and not directly related to either kernel or gpu.

2 Likes

Yes. I experienced and am still experiencing the same issues, from the first day I upgraded mine from Fedora 37 to Fedora 38. Mine is on X11. For a time, Fedora 38 after upgrade, worked with RDP – only when I connected from a Windows 10 Pro. But, even that came back to a halt, after a subsequent rolling upgrade on Fedora 38. Currently now, I cannot access RDP on any of my Fedora 38 boxes. The symptoms are exactly how you are seeing it.

1 Like

I see 3 versions of connections in software. One is RDP and the other is flatpak / Flathub.

Could someone test the flatpak and see if there is the same result?

If also not works check if you can get the erros like:

Flatpak > G_MESSAGES_DEBUG=all flatpak run org.gnome.Connections in terminal.
All > G_MESSAGES_DEBUG=all /usr/bin/gnome-connections in terminal

Soruce:

To rule out client-side issues, it continuously fails, even when I access RDP from a Win 10 Pro client. This is only happening with Fedora 38 Workstation. There is still one other machine that is still on Fedora 37 Workstation that is having the latest updates and there RDP is running just fine – as it always had been.

flatpak-INFO: 22:23:12.184: Running '/usr/bin/bwrap --args 35 gnome-connections'
(process:2): GLib-GIO-DEBUG: 22:23:12.256: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(process:2): GVFS-DEBUG: 22:23:12.258: org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown (g-dbus-error-quark, 2)

(process:2): GLib-GIO-DEBUG: 22:23:12.258: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
(process:2): GLib-GIO-DEBUG: 22:23:12.259: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ?gsettings-backend?
(gnome-connections:2): GLib-GIO-DEBUG: 22:23:12.260: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
Gtk-Message: 22:23:12.284: Failed to load module "pk-gtk-module"
Gtk-Message: 22:23:12.288: Failed to load module "pk-gtk-module"
(gnome-connections:2): GLib-DEBUG: 22:23:12.288: unsetenv() is not thread-safe and should not be used after threads are created

(gnome-connections:2): Gtk-WARNING **: 22:23:12.386: GtkFlowBox with a model will ignore sort and filter functions
** (gnome-connections:2): DEBUG: 22:23:20.020: Connecting to 192.168.0.100…
[22:23:20:067] [2:14] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[22:23:20:068] [2:14] [WARN][com.freerdp.crypto] - CN = GNOME, C = US
[22:23:21:273] [2:14] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRA32
[22:23:21:273] [2:14] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[22:23:21:274] [2:14] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[22:23:21:274] [2:14] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[22:23:21:275] [2:14] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
** (gnome-connections:2): DEBUG: 22:23:21.592: Connection established

I should clarify that in my situation, the RDP connection appears to be functioning in a one-way manner. While I can control a remote machine with my mouse and keyboard (I can see the actions on the machine’s monitor), I’m not receiving any visual feedback through the remote desktop.

When RDP’d from one Fedora 38 to another Fedora 38 using both Remmina and GNOME Connections, all I get is a black screen.

Likewise, same black screen, when connected from a Win 10 Pro

Same here. I am also trying to connect from a Mac using the Microsoft RDP client without success. On Fedora 37 I had a perfectly stable and fast connection. The GNOME RDP server must be broken.

1 Like

Thanks for giving us something we can relay on.

It seams that we need to search the error in freerdp. Is it possible to skim the journal (journalctl) to see if you get a more precise error? If you have possibility to test a working connection on F37 would also help to see if the freerdp error is gone.

Thanks for let us in the dark :scream:

sudo journalctl -f -b

Nothing interesting on the client side but on the server side:

When connecting with Connections

May 12 21:18:01 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:459] [3102:19667] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
May 12 21:18:01 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:559] [3102:19667] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
May 12 21:18:02 localhost.localdomain gnome-remote-de[3102]: [RDP.RDPGFX] CapsAdvertise: Accepting capability set with version RDPGFX_CAPVERSION_107, Client cap flags: H264 (AVC444): false, H264 (AVC420): false

When connecting with Remmina

May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:694] [3102:20705] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:795] [3102:20705] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: :18741] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:35:101] [3102:18741] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.connection] - Accepted client: localhost
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.connection] - Accepted channels:
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.connection] -  rdpdr
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.connection] -  rdpsnd
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.connection] -  drdynvc
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:11:36:335] [3102:18741] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:15:52:132] [3102:19396] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:15:52:132] [3102:19396] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:15:52:132] [3102:19396] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:16:07:060] [3102:19439] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:16:07:060] [3102:19439] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:16:07:060] [3102:19439] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:525] [3102:19557] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:525] [3102:19557] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:525] [3102:19557] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.connection] - Accepted client: localhost
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.connection] - Accepted channels:
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.connection] -  rdpdr
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.connection] -  rdpsnd
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.connection] -  drdynvc
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:13:758] [3102:19557] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:44:415] [3102:19612] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:44:415] [3102:19612] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:17:44:415] [3102:19612] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:414] [3102:19667] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:414] [3102:19667] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:414] [3102:19667] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.connection] - Accepted client: localhost
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.connection] - Accepted channels:
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.connection] -  rdpdr
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.connection] -  rdpsnd
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.connection] -  drdynvc
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:18:01:660] [3102:19667] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:662] [3102:20705] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:662] [3102:20705] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:662] [3102:20705] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:895] [3102:20705] [INFO][com.freerdp.core.connection] - Accepted client: localhost.local
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:895] [3102:20705] [INFO][com.freerdp.core.connection] - Accepted channels:
May 12 21:25:30 localhost.localdomain gnome-remote-desktop-daemon[3102]: [21:25:30:895] [3102:20705] [INFO][com.freerdp.core.connection] -  rdpdr
May 12 21:25:31 localhost.localdomain gnome-remote-de[3102]: [RDP.CLIPRDR] Relieving CLIPRDR filename restriction
May 12 21:25:31 localhost.localdomain gnome-remote-de[3102]: [RDP.CLIPRDR] Client capabilities: long format names
May 12 21:25:31 localhost.localdomain gnome-remote-de[3102]: [RDP.RDPGFX] CapsAdvertise: Accepting capability set with version RDPGFX_CAPVERSION_107, Client cap flags: H264 (AVC444): false, H264 (AVC420): false

The GNOME RDP server must be broken.

That’s what I strongly believe as well, based on all the attempts to diagnose this.

Just adding my +1 to this thread, as I too am experiencing the issue.

This is what it looks like connecting to a F38 system when remote desktop is working fine:

** (gnome-connections:2): DEBUG: 15:08:30.954: connection.vala:159: No credentials found in keyring. Prompting user.
** (gnome-connections:2): DEBUG: 15:08:41.549: Connecting to 192.168.0.110…
[15:08:41:325] [2:54] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[15:08:41:325] [2:54] [WARN][com.freerdp.crypto] - CN = GNOME, C = US
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - @           WARNING: CERTIFICATE NAME MISMATCH!           @
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - The hostname used for this connection (192.168.0.110:3389) 
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - Common Name (CN):
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - 	GNOME
[15:08:41:326] [2:54] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
[15:08:41:326] [2:54] [WARN][com.freerdp.crypto] - The VerifyCertificate callback is deprecated, migrate your application to VerifyCertificateEx
[15:08:42:530] [2:54] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRA32
[15:08:42:530] [2:54] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[15:08:42:533] [2:54] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[15:08:42:533] [2:54] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[15:08:42:534] [2:54] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
** (gnome-connections:2): DEBUG: 15:08:42.936: Connection established

I was able to connect successfully to the F38 machine, which was previously giving me problems, after switching to the integrated video card.

inxi -F

System:
  Host: fedora Kernel: 6.2.14-300.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.1 Distro: Fedora release 38 (Thirty Eight)
Machine:
  Type: Desktop Mobo: ASRock model: Z68 Extreme7 Gen3
    serial: <superuser required> BIOS: American Megatrends v: P2.30
    date: 06/07/2012
CPU:
  Info: quad core model: Intel Core i5-3570K bits: 64 type: MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 3217 min/max: 1600/3800 cores: 1: 1600 2: 3738 3: 3769
    4: 3764
Graphics:
  Device-1: Intel IvyBridge GT2 [HD Graphics 4000] driver: i915 v: kernel
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    driver: amdgpu v: kernel
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: X: loaded: amdgpu,modesetting
    unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.2 Mesa 23.0.3 renderer: Mesa Intel HD Graphics 4000 (IVB
    GT2)
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    driver: snd_hda_intel
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    driver: snd_hda_intel
  API: ALSA v: k6.2.14-300.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.70 status: active
Network:
  Device-1: Broadcom NetLink BCM57781 Gigabit Ethernet PCIe driver: tg3
  IF: enp7s0 state: down mac: 00:00:00:00:00:00
  Device-2: Broadcom NetLink BCM57781 Gigabit Ethernet PCIe driver: tg3
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: 00:00:00:00:00:00
Drives:
  ---
Partition:
  ---
Swap:
  ---
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: amdgpu temp: 33.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 313 Uptime: 1m Memory: 15.32 GiB used: 2.06 GiB (13.4%)
  Shell: Bash inxi: 3.3.26

I agree with Jeff V. in that rushing to blame the graphics is probably off. If you would like to troubleshoot that option run nvidia-smi . If you get complete output then your problem lies elsewhere. If this command does nothing I would be suspicious that your drivers did not survive the upgrade.
I also upgraded in place and experienced nonfunctional Nvidia drivers. My issues were not RDP related however.

1 Like