A Linux Island in a C:\ of Windows: Part 3, Playing in the Windows World

February 24th, 2005 by Eric Clapsaddle in

Now that your Linux VM is up, running and connected to the company network, it's time to move corporate work to the Linux side.
Your rating: None

If you've been following this series from Part 1, you now should have a Linux system running as a virtual machine on your company's Windows machine. In Part 2, we connected that virtual machine to the company network and to the Internet. So, we now a Linux system running as a virtual machine that lets you do UNIX administration work on the Linux side and corporate work on the company-issued Windows desktop. Now it's time to start moving some of that corporate work to the Linux side of things.

Before you can interact with the Windows machines, you have to connect to them. Windows uses the system message block (SMB) protocol to communicate among clients and servers. We simply have to fool the Windows servers into thinking the Linux machine is really a Windows machine. Using the Konqueror browser on the KDE desktop, pick a Windows shared directory and use SMB to connect. You can get server names and shared directories from your Windows Explorer. In the URL bar, type smb://<server_name>/<share_name>. You should see a listing of directories available on the server.

If you cannot connect, some more work may need to be done. The first thing to try is to turn off any firewalls that may be running. If you still are unable to connect, make sure the SMB client software is installed. Depending on the security setting on the Windows shares, you may have to authenticate again. You also may need to join the Windows domain. SuSE has a good utility in YaST to set this up, and I'm sure similar utilities are available in other distributions as well. To do this is SuSE, start YaST and then select Network services. Select Samba client and click start. If you don't have the right packages installed you will be prompted to install winbind and smbclient. After the packages are installed, browse for the Windows domain and join it. You may need to ask your security team for some special authentication information to join the Windows domain. With any luck, you should see the Windows domain name, and you now should be able to find your shared network drives.

SuSE 9.1 Professional has a utility that is installed on the desktop called Network Browsing. By using this utility, you should be able to browse around all of the Windows shares. No matter how you get to a Windows shared directory, make sure you bookmark it for easy access later.

If you really want to integrate into the Windows world, you can authenticate to an Active Directory server. This is useful if you want to keep your Linux password the same as your other password. Active Directory authentication also is good to have if you are demonstrating Linux's integration abilities to another user and they can sign in with their own ID and password. The steps to connect to an Active Directory server are not the simplest to execute, but they are explained in detail here.

Many companies are starting to provide Linux versions of their client software. IBM, for example, has Linux clients for DB2 control center, IBM Director and others. In addition to company-written applications, the Open Source community provides a wide assortment of alternatives. Furthermore, many Linux programs work as well as if not better than their proprietary counterparts. They even let you share files with people using Windows workstations, and they never know you're on Linux.

If you've used Linux for any period of time, you already know that OpenOffice.org can open and write Microsoft file formats, *.doc, *.xls, *.ppt and so on. OOo also can export files in .pdf format. Ask your bosses to cancel your expensive license for Acrobat; they love saving the bottom line.

If you work with Windows servers on a regular basis, chances are your Windows support team has Virtual Network Computing enabled on the Windows servers. Most major Linux distributions come with a VNC client. I use the krdc client that is part of the kdenetwork3-vnc package. There also is a Remote Desktop Protocol (RDP) client, rdesktop, and GUI front end, tsclient, that can connect to Windows servers by way of RDP. Using either one of these tools is easy and straightforward, so pick the tool that's right for your environment. Load it up, point to a Windows server and you can do work as if you were sitting in front of the Windows server. The tsclient GUI front end even looks and acts like the Microsoft RDP client.

Also, investigate the X3270 terminal that allows you to connect to a mainframe system, just like an old 3270 terminal. UNIX, Windows, mainframe connectivity--Linux does it all.

Now that you are using the Linux desktop more and more, you probably want to communicate with the outside world. Linux e-mail clients are plentiful and for the most part are quite good. Some of the more prominent ones are Kmail, Evolution, Mozilla mail and Thunderbird. I have used all these at work or at home with great success.

My company, however, uses Lotus Notes for e-mail, and Notes provides a good Web-based e-mail client. Many companies also use Lotus Notes for more than e-mail, as Notes also provides databases and other applications that may or may not be available through a Web browser. I had high hopes that IBM would provide a Linux client for Notes, but none is available as of yet. IBM is committed to Linux as a Notes server platform, which is great, but its support of a Linux client is lacking. That being said, there is a way to run a Windows Notes client on the Linux desktop--WINE to the rescue.

