Bug 488857 - Enabling autostart KRDP requires user interaction
Summary: Enabling autostart KRDP requires user interaction
Status: REPORTED
Alias: None
Product: KRdp
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 03:30 UTC by wolfyrion
Modified: 2024-11-01 05:45 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolfyrion 2024-06-21 03:30:42 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
KRDP  - Enabling autostart requires user interaction at startup

STEPS TO REPRODUCE
1. Go to Settings - Remote Desktop -> enable autostart on login
2. 
3. 

OBSERVED RESULT
It pop ups a dialog asking to share desktop.



EXPECTED RESULT
Whats the point of Wake on Lan and auto-login if I need urgently remote access to my PC ???
KRDP should autostart and share the desktop without any dialog.
Unattended access should be enabled by default if I have it on autostart

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2024-06-24 07:10:54 UTC
The dialog should only appear once, if set to "Remember my selection" 

Can you share more information of your system? It's possibly a bug with the portal itself, not KRDP (I know, it's a bit confusing :/ )
Comment 2 Akseli Lahtinen 2024-06-24 07:11:07 UTC
Set as waitingforinfo
Comment 3 wolfyrion 2024-06-24 16:47:40 UTC
(In reply to Akseli Lahtinen from comment #1)
> The dialog should only appear once, if set to "Remember my selection" 
> 
> Can you share more information of your system? It's possibly a bug with the
> portal itself, not KRDP (I know, it's a bit confusing :/ )

On Wayland session there is no such option as remember my selection

When it auto-starts it gives me the option to:
Allow restoring future sessions and then have to click on share.
Comment 4 Mike Smith 2024-07-04 18:08:01 UTC
(In reply to wolfyrion from comment #0)
> 
> SUMMARY
> KRDP  - Enabling autostart requires user interaction at startup
> 
> STEPS TO REPRODUCE
> 1. Go to Settings - Remote Desktop -> enable autostart on login
> 2. 
> 3. 

Can confirm this also does not Autostart on login for me if I have "Autostart on login" checked off. Yet the "Enable RDP server" is not toggled ON. It is OFF. 

Using Plasma version 6.1.1
Frameworks version: 6.3.0
QT Version: 6.7.1
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)
Graphics: Wayland