https://bugs.kde.org/show_bug.cgi?id=528696

            Bug ID: 528696
           Summary: CLI-launched Exclusive Mode = black screen except when
                    using --plasma
    Classification: Plasma
           Product: KRdp
      Version First 6.8.2
       Reported In:
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
Lacking systemd I need to start krdpserver manually from inside my Plasma
session; I do this using a .desktop file pointing to this script:

~~~~~
#!/bin/bash

RDPLOG=/tmp/krdp-exclusive.log

export QT_LOGGING_RULES='org.kde.krdp*.debug=true;kpipewire*.debug=true'

exec /usr/bin/krdpserver -u myusername -p myrdppw --mode RemoteAccess \
 --adaptive-quality 2>&1 > "$RDPLOG"
~~~~~

With this running, I'm able to open a session from mstsc.exe, and the local
display locks, but the client window is just black (with cursor visible and
responsive).

If I add --plasma to the commandline in the script, the Plasma session appears
and is fully usable in the client.

I do not understand the meaning of the --plasma flag (I arrived at it by trial
and error over the --help output) but I have seen it mentioned in another
ticket that it is meant for developer use only, so I assume I should not be
reliant on it going forward.

STEPS TO REPRODUCE
1. Execute the above script in a Plasma session
2. Connect to host using Windows RDP client mstsc.exe

OBSERVED RESULT
Nothing but blackness and a lonely cursor in RDP client.

EXPECTED RESULT
Plasma session is visible and interactive through RDP client.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.3
Kernel Version: 7.3.1-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-7600U CPU @ 2.80GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® HD Graphics 620

ADDITIONAL INFORMATION
Using OpenRC.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to