[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-07-10 Thread Arjen Hiemstra
https://bugs.kde.org/show_bug.cgi?id=43

Arjen Hiemstra  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Arjen Hiemstra  ---


*** This bug has been marked as a duplicate of bug 489097 ***

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-07-04 Thread deadite66
https://bugs.kde.org/show_bug.cgi?id=43

deadite66  changed:

   What|Removed |Added

 CC||lee295...@gmail.com

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-07-02 Thread David R
https://bugs.kde.org/show_bug.cgi?id=43

David R  changed:

   What|Removed |Added

 CC||david.riv...@gmail.com

--- Comment #5 from David R  ---
Hello,

Don't know if useful to mention it also, but same issue on Arch also.
I'm full intel on a laptop.

I've see the command : KPIPEWIRE_FORCE_ENCODER=libx264 krdpserver -u test -p
test

KPIPEWIRE_FORCE_ENCODER=libx264 krdpserver -u test -p test
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: Intel iHD driver for Intel(R) Gen Graphics -
24.2.5 () in use for device "/dev/dri/renderD128"
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing...
[17:47:54:955] [3130:3161] [INFO][com.freerdp.core.connection] - Client
Security: NLA:1 TLS:1 RDP:0
[17:47:54:956] [3130:3161] [INFO][com.freerdp.core.connection] - Server
Security: NLA:1 TLS:0 RDP:0
[17:47:54:956] [3130:3161] [INFO][com.freerdp.core.connection] - Negotiated
Security: NLA:1 TLS:0 RDP:0
org.kde.krdp: Started Freedesktop Portal session
[17:48:01:857] [3130:3161] [WARN][com.winpr.negotiate] - AcceptSecurityContext
status SEC_I_CONTINUE_NEEDED [0x00090312]
[17:48:01:864] [3130:3161] [WARN][com.winpr.negotiate] - AcceptSecurityContext
status SEC_I_COMPLETE_NEEDED [0x00090313]
[17:48:01:870] [3130:3161] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 104: Connexion ré-initialisée par le correspondant
[17:48:01:870] [3130:3161] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[17:48:01:870] [3130:3161] [ERROR][com.freerdp.core.nla] - [nla_recv] error: -1
[17:48:01:870] [3130:3161] [ERROR][com.freerdp.core.transport] - client
authentication failure
[17:48:01:870] [3130:3161] [ERROR][com.freerdp.core.peer] - peer_recv_callback:
CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
[17:48:01:870] [3130:3161] [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...
[17:48:04:390] [3130:3173] [INFO][com.freerdp.core.connection] - Client
Security: NLA:1 TLS:1 RDP:0
[17:48:04:390] [3130:3173] [INFO][com.freerdp.core.connection] - Server
Security: NLA:1 TLS:0 RDP:0
[17:48:04:390] [3130:3173] [INFO][com.freerdp.core.connection] - Negotiated
Security: NLA:1 TLS:0 RDP:0
[17:48:04:416] [3130:3173] [WARN][com.winpr.negotiate] - AcceptSecurityContext
status SEC_I_CONTINUE_NEEDED [0x00090312]
[17:48:04:422] [3130:3173] [WARN][com.winpr.negotiate] - AcceptSecurityContext
status SEC_I_COMPLETE_NEEDED [0x00090313]
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.connection] - Accepted
client: DESKTOP-BB9QL0J
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.connection] - Accepted
channels:
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.connection] -  rdpdr
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.connection] -  rdpsnd
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.connection] -  cliprdr
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.connection] -  drdynvc
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.gcc] - Active rdp encryption
level: NONE
[17:48:04:428] [3130:3173] [INFO][com.freerdp.core.gcc] - Selected rdp
encryption method: NONE
org.kde.krdp: Started Freedesktop Portal session
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0x7ffda8343420), parent's thread is
QThread(0x63fb1559d8d0), current thread is QThread(0x63fb1593a370)
org.kde.krdp: New client connected:  Windows platform Windows NT
org.kde.krdp: Video stream initialized
kpipewire_record_logging: Forcing H264 Software encoding, main profile
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_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: Selected caps: RDPGFX_CAPVERSION_106
[libx264 @ 0x7719c046ab00] -qscale is ignored, -crf is recommended.
[libx264 @ 0x7719c046ab00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 BMI2 AVX2
[libx264 @ 0x7719c046ab00] profile Constrained B

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-07-02 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=43

Akseli Lahtinen  changed:

   What|Removed |Added

 Resolution|BACKTRACE   |---
 Status|NEEDSINFO   |REPORTED

--- Comment #4 from Akseli Lahtinen  ---
Thank you, this is helpful

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-06-24 Thread Dinko
https://bugs.kde.org/show_bug.cgi?id=43

--- Comment #3 from Dinko  ---
Created attachment 170899
  --> https://bugs.kde.org/attachment.cgi?id=170899&action=edit
krdp full gdb backtrace

I've attached the backtrace with all debug symbols installed through gdb. Hope
it helps.

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-06-24 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=43

Akseli Lahtinen  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||akse...@akselmo.dev
 Resolution|--- |BACKTRACE

--- Comment #2 from Akseli Lahtinen  ---
Can you install debug symbols for krdpserver and try again to see if the
segfault happens?
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Backtraces

Also I can't connect to my system either, but I do not get a crash with KRDP.
So there is connection issue at the very least.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

> KPIPEWIRE_FORCE_ENCODER=libx264 krdpserver -u test -p test
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: Mesa Gallium driver 24.1.2 for AMD Radeon RX
6600 (radeonsi, navi23, LLVM 18.1.6, DRM 3.57, 6.9.5-200.fc40.x86_64) in use
for device "/dev/dri/renderD128"
kpipewire_vaapi_logging: DRM device not found
[10:26:22:985] [21626:21672] [INFO][com.freerdp.core.connection] - Client
Security: NLA:1 TLS:1 RDP:0
[10:26:22:985] [21626:21672] [INFO][com.freerdp.core.connection] - Server
Security: NLA:1 TLS:0 RDP:0
[10:26:22:985] [21626:21672] [INFO][com.freerdp.core.connection] - Negotiated
Security: NLA:1 TLS:0 RDP:0
[10:26:25:870] [21626:21672] [WARN][com.winpr.negotiate] -
AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[10:26:25:871] [21626:21672] [WARN][com.winpr.negotiate] -
AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
[10:26:25:871] [21626:21672] [ERROR][com.freerdp.core.transport] - BIO_read
returned a system error 104: Connection reset by peer
[10:26:25:871] [21626:21672] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[10:26:25:871] [21626:21672] [ERROR][com.freerdp.core.nla] - [nla_recv] error:
-1
[10:26:25:872] [21626:21672] [ERROR][com.freerdp.core.transport] - client
authentication failure
[10:26:25:872] [21626:21672] [ERROR][com.freerdp.core.peer] -
peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
[10:26:25:872] [21626:21672] [ERROR][com.freerdp.core.transport] -
transport_check_fds: transport->ReceiveCallback() - -1
[10:26:27:721] [21626:21698] [INFO][com.freerdp.core.connection] - Client
Security: NLA:1 TLS:1 RDP:0
[10:26:27:721] [21626:21698] [INFO][com.freerdp.core.connection] - Server
Security: NLA:1 TLS:0 RDP:0
[10:26:27:721] [21626:21698] [INFO][com.freerdp.core.connection] - Negotiated
Security: NLA:1 TLS:0 RDP:0
[10:26:27:727] [21626:21698] [WARN][com.winpr.negotiate] -
AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[10:26:27:728] [21626:21698] [WARN][com.winpr.negotiate] -
AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.connection] - Accepted
client: DESKTOP-4TSPRTT
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.connection] - Accepted
channels:
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.connection] -  rdpdr
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.connection] -  rdpsnd
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.connection] -  cliprdr
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.connection] -  drdynvc
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.gcc] - Active rdp
encryption level: NONE
[10:26:27:729] [21626:21698] [INFO][com.freerdp.core.gcc] - Selected rdp
encryption method: NONE
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0x7ffd97f70920), parent's thread is
QThread(0x380b4710), current thread is QThread(0x383f6960)
org.kde.krdp: New client connected:  Windows platform Windows NT
kpipewire_record_logging: Forcing H264 Software encoding, main profile
[libx264 @ 0x7fc9cca21e80] -qscale is ignored, -crf is recommended.
[libx264 @ 0x7fc9cca21e80] MB rate (1935) > level limit (16711680)
[libx264 @ 0x7fc9cca21e80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fc9cca21e80] profile Constrained Baseline, level 6.2, 4:2:0,
8-bit
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
[10:26:27:986] [21626:21698] [ERROR][com.freerdp.core.transport] - BIO_read
returned

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-06-22 Thread Dinko
https://bugs.kde.org/show_bug.cgi?id=43

Dinko  changed:

   What|Removed |Added

 CC||dinko...@gmail.com

--- Comment #1 from Dinko  ---
Created attachment 170844
  --> https://bugs.kde.org/attachment.cgi?id=170844&action=edit
krdp segfault journal

Same problem on
Operating System: Arch Linux 
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Xeon® CPU E3-1225 v3 @ 3.20GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics P4600/P4700

I've attached the journal of the krdpserver segfault.

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-06-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=43

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-06-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=43

f...@fellr.net changed:

   What|Removed |Added

 CC||f...@fellr.net

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

[KRdp] [Bug 488883] Connecting with Windows RDP client fails with "An internal error has occurred"

2024-06-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=43

f...@fellr.net changed:

   What|Removed |Added

   Platform|Other   |Arch Linux
 OS|Other   |Linux

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