Accessing xterms from Windows

March 19, 2001, 03:26 PM —  LinuxWorld.com — 


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

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Free books

Essential JavaFX
Get started building rich Web apps quickly with an introduction to the power of JavaFX key features -- scene node graphs, nodes as components, the coordinate system, layout options, colors and gradients, custom classes with inheritance, animation, binding, and event handlers.Enter now!

The Nomadic Developer
Consulting can be hugely rewarding, but it's easy to fail if you are unprepared. To succeed, you need a mentor who knows the lay of the land. Aaron Erickson is your mentor, and this is your guidebook. Enter now!

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace