6    Window System Software Notes

This chapter contains notes about issues and known problems with the windowing software and, whenever possible, provides solutions or workarounds to those problems. The following topics are discussed in this chapter:


6.1    Hardware Notes and Restrictions

The following notes apply to graphics hardware restrictions.


6.1.1    Qvision Graphics Display Error

Different versions of Qvision graphics boards demonstrate fillsolid drawing problems, leaving a line at the bottom of the screen, which is evident when running CDE blank lock screen. The line varies in color and intensity depending on the version of the Qvision board.


6.2    X Servers

The following notes apply to X servers.


6.2.1    Limited Multiscreen Display Support with CDE

CDE provides limited support for X servers with more than one screen. While a multiscreen environment is possible, a number of inconsistencies are noticeable. For example, colors in secondary screens may not be correct, icons may not display properly, and applications may not appear on the screen where they are invoked.


6.2.2    Do Not Modify the keymaps.dir File

The final revision of the X Keyboard Extension, XKB Version 1.0, will be different from XKB Version 0.65, shipping with this release. The format of /usr/lib/X11/xkb/keymaps.dir will change. Do not modify this file as it will not be preserved with future updates of the operating system.

To force the server to use a specific XKB keymap, add the -xkbmap option to the server options line in /usr/lib/X11/Xserver.conf. Refer to the Xdec(1X) reference page on for more information.


6.3    X Clients

The following notes apply to X clients.


6.3.1    X Window Colormap Resources

Color rich applications, such as Netscape, exhaust a large number of colormap resources. This results in problems with other graphical applications. For example, you may notice that icons normally displayed by the CDE Application Manager are not displayed when a color rich application is currently running on the system. Graphics applications and online help volumes may also be affected. The icon editor, dticon, may not be able to open a pixmap that contains a large number of colors.

In most cases this is a visual problem, and it may not be necessary to take any corrective actions. You can use the CDE icon labels in the same way as the icon for user actions such as drag-and-drop, and single and double click.

The simplest solution is to exit the color rich application. There are several alternate actions:


6.3.2    Old X Environment

If the XDM graphical login environment is selected instead of the default CDE environment, you may need to install the OSFOLDX11440 subset to regain the expected user environment. If this subset is missing, the default X session will consist of a single xterm window and the twm window manager instead of the XDM session manager.


6.4    CDE Clients

The following notes apply to CDE clients.


6.4.1    Inaccessible Dialog Buttons

When running CDE with 640 x 480 graphics resolution, the OK, Apply, Cancel, and Help buttons of some application dialogs may be inaccessible. If this happens, you can correct it by setting the DXmfitToScreenPolicy resource to as_needed in the application's defaults file or, for systemwide problems, in the /usr/dt/config/$LANG/sys.resources file.


6.4.2    Screen Savers Prevent Efficient Power Management

When the screen on a DPMS-capable monitor is switched to standby, suspend, or off mode, the X server continues to run the screen saver. In CDE, where there are a number of active screen savers, this may defeat the CPU slowdown features for power management on certain Energy Star-compliant platforms. To minimize power consumption, you should stop using active screen savers by doing any of the following steps:


6.4.3    Remote Invocation of CDE File Manager dtfile

File Manager, Application Manager, and Trash Manager are different views supported by the dtfile application. Avoid invoking dtfile from a remote system with the DISPLAY environment variable set appropriately. This restriction is necessary because of the client-server model used by the dtfile application and its close interaction with the tooltalk messaging system.

In the event of an unexpected behaviour from any of these utilities, close down all windows associated with the File Manager, Application Manager, and Trash Manager. Then kill all processes associated with dtfile. You can get the pid for each process by using the following command:

ps -aef | grep dtfile


6.4.4    The dtmail Application

The following notes apply to the dtmail application.


6.4.4.1    MAILLOCKING Environment Variable

The dtmail application does not honor the user configurable mail-locking environment variable, MAILLOCKING. If you are using NFS, you must have NFS locking enabled on both client and server systems.


6.4.4.2    Tooltalk Locking Disabled by Default

The dtmail application disables tooltalk locking by default. To enable it, select the following option from the Mail Options->Advance dialog box:

Use network aware mail file locking

Alternatively, set the following option in your $HOME/.mailrc file:

cdenotooltalklock='f'

If tooltalk locking is enabled, and the rpc.ttdbserverd daemon is not running, you will get the following message:

Mailer is unable to obtain exclusive access to this
mailbox because the system is not responding.

 
For this time only, you can choose to open this mailbox read-only, or to open it read-write without exclusive access (use only if no one else is using this mailbox).

