[Bug 983900] New: KRDC does not connect anymore to RDP hosts
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 Bug ID: 983900 Summary: KRDC does not connect anymore to RDP hosts Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: criguada+opensuse@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Recently KRDC was updated, and today I cannot connect to RDP sessions anymore. Also, I lost all bookmarks and the settings of KRDC's toolbar. The symptom is that if I enter the address of an RDP host, KRDC prompts me for the user, then (apparently) attempts to connect and then it suddenly returns to the "new connection" screen, without any error or message whatsoever. I know the xfreerdp works because I can connect to the RDP remote host by using xfreerdp from the command line. Here is the line from zypper history, referring to KRDC's update: 2016-06-06 10:48:12|install|krdc|16.04.1-1.1|x86_64||repo-oss|bdca2dfa37147c9ec4f8962731f4a3702edc40af| I tried to start KRDC from the command line to see if it sent some message to the console, but all I got was this, just before the error: KBookmarkMenu::slotBookmarksChanged groupAddress: "/0" Another strange thing: if I enter "krdc -v" at the command line, this is what I get: cristiano@xmper8q3:~> krdc -v krdc Ё -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 Cristiano Guadagnino <criguada+opensuse@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |criguada+opensuse@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c1 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at Flags| |needinfo?(criguada+opensuse | |@gmail.com) --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Cristiano Guadagnino from comment #0)
Also, I lost all bookmarks and the settings of KRDC's toolbar.
krdc has been ported to KDE Frameworks5, which uses different locations for config and data files. But the automatic migration in krdc is broken, see https://bugs.kde.org/show_bug.cgi?id=361823 You can copy the bookmarks file manually from ~/.kde4/share/apps/krdc/ to ~/.local/share/krdc/ to get them back. Will be fixed in 16.04.3.
The symptom is that if I enter the address of an RDP host, KRDC prompts me for the user, then (apparently) attempts to connect and then it suddenly returns to the "new connection" screen, without any error or message whatsoever.
Hm, I saw a similar problem on one system here when trying to reproduce your problem by connecting via RDP to a VirtualBox VM running on the same host (I did get an error dialog though that krdc was unable to connect), but on another one it worked fine. After copying over the bookmarks from the KDE4 version it worked on the first system too, so in my case it was somehow related to the incomplete migration. So please try this as well (see above), or try on a fresh user account, and see if it works then. I am on 13.2 though (using KDE:Frameworks5 and KDE:Applications).
I tried to start KRDC from the command line to see if it sent some message to the console, but all I got was this, just before the error:
KBookmarkMenu::slotBookmarksChanged groupAddress: "/0"
That's unrelated debug output. I get that too, also when everything works.
Another strange thing: if I enter "krdc -v" at the command line, this is what I get:
cristiano@xmper8q3:~> krdc -v krdc Ё
krdc sets an integer version number instead of a string, you'll see this in the "About" dialog too. But that is harmless and also unrelated. I submitted a fix for that upstream already though, will be fine in 16.04.3 as well... https://quickgit.kde.org/?p=krdc.git&a=commit&h=c6fdda25fe1903999268716a5dcbe748f11c4dbd -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c2 --- Comment #2 from Cristiano Guadagnino <criguada+opensuse@gmail.com> --- Wolfgang, I got my bookmarks back by following your instructions. However, krdc is still non-functional when connecting to rdp. I am presently at release 16.04.2, so I'll wait for 16.04.3 and will try again. If it can be of any help, xfreerdp is at release 2.0.0-dev: cristiano@xmper8q3:~> xfreerdp --version This is FreeRDP version 2.0.0-dev (git n/a) Don't hesitate to ask, if you need more information. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c3 Cristiano Guadagnino <criguada+opensuse@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(criguada+opensuse | |@gmail.com) | --- Comment #3 from Cristiano Guadagnino <criguada+opensuse@gmail.com> --- Wolfgang, I just tried krdc with a fresh new user account and it worked! How am I supposed to proceed from here, to fix my main user too? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c4 --- Comment #4 from Cristiano Guadagnino <criguada+opensuse@gmail.com> --- Found the problem: your comment that KRDC was ported to KF5 led me to the solution. The problem is that the new krdc uses the KF5 kde wallet subsystem. This wallet contained the wrong passwords for my RDP sessions. So the login was refused and the session was instantly closed. After realizing this I opened kwalletmanager5 and deleted the wrong passwords. Now my rdp sessions are working correctly. Previously they were working correctly because they used the old kde wallet subsystem, which contained the correct passwords. So it was my fault after all, HOWEVER I think it is not correct that a failed login in an rdp session simply closes the session without any kind of error message. What do you think? Should I open a new bug for this erroneous behavior? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c5 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Cristiano Guadagnino from comment #4)
The problem is that the new krdc uses the KF5 kde wallet subsystem. This wallet contained the wrong passwords for my RDP sessions. So the login was refused and the session was instantly closed.
After realizing this I opened kwalletmanager5 and deleted the wrong passwords. Now my rdp sessions are working correctly.
Great! So it works for you now at least... I actually was going to suggest trying to disable the kwallet integration (i.e. saving the password) as a test next. ;-)
Previously they were working correctly because they used the old kde wallet subsystem, which contained the correct passwords.
Hm, actually kwallet/KF5 should migrate the passwords on first start. But you probably changed it after first using kwallet/KF5 (plasma-nm5 maybe). Unfortunately, if migrated once, the kwallets for KDE4 and KF5 are completely independent and will diverge. There were some talks about changing kwallet5 to replace kwallet4 completely, i.e. also offering the service for KDE4 applications to prevent having two separate wallets, but not much came out of this yet. And syncing the wallets is not possible either (yet?), nor done automatically. There's definitely room for improvement there... OTOH it won't matter much any more when all applications have been ported to KF5 (which might still take some time though).
So it was my fault after all, HOWEVER I think it is not correct that a failed login in an rdp session simply closes the session without any kind of error message.
What do you think? Should I open a new bug for this erroneous behavior?
I do agree that there should be some error message. But please report that upstream at http://bugs.kde.org/. There are similar (I think) bug reports already (though they mention having a blue screen in case of a wrong password, not just closing the session). Anyway, I'm closing this as fixed now. The two other problems you mentioned are indeed fixed (I submitted the migration fix to Tumbleweed as well, should be in the next snapshot), and the main one was actually caused by a wrong password (so not really a bug, except for the missing error message maybe). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c6 --- Comment #6 from Cristiano Guadagnino <criguada+opensuse@gmail.com> --- Opened upstream bug 365073 (https://bugs.kde.org/show_bug.cgi?id=365073) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=983900 http://bugzilla.opensuse.org/show_bug.cgi?id=983900#c7 --- Comment #7 from Wolfgang Bauer <wbauer@tmo.at> --- Thank you! Let's hope they fix it soon... ;-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com