Chapter 6. Troubleshooting

Table of Contents
6.1. Frequently Asked Questions
6.2. Issues with old versions of CrossOver
6.3. Getting Further Help

6.1. Frequently Asked Questions

This section addresses commonly asked questions related to the configuration, installation, and execution of CrossOver Office 2.1.1. It was last updated on January 9, 2004.

If you don't find an answer to your question here, be sure to check the online FAQ as we will update it regularly to document known issues and the corresponding workarounds.

For issues relating to older versions of CrossOver Office, please check the older issues page.

Finally, for more general information on CrossOver Office, see our web site.

1. Most common questions
6.1.1.1. The glibc 2.3 compatibility: CrossOver does not work.
2. General questions
2.1. About CrossOver
6.1.2.1.1. I need a new or upgrade copy of CrossOver Office. Where can I download it from?
6.1.2.1.2. How can I upgrade CrossOver? Do I have to delete everything?
6.1.2.1.3. How do I upgrade from the demo to the full version of CrossOver?
6.1.2.1.4. Application XYZ does not work in CrossOver! Can you help?
6.1.2.1.5. Will CrossOver interfere with my existing Wine installation?
6.1.2.1.6. Will CrossOver work with my security patches? (grsec, libsafe, etc.)
2.2. Installation
6.1.2.2.1. The Loki installation script fails when I run it.
6.1.2.2.2. Why do I get a "bad interpreter" error when trying to run the CrossOver installer?
6.1.2.2.3. Installation from the CDROM fails after pressing the 'Configure Now' button.
6.1.2.2.4. Why does OfficeSetup display an empty window?
6.1.2.2.5. OfficeSetup buttons are just blank! What do I do?
6.1.2.2.6. On Debian OfficeSetup gives an error about loading libXaw.so.6. Why?
6.1.2.2.7. I removed CrossOver Office from my account and installed it as root, but I get no menu.
2.3. When nothing works
6.1.2.3.1. Simple diagnosis steps
6.1.2.3.2. OfficeSetup gives "Unable to get list of installed applications"
6.1.2.3.3. I have an NVidia card and the Windows application installation hangs and prints strange characters on the terminal.
6.1.2.3.4. When I try to run any windows application that plays sounds in CrossOver my system freezes.
2.4. Application installation
6.1.2.4.1. I am installing an application from a CD-ROM (e.g. Microsoft Office), and the installer complains about missing files.
6.1.2.4.2. My installer complains "A previous program installation was never completed..." Why?
2.5. Printing
6.1.2.5.1. How do I customize my printer setup?
6.1.2.5.2. Printing on my HP4000 does not work.
6.1.2.5.3. Printing landscape still results in a portrait output.
2.6. Sound
6.1.2.6.1. CrossOver applications play no sound when another application is already playing sound.
6.1.2.6.2. Does CrossOver work with Alsa?
6.1.2.6.3. Does CrossOver work with aRts (KDE)?
6.1.2.6.4. Does CrossOver work with ESounD (Gnome)?
6.1.2.6.5. Dealing with sound issues in CrossOver applications.
2.7. Integration with desktop environments such as Gnome and KDE
6.1.2.7.1. I lost all my menus. What can I do?
6.1.2.7.2. Why does CrossOver give errors about Perl_Gthr_key_ptr on Gentoo?
6.1.2.7.3. CrossOver deleted all my KDE 3 menu entries in Mandrake!
6.1.2.7.4. Can I configure CrossOver so that some file types are opened using Unix applications?
2.8. Other issues
6.1.2.8.1. Why do applications hang when I try to browse files?
6.1.2.8.2. When I move the mouse pointer over a menu, it disappears!
6.1.2.8.3. Why don't the dead keys or national characters on my keyboard work?
6.1.2.8.4. How can I turn off anti-aliased fonts?
6.1.2.8.5. Can I change the Wine config file?
6.1.2.8.6. What is a MIME type?
6.1.2.8.7. How do I uninstall CrossOver?
6.1.2.8.8. I'm running RedHat 7.3 and sometimes a CrossOver application hangs.
6.1.2.8.9. How can I get my mouse wheel to work in CrossOver?
3. Microsoft applications
3.1. General
6.1.3.1.1. The Office 2000 installation never completes. What is wrong?
6.1.3.1.2. Why does DCOM95 fail to install with errors about RPCRT4.DLL?
6.1.3.1.3. Why does my Office install fail when updating the Microsoft Installer?
6.1.3.1.4. Word and Excel won't start on my dual monitor system!
6.1.3.1.5. After installing Office 97, I have trouble saving files and get errors about MSCREATE.DIR.
6.1.3.1.6. When I open a file, Office appears to lock up.
6.1.3.1.7. Clippy is causing Word to misbehave. How do I stop it?
3.2. Microsoft Office 2000 Service Packs
6.1.3.2.1. How can I install service packs for Microsoft Office?
6.1.3.2.2. "Internal error 2371" when installing Office 2000 SP1.
6.1.3.2.3. When installing Office 2000 SP1 the dialog "Insert Office 2000 CD" won't go away.
3.3. PowerPoint
6.1.3.3.1. Why don't the backgrounds appear in my PowerPoint XP slides?
6.1.3.3.2. PowerPoint locks my X server.
6.1.3.3.3. The Slideshow in PowerPoint does not work.
3.4. Outlook
6.1.3.4.1. Outlook can't connect to my Exchange server.
6.1.3.4.2. When I run the spell checker on a composed message in Outlook 2000, it crashes.
6.1.3.4.3. I enter my password for my Exchange server in Outlook and Authentication Fails
6.1.3.4.4. How can I access the mail control panel in CrossOver?
3.5. Internet Explorer
6.1.3.5.1. The Internet Explorer 5.5 installation is failing. Why?
4. Other applications
4.1. Photoshop
6.1.4.1.1. How can I install Photoshop 7 upgrade with Mandrake?
6.1.4.1.2. How can I get my Wacom tablet to work with Photoshop?
6.1.4.1.3. Why are my tablet's stylus and eraser are messed up?
6.1.4.1.4. Why doesn't Alt-Click work with Photoshop?
4.2. Lotus Notes
6.1.4.2.1. When trying to connect Notes to a Domino server I get "server not responding" errors.
4.3. Dreamweaver MX
6.1.4.3.1. Dreamweaver hangs when I click on "Define a Site". Why?
5. Integration with Unix Browsers
5.1. General
6.1.5.1.1. Setting the default browser.
6.1.5.1.2. Web pages open in Internet Explorer instead of my Unix browser. How do I stop it?
5.2. Mozilla, Netscape 6+, Galeon, Phoenix, SkipStone
6.1.5.2.1. Mozilla shows the "Select User Profile" dialog instead of opening URLs. What's wrong?

1. Most common questions

6.1.1.1. The glibc 2.3 compatibility: CrossOver does not work.

This is the main cause of trouble when trying to run 1.x versions of CrossOver Office. See our glibc 2.3 FAQ if you have one of the older versions.

CrossOver 2.1.0 is compatible with all known versions of glibc, the current version being 2.3.2. CrossOver 2.0.1 is compatible with glibc 2.3.1, however it may be incompatible with certain systems using glibc 2.3.2. See this FAQ entry for further details.

2. General questions

2.1. About CrossOver

6.1.2.1.1. I need a new or upgrade copy of CrossOver Office. Where can I download it from?

To download the CrossOver Office installer, go to our store at https://secure.codeweavers.com/store/login.php.

There you can log in using the email address you used to order CrossOver. If you need your password, just click on Lost Password and you will receive your password in the mail (you can change it once logged in).

Once logged in you will see a Downloads link in the sidebar. Click on that link and then follow the instructions to download the file.

Note, to be automatically notified of new releases, subscribe to our Announce mailing list.

6.1.2.1.2. How can I upgrade CrossOver? Do I have to delete everything?

If you are upgrading from the demo version to the full version of CrossOver please see the next question.

You do not need to uninstall CrossOver Office before upgrading. Just download the new version of CrossOver Office as described in the previous section.

Then simply install in the same directory as your existing installation. Your Windows applications, the files you have on the c:\ 'drive' as well as your settings will all be preserved.

If for any reason you wish to reinstall from scratch, first follow the uninstallation procedure, and then proceed normally.

6.1.2.1.3. How do I upgrade from the demo to the full version of CrossOver?

The safest way to upgrade from the demo is to uninstall everything and reinstall CrossOver from scratch, however you may upgrade over the top of a previous install if:

  1. You wish to continue using CrossOver installed as root.

  2. You are using the same type of installer that you used for the demo.

6.1.2.1.4. Application XYZ does not work in CrossOver! Can you help?

While we hope to dramatically expand the range of applications we support, adding support for an application requires us to have the application to test with (and preferably purchase several variants), and to spend a significant amount of time and effort testing and debugging CrossOver Office to work with it.

Thus if the application is not on our list of supported applications the answer is probably no. However you can discuss unsupported application with other users on discuss@crossover.codeweavers.com, somebody may have got it working there.

If you can show us it partially works, or can be improved with a small amount of extra effort, there is some chance we can fix it or add it to our semi-supported applications list.

However, if the application is critical to you, we can work with you on a contractual basis to make the application work. In such a case, please contact us at sales@codeweavers.com to discuss the terms of the contract.

6.1.2.1.5. Will CrossOver interfere with my existing Wine installation?

No, CrossOver will not interfere with your existing Wine installation. CrossOver and Wine each have their own Drive C: that will not be visible to the other.

6.1.2.1.6. Will CrossOver work with my security patches? (grsec, libsafe, etc.)

Sometimes. Many security patches disallow loading executables at certain locations in the memory map. Some Windows executables are stripped of their relocation records, thus must be loaded at a specific address in the memory map.

For this reason, you may experience trouble running certain programs in CrossOver with security patches enabled. If you are using grsec, please contact us as we may be able to help you. If you are using the "not executable stack patch" for Linux, you may disable it for CrossOver by running the following command:

$ /usr/sbin/chstk -e ~/cxoffice/bin/wineloader

2.2. Installation

6.1.2.2.1. The Loki installation script fails when I run it.

The error message usually looks something like this:

$ sh install-crossover-office-2.1.1.sh
Verifying archive integrity...Error in check sums 2527639012 444965528

This indicates that the installer was corrupted. This is known to happen if you use the ftp download link in Netscape 4.x because Netscape performs CR/LF conversions in that case. The remedy is to download the file again using either the http link or a different browser.

You may also get an error like this:

$ sh install-crossover-office-2.1.1.sh
Verifying archive integrity...OK
Uncompressing CrossOver 
Office...................tar: 
lib/wine/ntdll.dll.so: Wrote only 5120 of 10240 bytes
tar: Skipping to next header
tar: Error exit delayed from previous errors
Extraction failed.

When installing, CrossOver setup first extracts itself to /tmp. If you get the above error message, there is insufficient space on the partition contain /tmp.

You can use the df command to display the amount of free space on each of your harddisk partitions:

$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda6              2063504   1638816    319868  84% /
/dev/hda7             14017840   6120332   7185432  46% /home
/dev/hda1              4096548   3267460    829088  80% /dos

Note that the /tmp directory is usually located on the root (/) partition (as in the above example), though there may be space elsewhere on your harddrive, the "Available" size for the root partition is what is important.

You can also tell the installer to extract its temporary files to a different directory by running it as followings:

$ sh install-crossover-office-2.1.1.sh --target cxtemp

6.1.2.2.2. Why do I get a "bad interpreter" error when trying to run the CrossOver installer?

You should invoke the installer with the following command:

$ sh install-crossover-office-2.1.1.sh

If you are trying to install the bundle, the command would be:

$ sh install-crossover.sh

6.1.2.2.3. Installation from the CDROM fails after pressing the 'Configure Now' button.

If the associated error message from the CrossOver installer is as follows, this is most likely a problem with supermount.

Unable to find executable 'uninstaller' in '~/cxoffice/bin:'.

This problem occurs when installing CrossOver on a system utilizing supermount to auto-mount the CDROM. Supermount, which is installed by default on Mandrake 8.0, causes problems with symbolic links.

Here is how to remedy the situation, assuming you mount the CDROM on /mnt/cdrom:

$ su
# umount /mnt/cdrom
# mount -t iso9660 -r /dev/cdrom /mnt/cdrom
# exit

Now run the installation script again (as a normal user) and all should be well.

$ sh install-crossover-office-2.1.1.sh

6.1.2.2.4. Why does OfficeSetup display an empty window?

OfficeSetup requires the Helvetica and Fixed fonts to be installed on your system. If these fonts are unavailable, the OfficeSetup window will not display properly, and it may produce an error message like the following:

font "" doesn't exist.

To fix this problem you should install the Helvetica and Fixed fonts, which should be available in your distribution.

6.1.2.2.5. OfficeSetup buttons are just blank! What do I do?

Install 75dpi X fonts (XFree86-75dpi package). Be sure to restart X before you launch OfficeSetup again (restarting xfs is not enough).

6.1.2.2.6. On Debian OfficeSetup gives an error about loading libXaw.so.6. Why?

Apparently, Debian 3.0 (Woody) defaults to using version 7 of these libraries. Debian contains a package which will install the libXaw.so.6 libraries. You simply needed to install this package using the command:

$ apt-get install libxaw6

6.1.2.2.7. I removed CrossOver Office from my account and installed it as root, but I get no menu.

This problem can happen if you are using a Linux distribution that uses VFolders (mostly Gnome 2) for the menus. This is typically the case for RedHat 8 and SuSE 8.1 and later.

The solution is to delete ~/.gnome2/vfolders/applications.vfolder-info. However note that if you delete this file you will loose any non-CrossOver related change you made to menus in you account.

2.3. When nothing works

6.1.2.3.1. Simple diagnosis steps

Here is a list of simple steps that can help you identify the source of the problem and maybe even solve it. If not, please mention their results when reporting problems to http://support.codeweavers.com.

  1. When reporting a problem, specify which version of CrossOver you are using, whether you installed as root or in a regular account, and the browser and Linux distribution you are using. This information can greatly help us identify the most likely issues and thus provide you with a fix faster.

  2. If regular applications or OfficeSetup fail to start, then run the following command and send us its output:

    $ ~/cxoffice/bin/wine --cx-log - --verbose uninstaller.exe --list

6.1.2.3.2. OfficeSetup gives "Unable to get list of installed applications"

Running OfficeSetup gives the following error message:

Unable to get list of installed applications:
child killed: software termination signal.

Similarly, running any other application gives a "Terminated." message.

This problem happens when Wine fails to initialize correctly. This may occur for a number of reasons.

  1. You may have insufficient permissions to write to the /tmp or /tmp/.wine-username directories on your filesystem. CrossOver stores its Wine socket files in the latter directory.

  2. The latest version of glibc (2.3.2) is incompatible with versions of CrossOver up to and including 2.0.1. glibc 2.3.1 is incompatible with versions of CrossOver up to and including 1.2.0. If you are using an older version of CrossOver please upgrade. You can determine which glibc version your system uses by running the following command:

    $ ls -l /lib/libc-*.so

If these solutions do not work for you, please generate a debug trace file with the command below and send it to support.

$ ~/cxoffice/bin/wine --debugmsg +relay --cx-log start.log.gz uninstaller

6.1.2.3.3. I have an NVidia card and the Windows application installation hangs and prints strange characters on the terminal.

Some Windows installers load the OpenGL Windows dll which uses the OpenGL capabilities exposed by the NVidia drivers. Unfortunately some of these drivers have bugs that will cause the installation to hang and print strange characters on the terminal.

One possible solution is to upgrade to the NVidia drivers to the latest available version. The bug seems to be present in versions 3123 to 4496 but unfortunately the status of later driver versions is unknown (we welcome feedback on known good and bad driver versions).

Another solution is to prevent Wine from using the NVidia OpenGL driver by running the following command:

$ touch ~/cxoffice/lib/libGL.so.1

6.1.2.3.4. When I try to run any windows application that plays sounds in CrossOver my system freezes.

This system crash is usually caused by a bug in the SoundBlaster OSS sound driver which is triggered by CrossOver on some systems. In particular this is known to happen if the sound card is a "Creative Labs SoundBlaster VIBRA16".

We had reports that the Alsa driver is not affected by this bug. Thus this is the best solution although it may not be the simplest.

Alternately editing the Wine configuration file (~/.cxoffice/dotwine/config) so that the 'WineOSS' section reads as follows should avoid triggering this bug:

[WineOSS]
"LockFormat" = "8"
;"LockStereo" = "1"
;"LockRate" = "48000"

2.4. Application installation

6.1.2.4.1. I am installing an application from a CD-ROM (e.g. Microsoft Office), and the installer complains about missing files.

