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-scosys2. Add the following line:ScoSession*windowManager: /usr/bin/X11/mwm3. 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/ScoSession2. Search for the lines that read:
! Window Manager
*windowManager: /usr/bin/X11/pmwmNote 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.