SSH is one powerful tool. You can do just about everything under the sun using an SSH login to a remote computer. SSH works very well in low-bandwidth situations like dialup, or satlinks.
But wakeup, we’re no longer in the 80s - people want GUIs, let’s give them fancy-pants graphics, bouncing cursors and silly linux wizards. Remotely.
Enter Xming, what I would name as top of my favorite applications. Xming is just like X over SSH, for dummies (or people who would rather spend more time working).
Xming allows you to connect to remote or local Linux workstations and servers and run full graphical applications on those remote machines on your local Windows computer.
Here’s how it works: all of the applications are run remotely, but when it comes to the graphics, the information that would invoke the graphics is sent to your local computer, not a bitmap or a sequence of bitmaps like VNC. Xming uses a local X server on your Windows computer in order to display your remote applications. This local X server is 2D accelerated, and it’s sometimes difficult to even notice that you are working remotely.
Since Xming can run in windowed or full-screen modes, you can establish thin client connections in this fashion, or you can publish applications Citrix-style.
Xming is completely free to install and setup. It is a great way to manage virtual machines, and in fact is often faster than Microsoft’s Virtual Server ActiveX control (surprised?), VMWare’s Virtual Machine view (even with VMWare tools!), and even Parallels speedy virtual machine view.
To set the whole thing up, you’ll need a computer running Microsoft Windows, one Linux box, a network connection between the two, but you won’t need much effort.
First install the Windows Xming server on your Windows computer. We’ll use Windows XP SP2 in this example, but it could easily be other varieties. Xming can be found on Sourceforge quite easily, download it, run the install (use defaults), and start XLauncher.
On the Linux computer this are slighlty more complicated, but not by much. For Gnome or KDE on Ubuntu Edgy, go to the System>Administration menu in your menu bar. In Administration, we’ll select login preferences as we’ll be setting up a new logon method (we’re using XDMCP). Select the Remote tab, and enable remote logon (same as local) to your Edgy Eft machine.
Now on your Windows machine, set up XLaunch to logon to your Linux machine using it’s IP address. Save the setting if you want, and connect. You will be presented with a logon screen to your Linux desktop!
Related Articles:

9 comments
Comments feed for this article
October 19th, 2006 at 3:19 pm
Pingback from Azio’s Computer Log » Concept Of the Month: X over SSH
October 26th, 2006 at 11:39 am
Pingback from Xming to the rescue? at shadowsector.org
February 18th, 2007 at 11:40 am
john
I’m not able to get XMDCP logins to work with Ubuntu 6.10 and Xming. After the login screen I just see a blank desktop with a cursor. Any chance you know the secret handshake for this?
February 18th, 2007 at 11:51 am
blandname
Hi John,
It looks like you have your local X server running just fine, but are not attached to the Ubuntu X server. Try looking into whether or not you have the right IP address for the host, and also make sure remote login is enable on the remote host.
(subscribed to comments)
May 22nd, 2007 at 2:27 pm
Abhi
When I try connection using putty, I get a message saying connection refused
Do you need to have ssh server running on the ubuntu side ?
(subscribed to comments)
January 9th, 2008 at 10:03 pm
Aleksej
I discovered by accident that the problem was ESD. So if you go in the sound preferences and disable ESD, it may work again. I can’t be sure at 100%, as it seems there are several reasons for this problem.
But that was very clearly the reason for me, now I can login quickly no matter what.
Hope it helps.
(subscribed to comments)
April 20th, 2008 at 4:43 am
Johan
I discovered your blog looking how to get sound with xming and looking on your other posts, i realise your blog is so great! a fav for admins’ hacks!
greetings from a gentoo user!
May 2nd, 2008 at 6:35 am
Mooncaptain
I agree that for remote login to Ubuntu from Windows XP this is by far the best solution. I also had some trouble getting my remote desktop to show up. That is, I was able to connect ( I wasn’t refused), I entered user name and password, but only the background color of the desk top would show. Eventually I tried de-selecting the the clipboard option and I was able to login successfully. I still haven’t sorted out how to enable this option and get a connection.
September 3rd, 2008 at 11:09 pm
Oliver
To Mooncaptains comment:
I have the same issue here with Ubuntu 8.04 and Gnome Desktop.
It just shows this brown-orange screen. (Windows Vista, Xming).
But, I got the KDE Desktop running with the very same settings in Xming - I just changed the session on the logon screen to KDE.
I’ll do some testing later with the clipboard option disabled as you mentioned.