Some CDs contain 'hidden' files which may not be visible by default on Linux. This may cause your Office installation to fail with a 'file not found' error (eg. "can't find OFFICE1.CAB").

Versions of CrossOver Office after 1.1.0 will detect this issue, warn you and offer you to 'fix' your fstab configuration file, however the detection or fix may fail under certain circumstances.

The solution is to mount your CDROM using the 'unhide' option.

$ su  
# mount -t iso9660 -r -o unhide /dev/cdrom /mnt/cdrom
# exit  

You can also add this option in /etc/fstab to the beginning of the 4th column for the cdrom. For instance:

/dev/cdrom      /mnt/cdrom    auto    unhide,defaults,ro,noauto,user,exec 0 0

It is important to add the option at the beginning of the 4th field as the Linux kernel ignores all options after an invalid one.

Additionally, if you are using supermount, changing /etc/fstab will not take effect until you remount the CDROM.

IMPORTANT: Note that some systems expect the "nohide" option instead of "unhide". The easiest way to find out which option is appropriate in your case is to search the mount command manual page (man mount). So if you tried the procedure above and it still does not work, repeat the process with the "nohide" option instead and see if it makes a difference.

6.1.2.4.2. My installer complains "A previous program installation was never completed..." Why?

Some installers expect that the file C:\Windows\wininit.ini does not exist. This file is processed and removed when CrossOver reboots.

To solve this problem, you can select the Simulate Reboot option from the CrossOver menu, or run the following command:

$ ~/cxoffice/bin/cxreboot

2.5. Printing

6.1.2.5.1. How do I customize my printer setup?

CrossOver provides support for most printers with no additional configuration necessary. However, you can customize your printer setup for CrossOver by replacing the generic printer description file with a specific one for your printer. This process is described in an appendix to the manual.

6.1.2.5.2. Printing on my HP4000 does not work.

We've had reports that the PostScript generated by CrossOver Office doesn't print on HP4000 printers. The suggested workaround for this is to filter CrossOver Office's output through ghostscript in order to send PCL to the printer instead. To do this edit ~/.cxoffice/dotwine/config and change the line that reads:

"LPT1:"="|lpr"
to:
"LPT1:"="|gs -sDEVICE=ljet4 -dNOPAUSE -r300x300 -sOutputFile='|lpr' -q -"

6.1.2.5.3. Printing landscape still results in a portrait output.

This is known to happen with cups and perhaps other printing systems. The suggested workaround for this is to filter CrossOver Office's output to remove an '%%Orientation:' line from the PostScript that is believed to confuse pstops To do this edit ~/.cxoffice/dotwine/config and change the line that reads:

"LPT1:"="|lpr"
to:
"LPT1:"="|grep -v ^%%Orientation: |lpr"

2.6. Sound

6.1.2.6.1. CrossOver applications play no sound when another application is already playing sound.

In many cases the sound drivers will only allow one application to access the sound device at any given time. This is always the case for the OSS (Open Sound System) drivers and quite often the case of the Alsa (Advanced Linux Sound Architecture) sound drivers too.

So for instance, this means that if xmms is playing an MP3 file, CrossOver will not be able to play sound. One typical symptom of this problem is the absence of a Sound Out option in the QuickTime settings or that the sound volume will be disabled in Windows Media Player.

See also the sections about aRts and ESounD for related issues.

6.1.2.6.2. Does CrossOver work with Alsa?

CrossOver Office uses OSS to play sound. So if you are using the ALSA sound drivers you should make sure to you enable the OSS-compatibility module. You can check whether they are loaded on your system by typing lsmod. You should see a module called snd-pcm-oss and another called snd-mixer-oss.

6.1.2.6.3. Does CrossOver work with aRts (KDE)?

As mentioned above, the sound drivers will often only allow a simgle application to play sounds. A twist on this theme is that, by default, KDE (2.2 and greater) uses a new sound system called aRts which may already be using the OSS driver without your knowledge. Under this system, applications are supposed to send their sounds to a 'sound daemon' which mixes them in realtime and sends the result over to the OSS or ALSA driver. This lets multiple applications play sounds simultaneously but also means they cannot play sounds directly anymore which is what CrossOver is doing.

Here are a couple of ways to deal with this:

  • First check that this is actually the problem. To do so, start the KDE Control Center, and go to the Sound / Sound Server section. There you can disable the sound server by deselecting the Start aRts soundserver checkbox and then clicking on Apply. Then, restart the browser or application to see if sound works.

    Note that this may be the best solution. KDE will still be able to play its system notifications whenever the sound device is not already in use. And other applications, one at a time, will be able to play sounds too by directly accessing the sound device. But it is up to you to determine whether this is acceptable.

  • Alternately you can leave the aRts sound server running but try to minimize the periods of time during which it uses the sound device. This will minimize the interference between it and CrossOver applications.

    Still in the Sound Server section of the KDE Control Center, make sure the Autosuspend checkbox is selected, and choose a short time there. Three seconds has been reported to work well. Then click on Apply.

6.1.2.6.4. Does CrossOver work with ESounD (Gnome)?

Enlightenment Sound Daemon (EsounD) for the sound is a sound server which is commonly found in Gnome and Enlightenment environments. Its principles are very similar to those of the aRts sound server mentioned above so for more details please refer to the first part of the aRts entry.

Here are a couple of ways to deal with ESounD:

  • First that this is actually the problem. To do so, start the Gnome Control Center, and go to the Sound section. There you can disable the sound server by deselecting the Enable sound server startup checkbox and then clicking on Apply. Then, restart the browser or application to see if sound works.

    The main drawback of this solution is that it will prevent Gnome from playing sounds to notify you of events such as clicking on menus and so on.

