Getting Spammed with Remote Desktop Connection window

I was hoping this would be fixed by Fedora 40 (Gnome 46) but I am still being spammed by the “remote desktop connection” window that won’t go away when you click cancel. If there a fix for this or is there one coming? The only solution I’ve found for now is this appears to be a Wayland bug and using X11 instead solves the problem.

I don’t think it has anything to do with wayland vs x11. For instance, I use wayland and never get the issue.

1 Like

Try

gsettings set org.gnome.mutter.wayland xwayland-disable-extension  '["Xtest"]'

the relogin. It disabels the X11 Xtest extension in Xwayland, which is plumbed to the remote desktop portal for backward compatibility reasons.

5 Likes

I use Fedora 41 with GNOME 47. Got the same issue when I install the “Blur My Shell” extension. Got rid of the bug by uninstalling that extension. Hope that helps.

That works for me. Thank you so much!

I have found the root issue, it is happen due to Chrome or Chromium are both not compatible with xdg-desktop-portal. You can try to uninstall those to test, if you won’t believe me. Thanks to ChatGPT I also found a solution for that
Please search ChatGPT for the below, and it will give you a guildelines, since there are many

chromium --disable-features=WebRtcPipeWireCapturer
chrome --disable-features=WebRtcPipeWireCapturer

I have found out that you have to set up for each profile, if you have many profile like me

On Chrome open chrome://version/
Check for Profile Path /home/lin/.config/google-chrome/Profile 1 (Profile can be default or from 1 to many profile you have)

Then each file will be like the below, update number based on your profile path

nano ~/.local/share/applications/google-chrome-profile1-no-popup.desktop

[Desktop Entry]
Version=1.0
Name=Google Chrome (Profile 1 - No Remote Popup)
Comment=Google Chrome web browser for Profile 1 without Remote Desktop Sharing popup
Exec=/usr/bin/google-chrome-stable --disable-features=WebRtcPipeWireCapturer --profile-director>
Icon=google-chrome
Terminal=false
Type=Application
Categories=Network;WebBrowser;
StartupNotify=true
StartupWMClass=google-chrome-profile1-no-popup