[KRdp] [Bug 488961] New: Unable to connect or use

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Jun 22 10:32:59 BST 2024


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

            Bug ID: 488961
           Summary: Unable to connect or use
    Classification: Plasma
           Product: KRdp
           Version: 6.1.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: ttsdzb at outlook.com
                CC: ahiemstra at heimr.nl
  Target Milestone: ---

SUMMARY
I'm using KRdp on Arch Linux, however it does not work properly and I have no
idea about its logs. Only got a black screen on
[aFreeRDP](https://f-droid.org/en/packages/com.freerdp.afreerdp/), or
immediately disconnect with [another RDP
client](https://play.google.com/store/apps/details?id=com.devolutions.remotedesktopmanager).

STEPS TO REPRODUCE
1. Install package `krdp` via pacman.
2. Run `krdpserver -u test -p test` in the terminal, and press "Share" in the
prompt.
3. Observe the output. The program will periodically output errors.
4. Connect the RDP server with aFreeRDP.

OBSERVED RESULT
Client got a blacks screen with nothing can be controlled, or disconnect
immediately.

EXPECTED RESULT
The screen appears on the client and can be controlled.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
When the client starts the connection, a same prompt as when the program starts
pops out and immediately disappears.

Here's a complete log with steps described above:
```
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Listening for connections on QHostAddress("0.0.0.0") 3389
org.kde.krdp: Started Freedesktop Portal session
kpipewire_vaapi_logging: VAAPI: Failed to initialize display
kpipewire_vaapi_logging: VAAPI: Failed to initialize display
kpipewire_vaapi_logging: DRM device not found
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[16:53:50:238] [36378:36418] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 0: 成功
[16:53:50:239] [36378:36418] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[16:54:00:238] [36378:36431] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 0: 成功
[16:54:00:238] [36378:36431] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[16:54:10:239] [36378:36434] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 0: 成功
[16:54:10:239] [36378:36434] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[16:54:20:240] [36378:36437] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 0: 成功
[16:54:20:240] [36378:36437] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[16:54:22:033] [36378:36440] [INFO][com.freerdp.core.connection] - Client
Security: NLA:1 TLS:1 RDP:0
[16:54:22:033] [36378:36440] [INFO][com.freerdp.core.connection] - Server
Security: NLA:1 TLS:0 RDP:0
[16:54:22:033] [36378:36440] [INFO][com.freerdp.core.connection] - Negotiated
Security: NLA:1 TLS:0 RDP:0
[16:54:22:039] [36378:36440] [WARN][com.winpr.negotiate] -
AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[16:54:22:041] [36378:36440] [WARN][com.winpr.negotiate] -
AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.connection] - Accepted
client: aFreeRDP-1694a1
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.connection] - Accepted
channels:
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.connection] -  rdpdr
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.connection] -  rdpsnd
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.connection] -  cliprdr
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.connection] -  drdynvc
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.gcc] - Active rdp
encryption level: NONE
[16:54:22:045] [36378:36440] [INFO][com.freerdp.core.gcc] - Selected rdp
encryption method: NONE
org.kde.krdp: Correcting invalid color depth from client: 16
org.kde.krdp: New client connected:  Unspecified platform Unspecified version
org.kde.krdp: Video stream initialized
org.kde.krdp: Received caps:
org.kde.krdp:   RDPGFX_CAPVERSION_8 AVC: false YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_81 AVC: false YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_10 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_101 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_102 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_103 AVC: true YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_104 AVC: true YUV420: true
org.kde.krdp:   RDPGFX_CAPVERSION_105 AVC: true YUV420: true
org.kde.krdp:   RDPGFX_CAPVERSION_106 AVC: true YUV420: true
org.kde.krdp:   UNKNOWN_VERSION AVC: false YUV420: false
org.kde.krdp:   RDPGFX_CAPVERSION_107 AVC: true YUV420: true
org.kde.krdp: Selected caps: RDPGFX_CAPVERSION_107
[16:54:22:148] [36378:36440] [ERROR][com.freerdp.core.peer] -
peer_recv_callback: CONNECTION_STATE_ACTIVE - peer_recv_pdu() fail
[16:54:22:148] [36378:36440] [ERROR][com.freerdp.core.transport] -
transport_check_fds: transport->ReceiveCallback() - -1
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[16:54:30:242] [36378:36466] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 0: 成功
[16:54:30:242] [36378:36466] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
^C
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list