6.1.2.6.5. Dealing with sound issues in CrossOver applications.

Generally speaking, if your sound system works fine in Linux applications then it should work in CrossOver applications.

However there are some cases where the sound system has bugs and will not work at some sampling rates or in some sound formats, whether in CrossOver Office or other Linux applications. One case that we know of is the combination of a CMI8738 sound card with the OSS drivers. Such a configuration will not play sounds at an 11kHz or 22kHz sampling rate, regardless of the application being used ('cat >/dev/dsp', bplay or xmms). Fortunately, in this specific case switching to Alsa drivers solves the problem and this is the recommended solution.

Thus, CrossOver Office lets you restrict the sound formats that CrossOver Office is allowed to use to work around sound bugs. For instance in the above case you could force CrossOver Office to only use a 48kHz sampling rate by editing the Wine configuration file (~/.cxoffice/dotwine/config) so that the 'WineOSS' section reads as follows:

[WineOSS]
;"LockFormat" = "16"
;"LockStereo" = "1"
"LockRate" = "48000"

CrossOver Office will then automatically convert the sound to be played to a 48kHz sampling rate. Similarly you may restrict the sound formats to any other sampling rate, to only 8 or 16 bit and mono or stereo sound. If you need to use this facility please let us know about the characteristics of your sound systems and the settings you had to use so that we can share this information with the other CrossOver Office users.

2.7. Integration with desktop environments such as Gnome and KDE

6.1.2.7.1. I lost all my menus. What can I do?

OfficeSetup provides a way of regenerating each menu item.

If you start OfficeSetup and click on the "Menu" tab, you should see a list of icons with "Regenerate Menu Entry" button next to each one. Clicking on that button should regenerate the menu item.

If you also lost the CrossOver menu entries such as the documentation menu, you can recreate them by running:

$ ~/cxoffice/bin/create_icon --crossover

6.1.2.7.2. Why does CrossOver give errors about Perl_Gthr_key_ptr on Gentoo?

CrossOver requires a Perl binary that is compiled with threading support. If you do not compile Perl with threading support, you may see the following error when CrossOver attempts to add entries to your desktop menus:

/usr/bin/perl: relocation error:
/home/username/cxoffice/lib/xml/perl/auto/XML/Parser/Expat/Expat.so:
undefined symbol: Perl_Gthr_key_ptr

To solve this problem, you should recompile Perl with threading support enabled.

6.1.2.7.3. CrossOver deleted all my KDE 3 menu entries in Mandrake!

This is a problem with early Mandrake KDE3 RPMs. The bug has been fixed in kdebase3-3.0-8mdk. You can download the latest KDE3 RPMs for Mandrake 8.2 by following the instructions here.

6.1.2.7.4. Can I configure CrossOver so that some file types are opened using Unix applications?

CrossOver provides scripts that make this possible. For instance to have the Unix Acrobat Reader program open PDF documents, all you have to do is type the following command:

$ ~/cxoffice/bin/cxwinassoc --extension pdf /usr/bin/acroread

Note that this may not work for all file types in all applications. For instance Internet Explorer always opens text documents using its internal viewer, no matter what the file associations say.

2.8. Other issues

6.1.2.8.1. Why do applications hang when I try to browse files?

If you are using Mandrake's supermount and CrossOver, browsing files with some applications will cause the application to stop responding for a long time. This problem most commonly happens on laptops that have their floppy drives removed.

You can solve the problem by running the following commands as root to disable supermount:

# supermount -i disable
# umount /mnt/cdrom
# umount /mnt/floppy

You need to run the umount command even if you don't have a CDROM or floppy inserted or mounted. If you are sure that the problem is caused by a missing floppy drive, you can remove the floppy drive entry from /etc/fstab and re-enable supermount.

6.1.2.8.2. When I move the mouse pointer over a menu, it disappears!

This problem occurs with the Sawfish and Twm window managers. If you are using Sawfish, change the "Focus" setting ("When does the mouse pointer affect the input focus") in the "Customize" menu to "Click".

There is currently no solution to this problem for Twm, and we recommend you upgrade your window manager.

6.1.2.8.3. Why don't the dead keys or national characters on my keyboard work?

This usually indicates that your locale wasn't correctly set up. CrossOver Office uses environment variables to set internal locale support in this priority order: LC_ALL, LC_CTYPE, LANGUAGE, LC_MESSAGES, LANG.

The following command should print the environment variables controlling CrossOver Office's locale:

$ set | egrep -e LC_ -e LANG  

Note that the output of the locale command may differ from the above.

A quick test to ensure that setting the correct locale will help is to execute the following command line and type the offending characters in Word (eg. for Portuguese):

$ LC_ALL=pt_PT ~/cxoffice/bin/winword  

6.1.2.8.4. How can I turn off anti-aliased fonts?

CrossOver Office uses anti-aliasing for TrueType fonts by default. Anti-aliasing generally provides higher quality font display, however some users may prefer not to use it.

If you do not wish to use anti-aliased fonts, you should edit the file ~/.cxoffice/dotwine/config and uncomment the following entries:

; Anti-alias fonts if using the Render extension (default "Y")
"ClientSideAntiAliasWithRender" = "N"
; Anti-alias fonts if using core requests fallback (default "Y")
"ClientSideAntiAliasWithCore" = "N"

6.1.2.8.5. Can I change the Wine config file?

We don't recommend that you change the default Wine configuration file that comes with CrossOver. The CrossOver software makes many assumptions about the Wine config settings that may cause it to fail if those settings are changed. For example, CrossOver expects that the locations of drives Z: and Y: will always be the filesystem root and the user's home directory.

6.1.2.8.6. What is a MIME type?

MIME types are sent along with a stream of data so that the application receiving it is able to readily identify the type of content contained within it. In the absence of a MIME type (an optional field in the protocol), the application can deduce content type from the filename extension.

That way, the browser can maintain a table of MIME types (and file extensions) where it looks up the plugin or application that will interpret and display the data it has received.

6.1.2.8.7. How do I uninstall CrossOver?

If you have installed CrossOver Office 2.0 using the RPM or Debian package, then use your distribution's package management tools to uninstall it. For instance:

$ rpm -e cxoffice
or
$ dpkg -r cxoffice

If you installed CrossOver Office using the Loki installer (install-*.sh), then use the following command to uninstall it:

$ ~/cxoffice/bin/cxuninstall
or the following command for CrossOver Office 1.x:
$ ~/cxoffice/bin/cxoffice_uninstall

If you installed CrossOver as root, you will also need to delete the per user .cxoffice directory for each user that installed CrossOver. Each user can do this using the command:

$ rm -rf ~/.cxoffice

6.1.2.8.8. I'm running RedHat 7.3 and sometimes a CrossOver application hangs.

RedHat 7.3 ships with a buggy version of /usr/X11R6/lib/libXrender.so.1.1 which can occasionally casue CrossOver to hang. If you are experiencing hangs with RedHat 7.3 then edit ~/.cxoffice/dotwine/config, find the following line:

;;"ClientSideWithRender" = "Y"

and replace it with:

"ClientSideWithRender" = "N"

This will force CrossOver to use a (slower) alternative to the buggy library.

If this stops the hangs then you may want to download a fixed version of the library. We've compiled one for RedHat 7.3 which you can download from here by typing in the access key newrenderplease. Back up your old version and drop this one in its place. You should now be able to undo the change to the config file and things should work as expected.

6.1.2.8.9. How can I get my mouse wheel to work in CrossOver?

The mouse wheel will work in CrossOver if it works in other X applications, such as Mozilla or X-Chat.

If you have a mouse with a mouse wheel and use XFree86 4.x, you can enable it by editing /etc/X11/XF86Config and adding the following lines in the InputDevice section.

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection

3. Microsoft applications

3.1. General

6.1.3.1.1. The Office 2000 installation never completes. What is wrong?

This problem is usually caused by bad media. If your Office Installation CDROM has errors, the installer will endlessly try to copy the file with the error. The installer will still allow you to cancel the install in this case. You can detect a corrupt CDROM with the following method:

$ mount /mnt/cdrom
$ find /mnt/cdrom -type f -exec cat {} \; > /dev/null
cat: /mnt/cdrom/PFILES/COMMON/DESIGNER/MSADDNDR.DLL: Input/output error

If you get any 'Input/Output' errors, then your Office CDROM is faulty and it should be replaced.

6.1.3.1.2. Why does DCOM95 fail to install with errors about RPCRT4.DLL?

This problem occurs often with SuSE kernels that have an option to limit the user address space to 1GB instead of the usual 3GB.

When DCOM95 is installed, you will receive the error message:

Error registering the OCX: C:\Windows\System\rpcrt4.dll

Some Windows programs explicitly use certain address in the computer's memory map. Wine requires a 3GB user address space limit to allow Windows programs to work correctly.

If you have this problem, it is likely that you need to recompile your Linux kernel with the configuration option 'User address space size' set to 3GB in the 'Processor type and features' section.

6.1.3.1.3. Why does my Office install fail when updating the Microsoft Installer?

If your Office (XP or 2000) install fails almost immediately when it tries to install a new copy of the Microsoft Installer, you may be experiencing problems due to security patches.

Please check this FAQ entry for further information.

6.1.3.1.4. Word and Excel won't start on my dual monitor system!

Office applications start maximized by default. There are some bugs in the code dealing with maximization in Wine that causes the requested window geometry to be different from the returned window geometry. Dual headed systems are especially prone to this problem.

First, make sure your window manager does not remember the window's state or size. In Sawfish, under "Placement options" you may have to unset "Automatically remember window placements", "Automatically remember other window attributes" and "Automatically remember window sizes".

Start X with a single monitor (ie. not in Xinerama mode) then start Word, Excel etc. Unmaximize all the applications' main windows. Restart X in dual headed mode, and the applications should now work correctly. Don't leave them maximized when you exit or the problem will occur again.

6.1.3.1.5. After installing Office 97, I have trouble saving files and get errors about MSCREATE.DIR.

If you have this problem, you may receive the errors "The disk is full or too many files are open (Y:\xxx.doc)" or "MSCREATE.DIR cannot be accessed".

This problem occurs when DCOM95.EXE is not installed correctly. Some Office 97 CDROMs do not contain the DCOM95 installer. You should install DCOM95 from OfficeSetup's main menu by either downloading it if you have an internet connection, or using the Advanced install option and browsing to select the installer if you have it already.

6.1.3.1.6. When I open a file, Office appears to lock up.

There is a bad interaction between CrossOver Office and some window managers that results in the open file dialog being placed behind Word or Excel's main window. You can get the dialog box to appear by minimizing and maximizing the main window, or by pressing [ALT]-[Tab] a few times.

6.1.3.1.7. Clippy is causing Word to misbehave. How do I stop it?

CrossOver does not work well with the Office Assistant yet. If the Office Assistant is not disabled, you may experience random hangs or window painting problems while using Microsoft Office.

This problem should not happen with CrossOver 2.0 or greater unless you manually enable the Office Assistant. To manually disable the Office Assistant, simply perform a simulated reboot.

3.2. Microsoft Office 2000 Service Packs

6.1.3.2.1. How can I install service packs for Microsoft Office?

