Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Compile a universal binary Windows remote desktop app UNIX
The Remote Desktop Client app is a pretty handy way to remotely manage/control a Microsoft Windows workstation. However, the solution Microsoft provided is a little bit outdated and runs on Rosetta, which hogs CPU and memory. An alternative way of doing this is by using the rdesktop program, which is open source for Linux/Unix.

First, go to their download page and download the latest source code. Extract the source to say ~/rdesktop. Then, we need to compile the program on Mac OS X. Open Terminal and cd ~/rdesktop, run the following commands:
$ ./configure
$ make
$ sudo make install
Finally, you can use X11 to run the rdesktop program.

[robg adds: You'll need to have the X11 application installed in order to compile and use rdesktop. I had some issues initially, due to an X11 install that was somehow messed up (no X11R6 directory in /usr). After some retries with the X11 installer, compiling worked as described above.]
    •    
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[15,437 views]  

Compile a universal binary Windows remote desktop app | 12 comments | Create New Account
Click here to return to the 'Compile a universal binary Windows remote desktop app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Compile a universal binary Windows remote desktop app
Authored by: kainjow on Aug 28, '06 08:20:56AM

You don't create a universal binary - it's only an Intel compatible binary.

Also I wasn't able to use Terminal to get it to work (although the binary did execute). You have to use xtermin from within X11 to run it.



[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: kainjow on Aug 28, '06 08:24:04AM
One more thing, and if you're confused as to how to use rdesktop, try this:
/usr/local/bin/rdesktop -a 16 <ipaddress>


[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: daco on Aug 28, '06 09:20:06AM

I don't know a lot about binaries being universal or not, but this hint runs perfectly on my non-intel G5. Thanx!



[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: petieg on Aug 28, '06 10:00:23AM
Also, use XDroplets to create mini-Xapps that you just double-click on to run rdesktop. While it is a fine app -- i find MS's Remote Desktop better. ONLY for PPC mac's though. Either way, MS's app is really only useful when used in conjunction with RDC Menu which is UB. http://www.xutils.com/

For mactel's, rdesktop is the better performer (until MS can update their product to UB ??? -- we'll see!)

xdroplets
http://pages.cpsc.ucalgary.ca/~fuhrer/personal/freestuff/xdroplets/

[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: n9yty on Aug 28, '06 11:24:56AM

It's been a long time since I compiled it, so may be missing a point or two...

This is my config line that did all things necessary for universal binary support:

CFLAGS="-I/usr/local/include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" LDFLAGS="-L/usr/local/lib" ./configure --disable-dependency-tracking

I think that was about it, so put that in place of the ./configure and you should be all set. If there was more I had to do to make it work, I apologize in advance for my poor memory.



[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: cliefan on Aug 28, '06 11:38:24AM

I did this a while back when i first got my MBP, but stopped using it when I wasn't able to paste copied text into the rdesktop session. Does this work for anyone else? It does work with Microsoft's client.



[ Reply to This | # ]
Fink
Authored by: ssevenup on Aug 28, '06 12:04:20PM
"fink install rdesktop"

Easy Peasy :-)

---
Mark Moorcroft
ELORET Corp. - NASA/Ames RC
Sys. Admin.

[ Reply to This | # ]

Compile a universal binary Windows remote desktop app
Authored by: rsnyder on Aug 28, '06 03:02:40PM

sudo port install rdesktop

even easier and peesier



[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: Anonymous on Aug 30, '06 08:07:09AM
I've put together a complete instruction set for building the latest version of rdesktop (currently 1.5.0-rc1) and patching it to fix a problem where rdesktop spans all displays in a multi-display setup.

[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: petieg on Sep 20, '06 09:03:22AM
Nevermind all -- one of the best all-in-one RDP/VNC has just been found!! All kudo's go to the developer and the TaoOfMac for showing me the light. No window control though...

Tsclientx

http://desktopecho.com/tsclientx/

[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: petieg on Sep 21, '06 10:15:01AM

Sorry... window control is there (i had one too many options checked off). This is by far the best rdp client i have found for a mactel.



[ Reply to This | # ]
Compile a universal binary Windows remote desktop app
Authored by: sighup9 on Sep 29, '06 01:44:34AM
Wow, TSclientX is slick.

For those who do not want to run X11, another universal binary option is the Cocoa-based Remote Desktop http://www.macupdate.com/info.php/id/22770

A bit rudimentary at the moment but it works.

[ Reply to This | # ]