Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548740 - =kde-apps/krdc-4.14.3 does not work with =net-misc/freerdp-1.2.1_pre20150326
Summary: =kde-apps/krdc-4.14.3 does not work with =net-misc/freerdp-1.2.1_pre20150326
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 07:12 UTC by Agostino Sarubbo
Modified: 2015-10-06 07:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
conf (conf,55.93 KB, image/png)
2015-05-07 15:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-05-06 07:12:49 UTC
after the freerdp update, the rdp protocol does not work with e.g. windows 7.

It should be odd but it works with windows server 2012.
Comment 1 Mike Gilbert gentoo-dev 2015-05-06 14:28:15 UTC
I use xfreerdp to connect to Windows 7 and Windows Server 2008 R2 on a regular basis without issue.
Comment 2 Agostino Sarubbo gentoo-dev 2015-05-06 14:36:03 UTC
works for me too but not from krdc
Comment 3 Nick Andrade 2015-05-06 22:38:18 UTC
Agostino, I am able to connect to Windows 7 from krdc built with freerdp 1.2.1 without issues.  

I tested using both, "Allow connections from computers running any version of Remote Desktop (less secure" and "Allow connections only from computers running Remote Desktop with Network Level Authentication (more secure)" and both worked.  Perhaps you're using Network Level Auth and need to add your username?  

If it matters, all testing was to a Windows 7 Ultimate with SP1 running in a VirtualBox VM on a local bridged adapter (so from krdc's perspetive, it looked like a Windows 7 system on my LAN).

On a side note, I also tested with VRDP (so connecting to the VirtualBox RDP server instead of Windows 7 directly), and that also worked.
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2015-05-07 03:49:44 UTC
For reference, to be able to connect to a Windows 7 / 8 host with KRDC, the address needs to be specified as:

{$domain\}$user@$host

I've been using KRDC to connect to our domain servers / workstations for a long time. One also needs to input the password when asked. Windows 7 / 8 won't present the login screen if one presses 'Esc', like Windows XP does.
Comment 5 Agostino Sarubbo gentoo-dev 2015-05-07 07:11:49 UTC
I'm a long-time krdc user and the issue born with the update of freerdp. Downgrading it, make it functionally. So thanks for the hints but just try to avoid the foregone things...
Comment 6 Nick Andrade 2015-05-07 14:59:02 UTC
Are you using any non-default settings?  I am not a krdc user; I just installed it to test this bug and the connections I set up were with the default settings for a new rdp connection.  The only setting I tweaked was around the resolution.  I am wondering if maybe some functionality was deprecated in 1.2.1 that's causing a setting to break.
Comment 7 Mike Gilbert gentoo-dev 2015-05-07 15:04:39 UTC
I'm removing the blocker on the freerdp stablereq until someone else confirms this.
Comment 8 Agostino Sarubbo gentoo-dev 2015-05-07 15:04:44 UTC
Created attachment 402826 [details]
conf

(In reply to Nick Andrade from comment #6)
> Are you using any non-default settings?  I am not a krdc user; I just
> installed it to test this bug and the connections I set up were with the
> default settings for a new rdp connection.  The only setting I tweaked was
> around the resolution.  I am wondering if maybe some functionality was
> deprecated in 1.2.1 that's causing a setting to break.

I'm attaching my default conf.
Comment 9 Agostino Sarubbo gentoo-dev 2015-05-07 15:18:57 UTC
I've upload a video of what happens here. 
http://dev.gentoo.org/~ago/krdc.ogv
Comment 10 Mike Gilbert gentoo-dev 2015-05-07 15:23:37 UTC
I can try to reproduce this myself later today.
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2015-05-07 18:02:27 UTC
$ qlist -Iv krdc freerdp
kde-base/krdc-4.14.3
net-misc/freerdp-1.2.1_pre20150326

Tue Apr  7 23:18:45 2015 >>> net-misc/freerdp-1.2.1_pre20150326
Tue Dec 30 04:44:27 2014 >>> kde-base/krdc-4.14.3

I've been using krdc with the new freerdp for the past month and am able to connect to systems with Windows XP, 7, 8, Server 2003 and 2008.
Comment 12 Ortwin Glueck 2015-05-11 14:23:39 UTC
If you disable audio, krdc produces an invalid command line option (udio-mode:) for xfreerdp which causes xfreerdp to exit.

Easily visible from: strace -f -e execve -v krdc 
[pid 26865] execve("/usr/bin/xfreerdp", ["xfreerdp", "-decorations", "/w:1630", "/h:952", "/kbd:0x00000807", "/u:mlog", "/parent-window:46137548", "/bpp:24", "udio-mode:", "/network:lan", "/rfx", "/cert-ignore", "/clipboard"

If you select Sound "on this computer" you get a valid command line and xfreerdp starts (but the audio option is still not what it should be):
[pid 28692] execve("/usr/bin/xfreerdp", ["xfreerdp", "-decorations", "/w:1630", "/h:952", "/kbd:0x00000807", "/u:mlog", "/parent-window:46137667", "/bpp:24", "/audio-mode:", "/network:lan", "/rfx", "/cert-ignore", "/cert-ignore", "/clipboard"

a fix to #545032 should also fix this issue
Comment 13 Andrey 2015-05-13 17:11:52 UTC
Replacing preliminary krdc-4.13.1-freerdp.patch with the actual changeset, that was merged upstream [1] resolved the problem for me.
With the patch [1] applied instead of krdc-4.13.1-freerdp.patch, everything works fine with krdc-4.14.3 and freerdp-1.2.1_pre20150326 (and xfreerdp command-line is correct).

Agree, that this is kind of a duplicate of bug #545032.


[1] http://quickgit.kde.org/?p=krdc.git&a=commitdiff&h=a9e514b29b5611e01c2c024157d36eaf416e0c5a&o=plain
Comment 14 Joerg Schaible 2015-06-25 07:25:05 UTC
Krdc with freerdp-1.2.1_20150326 not dot work for me either. The connection to a machine running Win 7 Prof is established, but I get only the blue screen and then the connection hangs, it does not log in. Works flawlessly again after downgrade to freerdp-1.1.0_beta1_p20130710-r1.
Comment 15 Johannes Huber (RETIRED) gentoo-dev 2015-08-26 12:02:41 UTC
Thanks for reporting. This is fixed in git now. Please sync.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb976271cf5c403b0b9ba2f2ab7d18aacb429737
Comment 16 Joerg Schaible 2015-10-06 07:46:25 UTC
Hi Johannes,

new krdc works with this version of freerdp, thanks. However, I wonder a bit about the krdc version 15.08.0, because it identifies itself as 4.14.8 in the about box.