Accessing xterms from Windows

By Richard Sharpe, LinuxWorld.com |  Networking Add a new comment


Death. Taxes. Microsoft Windows. No matter what the future may hold, at present you still can't avoid any of them. But there are ways to make Windows cooperate with Linux, and thus simplify our work lives until that legacy OS is no longer as ubiquitous as the Reaper or the taxman. In The Legacy Files, a new monthly LinuxWorld column, Richard Sharpe will show you how to integrate Linux and Windows and work around Windows' weak points. And if anyone knows how to beat death or taxes, be sure to tell us how in the forums. --Eds.


As I sat in front of a Windows system at a customer site recently, flustered while trying to fix a user's Internet access problem, I wished I could have access to the customer's Linux-based Internet gateway. I mean real access, with multiple xterms, not that pathetic excuse for a Telnet client Windows has. Once I had an xterm or two running on the server, I could quickly determine why the user could not access the Web. Perhaps Squid had died, or there were mistakes in the Access Control Lists in the Squid config file. Finding out from xterm would certainly be a whole heap easier than running back and forth between a user's PC and the computer room, or getting users to try things while I checked from the computer room.


The more I thought about it, the more I realized that having xterm available from a Windows PC would be very useful at other times as well. When setting up new PCs, much of the work of giving new users access to a customer's Linux servers could be done right on the PC, if only it were possible to fire up xterms. We already had file access sorted out, as we were running Samba on the Linux server. But while Samba configuration can be performed with SWAT, there are problems with SWAT, and Samba troubleshooting would be so much easier if you could watch the daemons and check the log files at the same time that you were trying to access Samba.


With the current rapid acceptance of Linux by organizations of all sizes, there are many companies around the world with environments in which Windows and Linux must coexist. As a result, there are system administrators around the world who need to deal with problems like those I detailed above. The Legacy Files will explore ways to integrate Windows and Linux. Future articles will look at running Windows applications on your Linux desktop, printing in mixed Linux/Windows environments, network troubleshooting under both Windows and Linux, and other topics. Readers are welcome to suggest Windows and Linux integration interests of their own as well.


So, getting back to the problem at hand, there I was, fired up with the need to access the customer's Linux server from a Windows box. I set about finding ways to solve my problem, and quickly came up with several approaches that had promise, which I will explore in the following sections.

Xterms from Windows

Paul Simon had it almost right when he sang about "fifty ways to leave your lover!" When I searched using Google, it seemed as if there were nearly as many ways to access Linux. While there are any number of good Telnet clients for Windows, what I wanted was to run up xterms, as well as other X Window System applications, remotely from a Windows machine. My search turned up a number of X servers for Windows, along with one surprising alternative.


The X servers were MI/X from MicroImages, X-WinPro from Labtam Finland, and X-Win32 from StarNet Communications. You can download each of them from Tucows or from the Websites of their respective companies (see Resources for links). The cost of the products varies from $25 for MI/X to $200 for X-Win32, with X-WinPro coming in at $90.


The surprising solution was VNC, or Virtual Network Computing, from AT&T Laboratories in Cambridge, England (see Resources for a link). This product is very effective and freely available; it's another example of open source software at work.

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    NetworkingWhite Papers & Webcasts

    White Paper

    The 2011 iPass Mobile Enterprise Report

    This industry survey covers trends, recommendations and a policy guide on managing Enterprise Mobility for IT management and CIOs. Get data on employee device liability, as well as smartphone/tablet penetration, budget control and provisioning. Find out how your organization compares, how to ensure mobile worker productivity, and control costs.

    Webcast On Demand

    Managing Enterprise Mobility Costs

    Mobile employees, especially those traveling internationally, were spending time and resources finding and making connections. Roaming costs were out of control. The IT Administrator at The Hay Group tells you how he got more control over these costs, providing management with predictable budgets and insights while ensuring employee productivity.

    Sponsor: iPass

    White Paper

    Digital Transformation: Creating New Business Models Where Digital Meets Physical

    Individuals and businesses alike are embracing the digital revolution. Social networks and digital devices are being used to engage government, businesses and civil society, as well as friends and family.

    White Paper

    The Journey to the Private Cloud

    Both business and IT need the agility enabled by the private cloud. Now you can apply technologies and processes pioneered by public cloud services to your own data center.

    Webcast On Demand

    Navigating the Public Cloud

    InfoWorld contributing editor and consultant David Linthicum offers expert advice about choosing services to outsource to the public cloud providers, cloud data security and identity, integrating public cloud services, and how to avoid provider lock-in.

    Sponsor: Intel

    See more White Papers | Webcasts

    Ask a question

    Ask a Question