You can install Office 2000 Service Pack 1 using CrossOver 1.2.0. We do not support installation of Service Pack 2, however you can install Service Pack 3, which supercedes Service Pack 2 using OfficeSetup.

6.1.3.2.2. "Internal error 2371" when installing Office 2000 SP1.

To solve this problem, you need to make your CDROM device file (eg. /dev/cdrom) world readable, and if you are using Mandrake, disable Supermount. The procedure is described in the next question.

6.1.3.2.3. When installing Office 2000 SP1 the dialog "Insert Office 2000 CD" won't go away.

Before attempting to install Office 2000 SP1, you first should place your Office 2000 CDROM into your CDROM drive. Additionally, Office should be able to access the physical device associated with your CDROM.

Unless you are using Automount, make sure that the CDROM is mounted by typing the following command:

$ mount /dev/cdrom

To make the CDROM's physical device readable, enter the following commands:

$ su
Password: 
# chmod a+r /dev/cdrom
# exit
logout

If you are using Mandrake with Supermount, you may need to disable it first to get the service pack installation to work, as described below.

The following was contributed by Didier Féminier:

Open a terminal window, and enter the following commands:

$ su
Password: 
# supermount -i disable
# umount /mnt/cdrom

After you have disabled supermount, you will then need to go back and mount the CDROM manually, as described above.

3.3. PowerPoint

6.1.3.3.1. Why don't the backgrounds appear in my PowerPoint XP slides?

When viewing slides in PowerPoint XP, the background images in the slides may not appear if your X server isn't configured for 24bit colour.

You can solve this problem by switching your X server's colour depth to 24 bits per pixel. This can be done by editing /etc/X11/XF86Config and adding a DefaultDepth entry in the Screen section, as shown below.

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Hansol920D"
        DefaultDepth 24

6.1.3.3.2. PowerPoint locks my X server.

This problem is known to happen with XFree86 4.x and the S3 Savage IX/MX chipset. You can use the following fix from this page.

You can work around the hang by adding

Option "XaaNoMono8x8PatternFillRect"
in the "Screen" section of your XF86Config-4 file.

6.1.3.3.3. The Slideshow in PowerPoint does not work.

The slideshow requires components that are installed by Internet Explorer so you need to make sure that it is installed. You can install IE 5.5 from OfficeSetup.

3.4. Outlook

6.1.3.4.1. Outlook can't connect to my Exchange server.

CrossOver does not currently support NetBIOS or WINS name resolution. To solve this problem you should add the hostname and IP address of your Exchange server in the /etc/hosts file. For example:

127.0.0.1        localhost
192.168.0.1      mycomputer.myco.com mycomputer
192.168.0.254    mail.myco.com myco_mail_corp

6.1.3.4.2. When I run the spell checker on a composed message in Outlook 2000, it crashes.

This is a bug in Office 2000 which happens when no service pack is installed. You should install Office 2000 Service Pack 1.

6.1.3.4.3. I enter my password for my Exchange server in Outlook and Authentication Fails

It has been found that if your password contains special characters such as @ or ! and you are using pam_smb to authorize then authorization fails.

We are working on this bug, for now you need to change you password to not contain such special characters.

6.1.3.4.4. How can I access the mail control panel in CrossOver?

You can run the mail control panel using the following instructions:

  1. $ find ~/.cxoffice/dotwine -iname mlcfg32.cpl

  2. Then copy that file to ~/.cxoffice/dotwine/ fake_windows/Windows/System

  3. To execute the control panel use:

    $ ~/cxoffice/bin/wine rundll32 shell32.dll,Control_RunDLL mlcfg32.cpl

3.5. Internet Explorer

6.1.3.5.1. The Internet Explorer 5.5 installation is failing. Why?

The problem occurs if you are using DCOM95 installed by Office97. Office97's DCOM is insufficient for installing Internet Explorer 5.5. To solve this problem, reinstall DCOM95 from the CrossOver setup menu.

If you get an error message asking you to remove the version of DCOM95 currently installed, you can do this with the following command:

$ rm -rf ~/.cxoffice/dotwine/fake_windows/System/Windows/dcom95

4. Other applications

4.1. Photoshop

6.1.4.1.1. How can I install Photoshop 7 upgrade with Mandrake?

Installing the Adobe Photoshop 7 upgrade, which requires the user to change CDROMs, fails with Mandrake's supermount.

The problem can be worked around by not using supermount while Photoshop installs. The following procedure should allow you to change CDROMs and complete the Photoshop install:

  1. Place the Photoshop 7 CDROM into your CDROM drive.

  2. Type the following commands into your terminal:

    $ su
    Password: 
    # umount /mnt/cdrom
    # mount -t iso9660 -o ro,unhide /dev/cdrom /mnt/cdrom

  3. Start the Photoshop install.

  4. When Photoshop asks you to verify your original media, go back to the terminal and type:

    # umount /mnt/cdrom

  5. Swap the Photoshop 7 CDROM with your original Photoshop media (eg. Photoshop 4).

  6. With the original media in the CDROM drive, enter the following command:

    # mount -t iso9660 -o ro,unhide /dev/cdrom /mnt/cdrom

  7. Let Photoshop verify the original media. It will then ask you to place the Photoshop 7 disk back into your CDROM. At that time, type:

    # umount /mnt/cdrom

  8. Place the Photoshop 7 CDROM back in your CDROM drive, then type

    # mount -t iso9660 -o ro,unhide /dev/cdrom /mnt/cdrom

  9. When the Photoshop 7 install completes, you should restore Supermount's functionality. To do that, go back to the terminal and type:

    # umount /mnt/cdrom
    # mount /mnt/cdrom
    # exit

