Technical article 105954

How do I change the Window Manager under SCO OpenServer Release 5?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

I'd like to use Motif Window Manager (MWM) instead of the Panner
(PMWM). I would like everything else about my Desktop session--
which clients start up when I start the Desktop and their appearance--
to remain the same.  Can this be configured under SCO OpenServer                 Release 5.x?  How can I do it?

Solution

Yes. The choice of window manager can be modified on a per-user basis or a system-wide basis by editing the relevant scosession configuration file, $HOME/.Xdefaults-<hostname> or /usr/lib/X11/app-defaults/ScoSession, as follows:

To use MWM for an individual user john on host scosys:
-----------------------------------------------------

1. Login as the designated user, whose home directory is /usr/john. Edit or create the following file with vi(C):

/usr/john/.Xdefaults-scosys
2.  Add the following line:
ScoSession*windowManager:  /usr/bin/X11/mwm

3. Save your changes by pressing the <Esc> key. Then type:

:wq!
4.  Now restart your Desktop session in the usual manner, either
through scologin(XC) or startx(X).

Your graphical session will now start with the standard Motif Window Manager as the default Window Manager.

To use MWM as the system-wide default:
-------------------------------------

1. As root, log in to a non-graphical console screen and vi the file:

/usr/lib/X11/app-defaults/ScoSession

2. Search for the lines that read:

! Window Manager
*windowManager: /usr/bin/X11/pmwm

Note that "pmwm" is listed by default.

3. Simply change this line to read:

*windowManager: /usr/bin/X11/mwm

(The mwm binary is linked to the pmwm binary.)

4. Save your changes by pressing the <Esc> key. Then type:

:wq!

5. Now restart your Desktop session in the usual manner, either through scologin(XC) or startx(X).

All graphical sessions will now start with the standard Motif Window Manager as the default Window Manager.

From the Xinuos technical article database, record 105954. Reproduced with permission. The original is at www.sco.com/ta/105954, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.