Opened 9 years ago

Closed 5 years ago

#48797 closed update (fixed)

Upgrade rdesktop to 1.8.3 (Windows 2012/Win 2012 R2 support)

Reported by: ewen-naos-nz (Ewen McNeill) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: rdesktop

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The latest stable release of rdesktop "is currently v.1.8.3. This release adds support for Windows 2012 and Windows 2012 R2 which fixes smart card redirection, mouse cursor and other minor issues."

MacPorts has 1.7.1, possibly due to the port no longer having a maintainer.

It'd be helpful if someone else could adopt it and upgrade to rdesktop 1.8.3 to add support for RDP to Windows 2012/2012 R2.

Symptoms of mismatched version:

$ rdesktop 10.0.5.50
ERROR: recv: Connection reset by peer

(which is also symptoms of other things; but watching tcpdump shows that SYN/ACK threeway handshake completes, and RST comes after the first protocol negotiation packet.)

Thanks,

Ewen

Attachments (2)

rdesktop.Portfile (2.0 KB) - added by ewen-naos-nz (Ewen McNeill) 9 years ago.
rdesktop Portfile referencing github (does not build yet)
Portfile (1.1 KB) - added by ewen-naos-nz (Ewen McNeill) 9 years ago.
libgssglue Portfile (does not build as-is on OS X)

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Changed 9 years ago by ewen-naos-nz (Ewen McNeill)

Attachment: rdesktop.Portfile added

rdesktop Portfile referencing github (does not build yet)

Changed 9 years ago by ewen-naos-nz (Ewen McNeill)

Attachment: Portfile added

libgssglue Portfile (does not build as-is on OS X)

comment:2 Changed 9 years ago by ewen-naos-nz (Ewen McNeill)

rdesktop source has moved to github (it was on sourceforge some time back). With the help of this blog post and the github MacPorts group source, I've managed to cobble together a new rdesktop Portfile which gets as far as downloading/unpacking rdesktop 1.8.3 from github. Unfortunately the configure fails, apparently because it now needs libgssglue (and possibly other things; but the configure stops at libgssglue).

I've tracked down libgssglue to the Linux NFS v4 project, and attempted to make a Portfile for that, but sadly that fails at the build stage. At a quick glance it looks like it's due to assuming OS X is 68k:

:info:build ../src/gssglue/gssapi/gssapi.h:71:13: error: mac68k alignment pragma
 is not supported on this target
:info:build     #pragma options align=mac68k

which hopefully can be fixed relatively easily by a patch teaching it about OS X on x86...

However I've run out of time to spend fiddling with this now, so I thought attaching the work in progress to this ticket might help someone else who wanted to try. (If no one else does, I'll try again when I have more time. But that may or may not be soon.)

Ewen

comment:3 Changed 9 years ago by ewen-naos-nz (Ewen McNeill)

For anyone else playing along at home, it turns out that FreeRDP does support Windows 2012/Windows 2012 R2 RDP, and there is a fairly recent (git snapshot) version in Macports. The command line arguments are somewhat different (including Windows style command line flags rather than unix style ones), but at least for basic "I need to log in and check this one thing on a server" functionality it seems to just work with Windows 2012.

Of note, Win2012 (or Win2012 R2) seems to be defaulting to 'requiring' CredSSP authentication -- even when I tried rdesktop 1.8.3 on a recent Linux VM (Ubuntu 15.04/Vivid), it was failing the CredSSP authentication for reasons which weren't obvious (possibly just missing dependencies). Which led me to looking for alternatives, and thus to FreeRDP. (And it seems like FreeRDP started as a fork of rdesktop.)

Ewen

comment:4 Changed 5 years ago by l2dy (Zero King)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.