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

Run multiple copies of Remote Desktop 2.0 beta Apps
Microsoft has released a Remote Desktop Connection Client 2.0 beta for Mac (available for download from the right-hand side of this page). The app has a proper package installer and is a real Unix executable. This means that you can run multiple copies of it at the same time without making multiple copies of the application.

Here's the AppleScript code to facilitate launching it multiple times:

property RDPathMac : ""

on run
  if RDPathMac is "" then
    tell application "Remote Desktop Connection"
      activate
      set RDPathMac to (path to application "Remote Desktop Connection" as text)
      quit
    end tell
  end if
  tell application "Finder"
    if not (exists RDPathMac as alias) then
      tell application "Remote Desktop Connection"
        activate
        set RDPathMac to (path to application "Remote Desktop Connection" as text)
        quit
      end tell
    end if
  end tell
  set RDPath to (POSIX path of RDPathMac) & "Contents/MacOS/Remote Desktop Connection"
  do shell script quoted form of RDPath & " &> /dev/null &"
  quit
end run

Copy this text into Script Editor and save it as an applet or bundle, then drop this puppy in your Dock or just a convenient place to double click it, and laugh your way to multiple Windows connections!

More specifically, this script nicely checks to see if you've used it before, and if not, it runs Remote Desktop twice -- once to establish the path to the app, and once to actually open a new connection window. Every time you run the script after that, it will simply launch a new Remote Desktop Connection process.