You can either quit dtmail and then start the rpc.ttdbserverd daemon, or click on read-write, which allows you to continue without tooltalk locking.

If you are running the automount daemon, the dtmail application may not be able to access your new mail inbox and you will see a dialog box showing the following message:

Unable to access an object required to complete the operation

If you see this message, copy the contents of your current mail inbox to a temporary file as a backup and perform the following steps:

  1. Check that the following line is in your .mailrc file:

    set cdenotooltalklock

  2. If the line is not in your .mailrc file, edit the file to include it.

Alternatively, you can use the following method while in dtmail:

  1. From the Mailbox pull down menu, select Mail Options

  2. From the Mail Options dialog box, select the category Advanced.

  3. From the Advanced options, click on the option named: Use network aware mail file locking. This action should remove the check mark.

  4. Close all dialog boxes and restart the dtmail application. Check the contents of your current mailbox and the backup mailbox to ensure that no mail was lost during this process.


6.4.4.3    Row and Column Display

Changing the values for rows and columns in the Mail Options->Message View will not take effect immediately when you click on OK or APPLY. Exit dtmail and restart it again from the control panel, command line, or file manager.


6.4.4.4    Attachments Are Not Included

If you compose a mail message by selecting one of the following from the dtmail main window, attachments will not be included:

Include the attachments manually by using the drag and drop feature.


6.4.5    CDE's Static Dependency on the Network

CDE has a static dependency on the state of the network configuration. For more information, see Section 4.4.4.


6.4.6    The xnlLanguage Resource Settings May Cause Problems with CDE

CDE users should remove any xnlLanguage resource settings from their .Xdefaults files. Those settings are typically left over from one of the user's earlier DECwindows sessions, where the user selected a language from the session manager's language menu and then saved that setting.

The xnlLanguage settings should be removed because they override whatever language you select from the language menu in the CDE login window.


6.4.7    Possible Failure in the XOpenDisplay Call

When logging in to the CDE desktop, some applications may not restart. The X server process may not be able to handle all of the requests for new open connections, causing some to fail in the XOpenDisplay call. Some applications, like xterm, log startup errors in the dxconsole window, such as the following error:

xterm error: can't open display :0

To avoid this problem, add the following resource to your $HOME/.Xdefaults file:

Dtsession*contManagement:   2

This resource enables a handshake protocol between the CDE session manager and window manager during the login phase to control the appearance of new windows. While it may marginally increase the time before the login completes, it better assures that all applications will be restarted.

This can be added to the /usr/dt/app-defaults/C/Dtsession file to make the change for all users automatically.


6.5    Windows Programming

The following note applies to windows programming.


6.5.1    X11 Font Problem

In the Lucida-Typewriter-medium-R-normal fonts, the glyphs for multiplication and division are reversed. The multiplication symbol is where the division symbol should be, and vice versa. If the representation of these glyphs is important to your application, use a different font.


6.6    Internationalization

The following notes apply to restrictions on use of internationalization features in the windowing environments.


6.6.1    Japanese Keyboard Support in Console Mode

When running in single-user or console mode, Tru64 UNIX now supports two new Japanese keyboard types (JIS and ANSI) on AlphaStation and AlphaServer systems. (Japanese keyboard support is not available on TURBOchannel-based machines.)

To use JIS-type Japanese keyboards, like the PCXAJ-AA and LK411-JJ, you must set the language console environment variable to 50, as in the following example:

>>>  set language 50

To use ANSI-type Japanese keyboards, like the LK411-AJ, you must set the language console environment variable to 52, as in the following example:

>>>  set language 52


6.6.2    System-Default Keyboard Setting May Prevent User Login

When any user logs on to a system, the system-default keyboard setting must be appropriate for the keys that the user presses when entering characters in the username and password fields. Otherwise, characters that are correct from the user perspective, given the keyboard being used, might be treated as invalid. In this case, the user cannot log on the the system. This situation most often arises when a keyboard is being used in one language and the system-default keyboard setting is another language. You can change the system-default keyboard setting at the console prompt or, if the required language is not available at the console level, by editing the Xserver.conf file to change the keymap used by the X Server. See keyboard(5) for more detailed information about changing keyboard settings.


6.6.3    Dxterm Does Not Support Latin-2, Latin-4, and Latin-Cyrillic Characters

The dxterm application is not able to display Latin-2, Latin-4 and Latin-Cyrillic Characters even when the locale is set correctly. Therefore, dxterm should not be used for displaying the following languages: Czech, Hungarian, Lithuanian, Polish, Russian, Slovak, and Slovene. The dtterm application should be used in this case.