Running Windows Applications in Linux another look at Wine



Recently I did a post on the release of version 5 of Crossover Office which is a commercially supported variation of the wine project. In fact, it’s very similar, the only exceptions I know of are the neater installer for software and paid support. Anyway, I’ve got a project I’ve been working on that I’ve used cxoffice quite a bit in to run a particular application that isn’t directly available on linux (there are alternatives but none that work exactly the same way… more on that in a future post…) Anyway, it got me thinking and I visited the wine site and found that 0.9.1 has now been released. I checked the wine version on my desktop and decided to upgrade to the newest plain vanilla wine release and see how well it does….


Ok, the application I was running is UltraVNC which is a variation on the VNC software that I talked about not too long ago. Yes there ARE VNC clients for many operating systems, including linux (tightvnc has been a favorite for a good while), but there was one compatibility problem I faced with other variations which I’ll explain at some point in the future…. Anyway, the vncviewer.exe from Ultravnc seemed to work find under cxoffice wine without any installation… ( start… run… /home/username/cxoffice/bin/wine /path/to/vncviewer.exe) I was able to use it to connect to another machine with no problem and even start it in “listen” mode with no problem. It seemed good, if a bit slow.

When I started trying to run it with plain vanilla wine I ran into a message like this…

wine vncviewer.exe -listen
err:wave:OSS_WaveOutInit open(/dev/mixer2) failed (No such file or directory)
err:wave:OSS_WaveOutInit open(/dev/mixer3) failed (No such file or directory)
err:wave:OSS_WaveInInit open(/dev/mixer2) failed (No such file or directory)
err:wave:OSS_WaveInInit open(/dev/mixer3) failed (No such file or directory)
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 13
Current serial number in output stream: 14

Now, for the why’s and wherefore’s…. I’ve had a variety of sound configuration changes on the system including as many as three sound mixers, but currently don’t… so I tried linking the mixers 2 and 3 to the first mixer ln -s mixer mixer2 and ln -s mixer mixer3… I still got the following…

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 13
Current serial number in output stream: 14

I had vague memories that the last time I had visited vanilla wine I had similar problems and after browsing my /home/username/.wine folder tried renaming my config file (which didn’t solve the issue), I finally renamed /home/username/.wine to /home/username/.wineold

Tried again ( start run, wine /path/to/vncviewer.exe )and (very quickly) up popped the vncviewer… I say very quickly because compared to cxoffice wine it is fairly quick at opening. (~4 seconds with plain vanilla wine, ~12 seconds with cxoffice.) Now to be fair I have a LOT of stuff installed in cxoffice (most in the default profile) and I suspect it has to load the registry when starting. Also, cxoffice by default is themed more nicely to match the desktop than vanilla wine, I suspect I may be able to control this in /home/username/.wine/config but I don’t recall where right off…

Anyway, in listen mode, the responsiveness for putting an icon in the system tray is more notable, again in vanilla wine’s favor. Although I can run it in listen mode under cxoffice wine, I don’t consistently get the tray icon for many minutes. With “stock” wine, it’s there within 3 to 4 seconds and is fairly responsive to right clicks, and even an information bubble on mouseover. (One thing I haven’t seen is a way to dismiss the right click menu without actually clicking on an item.)

Some other notes, winecfg (the utility that ships with “stock” wine for configuring your wine environment has made great strides since last I saw it.)

Other resources for getting started with wine are at frankscorner as well as the winehq site listed above.

There are other good resources too though… One such is WineTools and to describe them I’ll borrow from the main page….

WineTools is a menu driven installer for installing about 90 Windows programs under the x86 (Athlon or Intel PC) processor architecture with the Linux operating system using Wine.

Simply put, it’s the nice installer that vanilla wine lacks…

You should keep in mind that to install some components you need to have a valid Windows License, so be sure to carefully read terms…

There’s also the Sidenet Wine Configuration Utility which also makes it easy to install programs into a wine/linux environment.

Also, if you’re goal is to install Internet Explorer under linux (web designer’s for instance, or for those websites that are afraid of other browsers…) There’s IE’s 4 linux which is a batch script to install several versions of Internet Explorer… in fact here’s a summary…

You don’t need to click on anything to install IE6, IE5.5 and IE5 – with FlashPlayer 8

.

Of course, they go on to suggest using Firefox to use the web. I must say that having an install of IE is necessary because of the unexpected ways it renders, you can have perfect looking CSS and get wierd results, so it’s still necessary to spot check with multiple browsers. In fact, I’m, using ies4linux right now to see how well it does.

Anyway… hope that’s enough wine info to tide you over with.


Related Posts

Blog Traffic Exchange Related Posts
  • Viewing Office file formats without Office installed OK, so you've received a Powerpoint presentation that you NEED to view, but can't So the first reaction is to run out and buy Microsoft Office right? Well, no that doesn't have to be the first choice. There are in fact a few options. For starters, under both Windows and......
  • Linux: Using Mandrake (Mandriva's) URPMI tool As background for this, I've used Mandrake Linux (now Mandriva) for my main desktop since around 8.2 I can't remember quite how long ago that's been, but around 3 to 4 years I think. The why is something best saved for another writeup. Early on I was frustrated by installing......
  • X-Plane and linux I've mentioned X-Plane before - it's a flight simulator that strives to be as accurate flight modeling -wise as possible. Realism is one of their goals and it's also unique in that it's available for Mac/Windows and Linux (version 8 that is). (There is flightgear also, but X-Plane has still......
Blog Traffic Exchange Related Websites
  • Comparison Of The PC Best Registry Cleaners Are you always having problems with your PC, like slow start-up, slow performance, system crashes, and computer freezing?If so, you most likely need your PC's registry cleaning, repairing, and organising!Why you need a registry cleaner!Windows operating systems have a component called a registry. As your computer operates it continually creates......
  • Install Interior Window Shutters to Cool Your House If you’re dealing with a lot of windows in your home and you are worried about keeping it cool inside, one of the best solutions is interior shutters. They will cost more than drapes, but they are easier to clean and much more permanent. The look of interior shutters can......
  • Steps to Installing a Home Steam Shower A home steam shower makes your bathroom a retreat, and if you're a do-it-yourselfer with some experience you can probably handle at least some of the installation yourself. Not only will it make time spent in the bathroom more enjoyable, but any type of bathroom remodeling improves the value of......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site