[robg adds: gabester also provided this zipped archive that includes the compiled script along with a custom multiple-RDC-apps icon (note that I haven't tested this script yet). This hint explained how to run multiple copies of the prior version: you basically duplicated the app as often as needed.]
    •    
  • Currently 2.83 / 5
  You rated: 3 / 5 (6 votes cast)
 
[22,762 views]  

Run multiple copies of Remote Desktop 2.0 beta | 19 comments | Create New Account
Click here to return to the 'Run multiple copies of Remote Desktop 2.0 beta' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Why would you want to?
Authored by: extra88 on Aug 02, '07 07:48:58AM

The previous version of the RDC client for Mac could only connect to a single server so having a workaround that let you run multiple instances of the program was useful. But one of the major features of RDC 2.0 is that it lets you make multiple connections to servers so why run multiple instances of RDC 2.0?



[ Reply to This | # ]
CoRD is great
Authored by: leono on Aug 02, '07 08:25:41AM
I haven't tried the MS Remote Desktop 2 beta, so maybe they've really made it great, but I don't even feel like I need to, because I've got CoRD (Cocoa Remote Desktop). I switched to CoRD from MS RDC months ago and I've never looked back.

Check it out at:
http://cord.sourceforge.net

[ Reply to This | # ]
CoRD is great
Authored by: phoomp on Aug 02, '07 11:56:09AM

CoRD *is* really nice, but it only supports Vista in the nightly builds and even then there is quite a bit of lag when remote controlling a Vista install.

The two issues of most importance for me when deciding on a remote desktop app will be (in order)
1. Performance
2. Scalable sessions. I want to be able to run a 1280x1024 remote install on a 1280x800 machine without resizing the desktop of the remote machine. CoRD supports this. I haven't tried RDC 2.0 yet.



[ Reply to This | # ]
CoRD is Excellent!
Authored by: gxw on Aug 02, '07 05:25:49PM

Thanks for the post. CoRD is excellent.



[ Reply to This | # ]
CoRD is great
Authored by: phoomp on Aug 03, '07 06:56:44AM

After trying out RDC 2.0 last night, gotta say CoRD FTW, once Vista compatibility is smoothed out.



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: AaronAdams on Aug 02, '07 08:37:37AM

It's inexcusable that I can't simply type command-n to open a new RDC window as I can in any other Mac OS X app. Why is this so hard for Microsoft to get right?



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: elmimmo on Aug 02, '07 09:59:03AM

Well, you can. That is precisely what this applescript is doingÖ



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: gabester on Aug 02, '07 10:45:13AM

Yes, but we shouldn't need to hack up an applescript to perform a function that should be integral to the code of the application in question. Human Interface Guidelines indicated that under the File menu you should pretty much always see New, Open, and Close.

But then, what can we expect from the company that brought us Vista?

If I didn't have to register some kind of ID to submit to Microsoft a suggestion that should be intrinsic to the operation of their software, I would be sure to let them know the importance of a "New Connection" menu choice.
g=



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: garythemacguy on Aug 02, '07 08:44:43AM

@extra88  -  Currently, you have to save "bookmarks" - for want of a better word - for each server to which you want to connect. If you decide you want to connect to a "new" server - one for which you've not previously saved a "bookmark" then there's no way to initiate a /new/ connection while you have existing connections running. This utility allows you to run a new instance of RDC - which presents you with the "Connect to new server" dialog box on launch. Problem solved.

I'm involved with administering (probably) over 100 servers. There is a core set for which I have saved my "bookmarks", but I'm not going through them all specially, when the others are once-in-a-blue-moon connections. It makes sense to leave them until they're required. This is one scenario where this is a very useful utility.

@ gabester  -  Unfortunately, the AppleScript is crashing when I try to run it. :-( I see what you're trying to do here, but I'm not sure why the script is crashing.



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: extra88 on Aug 02, '07 09:20:35AM

Thanks for the clarification, I don't have the need for RDC that I once did so I haven't examined the details. "Beta" used to mean feature-complete but users like you and the commenter above should report to Microsoft the absence of something like File | New Connection as a flaw in RDC client 2.0 Beta.



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: kiltbear on Aug 02, '07 07:51:19PM

Create one bookmark (dot-rdp settings file) with all your favorite default settings (including username and domain), but leave the name of the server blank. Store/link the bookmark on the right side of your dock. Clicking this will bring up RDC's screen waiting for you to enter a server name.



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: elmimmo on Aug 02, '07 09:57:10AM
Gosh, rob, you should know better. I have been saying this every time you add a new version of this hint, which has been several times so far.

This is just a subset of the hint [http://www.macosxhints.com/article.php?story=20030711041351836] (Launch multiple instances of any given application).

It is useful because you get a thing to double click, but pleaseÖ duplicating the icon? We could make a compilation of hints title "Run multiple copies of [put app name here] by duplicating the icon (and bloating your desktop)" that appear periodically in OS X hints.

And it is not even needed at all.

[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: metafeather on Aug 02, '07 01:36:38PM
I'm a happy admin thanks to 'RDC Menu' from XUtils (no affiliation):

http://www.xutils.com/rdcmenu/

Currently supports RDC v1.0.x for full funtionality (inc. /console access), but will launch multiple copies of RDC v2.0b for those on the bleeding edge.

Despite this - I want to know why the RDP protocol is not included in Apple Remote Desktop, when VNC is, and there is a prefectly good opensource implementation in rdesktop:

http://www.rdesktop.org/

[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: kiltbear on Aug 02, '07 07:53:22PM

Create one bookmark (dot-rdp settings file) with all your favorite default settings (including username and domain), but leave the name of the server blank. Store/link the bookmark on the right side of your dock. Clicking this will bring up RDC's screen waiting for you to enter a server name.



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: Alrescha on Aug 02, '07 08:11:56PM

"The app has a proper package installer"

You mean an unnecessary package installer...

They could have just put the app in the dmg, and eliminated the need to run Installer at all.

A.
(who hates installers when drag and drop would have worked fine)



[ Reply to This | # ]
Run multiple copies of Remote Desktop 2.0 beta
Authored by: makip on Aug 05, '07 05:12:47AM

I agree - its bad design to see a package installer for an application install. This is taking control away from the user - I do not have control of what files are installed to which location when I run a package installer. Even if I am provided that control during the given package install, I dont know that fact prior to running the installer.

I think a package installation is only appropriate for items like libraries or codecs, etc, which require specific files to be placed in specific target folders. Most users place their applications in /Applications but that is optional and can vary.



[ Reply to This | # ]
Do it with Quicksilver
Authored by: mag on Aug 07, '07 02:46:25AM

If you have Quicksilver installed, you can save yourself a lot of trouble by enabling the "launch a copy" action. This enables one to launch as many copies of an application as one wants.



[ Reply to This | # ]
Do it with Quicksilver
Authored by: mag on Aug 07, '07 05:41:07PM

Apparently, you need to install the "Process Manipulation Actions" plug-in for this to be available.



[ Reply to This | # ]
RDC 2.0 Beta 2 now available, includes File -> New (connection)
Authored by: gabester on Oct 31, '07 07:21:32AM