![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8DBsGrBl8WMXxGH_OH0tHhJRn58IG39uMO8eDgN754HQN4VNSb7fYVkhGgNMtcGObUWCVGVsnDQTCMqw902VVUDCRiDwH2bcI88nN27r7CVqUH-JgvDBahg9si1azjE2_C-yltNXGnpSq/s200/compmgmt_mmc.png) |
Microsoft Tools Not On Linux |
Using
Linux to administer
Windows machines is not impossible, in fact, it's quite do-able. Although Windows-native interfaces like
MMC,
PowerShell, and
VB don't exist in the
Linux world, with some help from
RDP, it's easy to use a remote
Windows machine when these utilities are required either locally or to connect using one of these tools to another remote machine.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN688npc1hnFsLOkmAcZGz18bOTniHhC5AHowRtQlhtaXgKrzT1CjBS6NnnG8G2JyXDG9SokXGoaqoMZQAuSx_OQjxL0RE4quc5-yfnZ4FiaWhvzItU3xi8HBuGVJZi5cHum7hdD7KsWqO/s200/rdp_remmina.jpg) |
RDP to Windows Servers |
|
At some point a
Windows Admin has to
RDP to a remote
Windows Server. Whether it's to check event logs, troubleshoot an unresponsive service, add applications, or just reboot the thing! There are a number of available RDP clients for Linux, including
rdesktop and
2X Client. These pieces of software both have their upsides and downsides.
For example,
rdesktop is a terminal-based application for connecting to remote RDP servers. It can be difficult to use if you
similar to Microsoft's client. The script is called 'mstsc' and it contains the following:
aren't accustomed to the command line. For one-off connections, I use a short
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCDLaW_K3BgD85HmGIbz7tKKY_FauDmlg2Sn-Ml3Noxzx5EF0yxs5j15UUa1LBRO4DD68lRWGX6ot0TDqzqR6js2cHBy4E9NGCMZOQ_t0xeBlluL7U1JEuLtwWeQQELF2BqtJ2CVQMY695/s320/rdesktop.png) |
rdesktop on Ubuntu |
script to run rdesktop with a good default display geometry and syntax
#!/bin/bash
rdesktop -g 1024x768 -a 16 $1
This way, I can use the syntax:
./mstsc <ServerName or IP>
Similarly to
how the Windows RDP client is executed (without the /v). This provides a quick, command-line method for accessing remote machines on an ad-hoc basis.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7Xzcjeet1ESnunDq5Kry5GeYAKQTWINJpU_nxvZ99W-uDSIRCP6Hn1DZcr1gpO2je_5l8zAD5UZafYcj8RPUdYMFVSPOEnPnD9miaSaQQmu_b1r5Y8JOrG3lHt3pHu3v7nSdtkg2MeY1b/s200/grdesktop.png) |
GRDesktop is a GUI for
rdesktop in GNOME. |
There are
GUI front-ends for rdesktop and, in fact, many of the RDP clients you'll find are mearly GUI front-ends for rdesktop. (like "
GRDesktop", a Gnome front-end for rdesktop.)
2X Client is a proprietary program designed to work with commercial
2X application server products, though standard RDP is also supported. The client is
free (as in beer) and they have
packages for popular distributions.
Of the RDP clients I've used, the one I've stuck with is called
Remmina.
Remmina is a GUI frontend for
FreeRDP.
FreeRDP is simply a fork of rdesktop (see?!). It's been around for a few years now and comes along with
Debian and
Ubuntu in their repos, so it's super easy to install. Just use
aptitude:
sudo aptitude
or
apt-get
sudo apt-get install remmina
or
Ubuntu Software Center.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgquMDqDD7-DDBF3BQodHQZ5Gr6q3XipjWqZsRVXsnz7sZPMIEpfe88ME9ghSrmjJOGy_HwUtgkXj9W8NeIIZu3MDCD5lIEMokJSHNwF7ADSSZLi7pda4ucnV1Kpnriua_N2d3q445iQofJ/s200/scbutton-free-200px.png) |
Install Remmina from Ubuntu Software Center |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFUrJThaLwtqlCTjAceAoo_lt_aJTKkswG46KyN1vrrLVaCc5Xa1FOUPrjZ289gZ37NTCVOH8m8-H1AxOnO1OtKH4KeUy2OqaADEO3vaJouvrEo32FbKF_RRjUApuOEaZcFNHkVEU9YKBD/s320/mremote01.jpg) |
mRemote Console |
|
Before I migrated to
Ubuntu Linux for my work machine, I had been using
Windows 7 and
8. In Windows 7, there was a nice little application I used to connect to remote servers called
mRemote.
mRemote was a console that the user could add RDP,
VNC,
ssh, https, and other connections to in order to remotely access systems.
The ability to create https connections was a point of particular awesomeness for me. Why? My company also used
LogMeIn in order to access machines behind
firewalls we didn't control. Back then,
LogMeIn still allowed for an admin to create a shortcut that would connect them directly to the host without having to go through the website. An admin could copy the URL from the shortcut and add it to mRemote as an https connection and viola! All servers, no matter what method was used to connect to them, were available to me in the console.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3paXTCNmh70Mv6kVADhRIJeoBj6qIe5HPxSEjZqtDr3CQ1Qz98ih0s0iXSY0KlrOSC9R249tkdZYqHz4_UEsodlp7F3R24oyrZKzKFimmLkD7NsYhsaiZa1lK8U2hRrxJpOO8hpzs-Ct-/s320/about_us_display.jpg) |
https support was helpful for use with LogMeIn |
After moving to
Ubuntu, I tried running mRemote in
Wine without success. The application was long since
abandoned by the developer so there was no hope of support being written in. While searching for an
alternative, Remmina was suggested.
Remmina is the closest thing to mRemote I've seen on
Linux. You can add connections to the console for remote protocols like RDP, VNC, ssh, and
NX. The remote protocols are supported via plug-ins, so, theoretically, other protocols (like https, perhaps?!) can be added if an
enterprising programmer decided to write it. Although, LogMeIn has since
removed the ability to create shortcuts from its 'Free' accounts, so it's not really as important to me anymore...
Still...
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnqbXPsyJ1QXszM8AebYLWFEhIM149cNJjpA0lJObY_98N9XD6y3_YOLdbFbMzCprzgeVKScvsBymXri02Oh0F1AxZG_SDPPswZOJcJZoAVNPjqmgtkw4fsquO8iqO5oKaR6vhQWOqbyEw/s200/linux-n-windows.png) |
Moving from mRemote to Remmina |
Moving from mRemote to Remmina was made simpler for me through the use of a
handy script I found (and unfortunately, can't remember who wrote!) that actually takes the XML from mRemote and converts it to Remmina connection files. Brilliant! It's not 100% effective, mind you. None of the stored credentials made the transition and the display settings have to be changed, but just having all the host names and client names automatically come over was a big help for me!
Using
Remmina is really easy. I have it configured through Ubuntu's "
Startup Applications" to run at startup. It loads up to the top toolbar panel and provides an easy-to-use drop-down menu of all the configured groups and connections in the application. One click to drop the menu, one click to connect. Done and done. You're on your remote server doing what you need to do.
In practice, I have had an issue with the menu where it scrolls off the screen without providing scroll handles, but if I click away and re-open the menu, it fixes itself. I've also had
occasional lock-ups, particularly when using multiple tabs with multiple protocols. It doesn't happen often enough to really impact my ability to work, so it's not a problem for me, and the convenience the program provides far outweighs the inconvenience of the occasional lock-up IMHO.
Have you used
Remmina or another RDP client in Linux? Which are your favorite? Leave your comments and let me know!