6.1.4.1.2. How can I get my Wacom tablet to work with Photoshop?

Tablet functionality in CrossOver Office depend upon the XFree86 XInput extension. The GIMP program uses the same functionality, so if you are having problems, run GIMP and see if your tablet works as expected. If GIMP does not function correctly, then your tablet was not set up correctly in XFree86.

For details about getting your tablet to work with XFree86, please see http://linuxwacom.sourceforge.net/index.php/main.

6.1.4.1.3. Why are my tablet's stylus and eraser are messed up?

This is a problem with your XF86Config file. Photoshop expects that a Wacom tablet's eraser is cursor ID 2 or cursor ID 5. You need to define those cursors in the correct order in your XFree86 configuration file.

The ServerLayout section in your /etc/X11/XF86Config file should look like the following:

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "UsbMouse" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "eraser"  "SendCoreEvents"
        InputDevice    "stylus"  "SendCoreEvents"
        InputDevice    "cursor"  "SendCoreEvents"
EndSection

The cursor IDs are defined starting from 0 from the bottom of the list up. With this layout cursor will be ID 0, stylus will be ID 1 and eraser will be ID 2. You need to restart X after changing this file.

6.1.4.1.4. Why doesn't Alt-Click work with Photoshop?

Most window managers use the Alt-Click combination to move windows. This means that the button click never reaches Photoshop.

To get the Alt-Click in Photoshop you need to disable this key binding in your window manager. Each window manager may be different, however here are a few examples to help you find how you may be able to do this:

On Mandrake 8.1 you can control this behavior by opening the KDE Control Center and going to Look'N'Feel -> Window Behavior. Once there, scroll to the 'Inner window, titlebar and frame' section at the bottom. There you can either change the 'Modifier Key' field or set 'Modifier Key + Left Button' to 'Nothing'. Here the fields were set to 'Alt' and 'Move' respectively so that Alt+Left Click anywhere inside a window would move the window. After setting 'Modifier Key + Left Button' to 'Nothing' Alt+Left Click should have no special effect, and Photoshop should work correctly.

On Gentoo, KDE 3.1 vanilla the way to turn it off is: Control Center > Desktop > Window Behaviour > Actions (Tab), then under the section "Inner Window, Title Bar, Frame" set the "Modifier Key + Left Button" to nothing.

On RedHat 9, Metacity: Main Menu > Preferences > Windows > Switch radio button off of ALT to either CTRL or Super (Windows Logo) under "To move a window, press-and-hold this key then grab the window:"

4.2. Lotus Notes

6.1.4.2.1. When trying to connect Notes to a Domino server I get "server not responding" errors.

You can solve the problem using the following method (contributed by Michael Osten):

  • Click on "address book".

  • Click on the "gear" icon at the bottom of the left pane.

  • Click on "Connections".

  • Make sure there is only one server listed. If any others appear delete them.

  • Double click on server listing.

  • The first page is called "Server Connection". Click "edit connection".

  • Change "Server Name" to the notes name of your server.

  • Click on "advanced".

  • Change "destination server address" to the TCP/IP address of your notes server.

  • Close and restart notes.

4.3. Dreamweaver MX

6.1.4.3.1. Dreamweaver hangs when I click on "Define a Site". Why?

When creating a new site, Dreamweaver tries to access Web server on your machine (localhost). If you have firewalled localhost's http port (80), Dreamweaver will hang until the TCP/IP request to localhost times out.

You can solve this problem by configuring your firewall software to accept queries from the loopback interface. If you use IPTables, you can use the following command:

# /usr/sbin/iptables -A INPUT -p tcp -i \! lo --dport 80 -j DROP

5. Integration with Unix Browsers

5.1. General

6.1.5.1.1. Setting the default browser.

Some Windows plugins and applications will occasionally need to start a web browser. Such requests are handled by CrossOver which tries to find a suitable browser, trying multiple candidates in turn, starting with Netscape, then Mozilla-based browsers, etc.

However you can also instruct CrossOver to start a specific browser. To do so, start OfficeSetup and go to the Configure tab. There, select Specify Browser and type the command to run to start your preferred browser, for instance 'mozilla' or '/usr/bin/konqueror', in the corresponding edit field.

6.1.5.1.2. Web pages open in Internet Explorer instead of my Unix browser. How do I stop it?

By default web pages are opened in your Unix browser of choice. However, Internet Explorer may have taken over if you accidentally clicked on 'Make Internet Explorer my default browser'.

To revert to having web pages open in your Unix browser again, start OfficeSetup, go to the Configuration tab and click on Make this browser the default for Windows applications.

5.2. Mozilla, Netscape 6+, Galeon, Phoenix, SkipStone

6.1.5.2.1. Mozilla shows the "Select User Profile" dialog instead of opening URLs. What's wrong?

This is the normal (if annoying) behavior for recent Mozilla versions. One workaround is to create a second profile and open the URL in the second profile. But this will not work if you want to open multiple URLs concurrently rather than sequentially.

The other solution is to use a wrapper script. Save the following lines in a file, ~/bin/moz for instance, and make that file executable.

#!/bin/sh

if mozilla -remote "ping()" 2>/dev/null
then
    # Uncomment one of the following lines according to the desired behavior:
    # - replace the current page
    #location=""
    # - open in new window
    location=",new-window"
    # - open in new tab
    #location=",new-tab"
    exec mozilla -remote "openURL($1$location)"
else
    exec mozilla "$@"
fi
exit 1

Then start OfficeSetup and go to the Configuration tab. There, make sure Specify browser is selected and enter the path to the above script. Apply the changes and now URLs will be opened in a new window. You can also modify the script as indicated by the comments to have new URLs replace the current URL or open in a new tab according to your preferences.