http://www.sqlservercentral.com/blogs/jamesserra/2011/07/29/dual-monitors_2C00_-dual-laptops_2C00_-and-the-best-way-to-manage-them/

Printed 2014/04/20 10:16AM

Dual monitors, dual laptops, and the best way to manage them

By James Serra, 2011/07/29

Here is a tip that could make you much more productive:  At home, I have a desktop computer with dual-monitors (via a HDMI connection and a DVI connection with 1920×1080 resolution.  One monitor is 24-inch, the other 21-inch).  I also have a laptop that I travel with and on that laptop is all my code for a client that I am doing BI work for during off-hours.  I also have a second laptop that was given to me by the current company that I am working at as a contractor for during the day.

So how can I easily switch between all three environments?  At first I thought of using a KVM switch, but then I realized a much better way that was also free: remoting into the two laptops.  I was embarrassed I did not think of it first and almost wasted money on a KVM, which would have been a less-effective solution.

How do you set this up?  First connect all three computers to your network.  I’m sure like any good developer you have a wireless network, allowing you to keep the notebooks someplace safe and out-of-the-way.  Then run Remote Desktop Connection (RDC), configure it for one of your laptops, then save the settings as a RDP file to your desktop.  Repeat for the second laptop.  Now, you can just double-click either of the new RDP files on your desktop to remote into the laptop of your choice.

You will want to right click both RDP files and choose “Edit” to modify the RDC properties.  Here are some settings of interest:

The beauty of this is how you can use your dual monitors while remoting in.  Trying to do that with a KVM would require one that supports three computers, supports DVI and supports dual-monitors.  That would cost you some major cash.

With all these settings tuned, whenever I am remoted into one of my laptops, it does not feel like I am remoting in at all: It seems like the dual monitors are connected directly to the laptop.

The only somewhat annoying problem concerns VPN.  On both laptops I use the Cisco AnyConnect VPN client, and by default that will not allow you to remote into your laptop and start VPN.  Instead you will get the error “VPN establishment from a remote desktop disabled”.  So you will have to jump on the laptop to start your VPN session before you remote in.  You will also run into the VPN getting disconnected (loss of internet, max time excedded, etc), which means you will have to exit your remote desktop, jump on the laptop to start VPN, then start your remote desktop again.  It is possible to update your Cisco VPN profile to allow for remote VPN: See the section “Allow AnyConnect Session from an RDP Session for Windows Users” in Release Notes for Cisco AnyConnect VPN Client.  But for security reasons you are unlikely to get your system admin to make that change.


Copyright © 2002-2014 Simple Talk Publishing. All Rights Reserved. Privacy Policy. Terms of Use. Report Abuse.