Bug 491435

Summary: Remote control requested at login
Product: [Plasma] xdg-desktop-portal-kde Reporter: Tore Havn <veqz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: aleixpol, jgrulich, kde, kde, nate, ranplayer, yaomtc
Priority: NOR    
Version: 6.1.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=490666
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Remote control requested

Description Tore Havn 2024-08-08 14:07:51 UTC
Created attachment 172399 [details]
Remote control requested

This portal dialog shows up as soon as I log on.

There is no explanation and no understanding for why it is here or why these permissions should be given.

This is confusing for me, and I can't imagine how confusing and scary it might be for less tech-savvy users.
Comment 1 Nate Graham 2024-08-09 19:21:31 UTC
Do you have the KRDP server turned on? What apps do you have set to autostart?
Comment 2 Tore Havn 2024-08-12 12:20:45 UTC
Yes, the Remote Desktop page shows the RDP server is turned on. But I can't remember ever turning it on, and the Server Settings claim the «Autostart on login» is off – and the checkbox is disabled anyway.

Autostart only contains Telegram (as a Flatpak) and Yakuake.

I've just turned off the RDP server and I'll do a restart now to check.
Comment 3 Tore Havn 2024-08-12 12:32:12 UTC
Alright. Turns out this is indeed caused by Remote Desktop.

It seems it turns itself on automatically at restart, and does not respect being turned off. If I turn off Remote Desktop the portal dialog immediately disappear. But as it is turned on again by next restart the dialog pops up again.

If the dialogue is an intended behavior when Remote Desktop is on I would strongly suggest we add some more descriptive text to it.

But the RDP server should of course also stay off if it was turned off. :P
Comment 4 Tore Havn 2024-08-12 12:33:36 UTC
Nor is it possible to see on the Remote Desktop page if permissions were not granted.
Comment 5 Nate Graham 2024-08-12 19:07:21 UTC
*** Bug 491549 has been marked as a duplicate of this bug. ***
Comment 6 David Redondo 2024-08-13 08:24:45 UTC
Why is this a xdg-desktop-portal-kde bug? 
If an app starts a session we show the dialog. We show all the info we can, in this case xdg-desktop-portal seemingly didnt provide an app-id. 
If we think an app does it wrong, we need to look at that app