Bug 491435 - Remote control requested at login
Summary: Remote control requested at login
Status: REPORTED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 491549 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-08-08 14:07 UTC by Tore Havn
Modified: 2024-11-08 02:31 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Remote control requested (32.39 KB, image/png)
2024-08-08 14:07 UTC, Tore Havn
Details

Note You need to log in before you can comment on or make changes to this bug.
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