WINE stands for Wine Is Not an Emulator. And while it may not be an emulator, it does allow Windows programs to be run on a Linux machine. The steps for installing a Lotus Notes version 6.5.1 client can be found here. To do so requires that you have an installed Notes client on a Windows machine, but because I am using VMware on my company-issued machine, that requirement was not a problem.

In addition to using e-mail to communicate, my company uses instant messaging (IM). Linux provides clients for many of the more prominent IM protocols. Kopete, for example, communicates with AOL, ICQ, Jabber, MSN and IRC. Unfortunately, the one protocol missing is the one that we use at work, Lotus Sametime. As with most other Linux compatability problems, multiple ways exist to solve this problem. Lotus Sametime has a browser-based instant messenger. A package called JBuddy, an instant messenger from Zion software, works with Sametime. Unfortunately, Zion charges for a JBuddy license. Because I only use Sametime at work, I really don't want to shell out the $30.00 for a license. For now, the Web-based Sametime client works fine.

Now I have a fully functional Linux desktop that, except for missing support of one application, allows me to do everything that my Windows machine does. Getting this system working required only a small investment of my time and zero investment of dollars. Next time, I will discuss some more of the nice-to-have features that makes using a computer at work better.

__________________________


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous's picture

hung

On April 4th, 2005 Anonymous (not verified) says:

sdfsdfsdf

Anonymous's picture

a new company called Buddys

On March 19th, 2005 Anonymous (not verified) says:

a new company called Buddystream (www.buddystream.com) has a web client for sametime, jabber, novell, and LCS.

check it out and have fun.

Martin Randall's picture

Do they have a finished demo-prog ?

On March 22nd, 2005 Martin Randall (not verified) says:

Does somebody know, if this Buddystream-Company has an existing "real world" client to test this software out?

Anonymous's picture

Yes, they have a demo client

On October 7th, 2005 Anonymous (not verified) says:

Yes, they have a demo client to test all the stuff.

Anonymous's picture

Sametime access on Linux

On March 6th, 2005 Anonymous (not verified) says:

You can acces Sametime in GAIM with the Meanwhile plugin. I like GAIM quite a bit but was starting to switch to Kopete for some nice UI features. When I found out that I could do Sametime with GAIM, that made up my mind for me. I read that KDE 3.4 will have support for Sametime within Kopete. Hope this helps!

Adam Burke's picture

Dollar cost

On March 2nd, 2005 Adam Burke (not verified) says:

The final paragraph states that this system required "zero investment of dollars". Your company may have had a VMware licence that wasn't being used but I think you are misrepresenting the facts slightly. A reader wouldn't be able to achieve what you have achieved without paying for a $200 VMware Workstation licence.

Anonymous's picture

Qemu is a free alternative.

On March 23rd, 2005 Anonymous (not verified) says:

Qemu is a free alternative.

http://www.freeoszoo.org

Anonymous's picture

That's all great, but what if

On February 24th, 2005 Anonymous (not verified) says:

That's all great, but what if your stuck with MS Exchange Server for email? For that matter, I'd just be happy to not have to use Outlook.

MrNevaj's picture

Evolution to the rescue

On February 24th, 2005 MrNevaj (not verified) says:

I have been useing Evolution to connect to my exchange email for a few weeks now works Vary well.

Anonymous's picture

Manual on Evolution + Exchange

On February 24th, 2005 Anonymous (not verified) says:

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

July 2009, #183

News Flash: Linux Kernel 3.0 to include an on-the-go Expresso machine interface! Ok, maybe not, but Linux is definitely going mobile, from phones to e-readers. Find out more inside about Android, the Kindle 2, the Western Digital MyBook II, The Bug, and Indamixx (a portable recording studio). And if you've gone mobile and you been wanting more Emacs in your life then check out Conkeror.


To compliment the mobile we've got the stationary: parsing command line options with getopt, checking your Ruby code with metric_fu, and building a secure Squid proxy. How is this stationary you ask? What can we say? It's not. We just wanted to see if anybody actually read this part of the page :) .


All this and more, and all you have to do is get your hot sweaty hands on the latest copy of Linux Journal.





Read this issue