#758635 krdc: crash when trying to connect

Package:
krdc
Source:
krdc
Description:
Remote Desktop Connection client
Submitter:
Andreas Weber
Date:
2015-01-27 17:33:04 UTC
Severity:
important
#758635#5
Date:
2014-08-19 13:44:25 UTC
From:
To:
Dear Maintainer,

When I start krdc and want to connect to a Mac remotely,
the crash happens immediately after entering the credentials.

Has been working for years now without issues.

Started from console is this the result:

tp-qt 0.9.4 DEBUG: Register StreamTubeClient with name  "krdc_rfb_handler"
tp-qt 0.9.4 DEBUG: Client registered - busName: "org.freedesktop.Telepathy.Client.krdc_rfb_handler" objectPath: "/org/freedesktop/Telepathy/Client/krdc_rfb_handler" interfaces: ("org.freedesktop.Telepathy.Client.Handler")
krdc(4166)/kdeui (kdelibs): Attempt to use QAction "remote_desktop_dockwidget" with KXMLGUIFactory!
Fatal: failed to create the RNG lock: Invalid argument
FATAL: failed to acquire the FSM lock in libgrypt: Invalid argument
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
krdc: Fatal IO error: client killed

#758635#12
Date:
2014-08-26 17:21:17 UTC
From:
To:
Control: tag -1 + unreproducible help
Control: severity -1 important

Hi,

I couldn't reproduce this issue using the xrdp server (I don't have another
rdp server around), thus I'm lowering this bug severity. Please, could you
confirm if this went away on it's own?

krdc rdp support is a gui around xfreerdp (from the freerdp-x11 package), so,
it's most likely, showing an issue present in xfreerdp.

Hapy hacking,

#758635#21
Date:
2014-08-26 19:57:23 UTC
From:
To:
I didn't go away yet, the bug is reproucible always. But the problem is
not with RDP but with VNC.

All I could find is that others have the same issue, but only with Mac
remote sessions as it seems.

http://sourceforge.net/p/libvncserver/mailman/message/32165820/

So the severity remains the same for me - krdc remains completely
unusable for me to connect to Macs and crashes in full, but I see your
point. Maybe I'm barking up the wrong tree?

HTH, ändu

#758635#26
Date:
2014-08-27 17:08:35 UTC
From:
To:
I've tried it against a linux VNC server and it worked perfectly.

OK, this might help.
severity important is right here.

Maybe not, althought I'm not sure if this is an upstream problem or not, and I
think this might need to be reassigned to libvnc (if we are building krdc
against the system lib, last time I checked it had an embedded copy of it but
I don't remember which one was using). Maybe even the last suggestion in the
link you pasted might help to workaround it, although if that's the case this
is a libvnc bug.

#758635#29
Date:
2014-08-27 17:08:35 UTC
From:
To:
I've tried it against a linux VNC server and it worked perfectly.

OK, this might help.
severity important is right here.

Maybe not, althought I'm not sure if this is an upstream problem or not, and I
think this might need to be reassigned to libvnc (if we are building krdc
against the system lib, last time I checked it had an embedded copy of it but
I don't remember which one was using). Maybe even the last suggestion in the
link you pasted might help to workaround it, although if that's the case this
is a libvnc bug.

#758635#34
Date:
2014-10-08 18:40:38 UTC
From:
To:
I have the same problem with krdc, also with a Mac OS X VNC server.
I tried gvncviewer as an alternative and it has the same problem:

Fatal: failed to create the RNG lock: Invalid argument
FATAL: failed to acquire the FSM lock in libgrypt: Invalid argument

xtightvncviewer works though.

Using packages from sid.

Thanks,
Marcel

#758635#39
Date:
2014-11-19 09:31:52 UTC
From:
To:
Dear Maintainer,

i have the same issue.
When i try to connect to an Mac OS Yosemite v10.10.1 krdc crash
immediately after entering the credentials.
In attach a strace output, maybe it will help.

krdc
tp-qt 0.9.4 DEBUG: Register StreamTubeClient with name
"krdc_rfb_handler"
tp-qt 0.9.4 DEBUG: Client registered - busName:
"org.freedesktop.Telepathy.Client.krdc_rfb_handler" objectPath:
"/org/freedesktop/Telepathy/Client/krdc_rfb_handler" interfaces:
("org.freedesktop.Telepathy.Client.Handler")
krdc(31729)/kdeui (kdelibs): Attempt to use QAction
"remote_desktop_dockwidget" with KXMLGUIFactory!
Fatal: failed to create the RNG lock: Invalid argument
FATAL: failed to acquire the FSM lock in libgrypt: Invalid argument
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
krdc: Fatal IO error: client killed

#758635#44
Date:
2015-01-27 17:28:49 UTC
From:
To:
https://github.com/maxnet/libvncserver/commit/4674d4632b9ffc6779d9c9f79b8ebb53c12e29b2

I applied that patch to the libvnc package in ubuntu utopic and it fixed
the problem for me.

My bug report in KDE/KRDC: https://bugs.kde.org/show_bug.cgi?id=343376

Thanks!