beautypg.com

Configure the window environment, Running openwindow from the console, Configuring the common desktop environment – Planar C3i/EX User Manual

Page 31

background image

Installing the Display | 21

Configure the Window Environment

Once you have set the display mode, you can configure your system
to run either the OpenWindow or the CDE window environment.

NOTE: Board instances are assigned by the system.

Running OpenWindow from the console

For a one-headed system, type:

openwin -dev /dev/dx2pci0.0

For a two-headed system, type:

openwin -dev /dev/dx2pci0.0 -dev /dev/dx2pci0.1

Each device file has a name of this form:

/dev/dx2pciy.z

where

y = board instance

z = head number (0 for first head, 1 for second head)

For more information on openwin, refer to your Sun OpenWindow
documentation.

Configuring the Common Desktop Environment

If you boot up to the X Window System, use the instructions below to
configure it for your DX2 board.

CDE defaults to using a single framebuffer associated with /dev/fb,

the boot console. To change the startup configuration, copy the
/usr/dt/config/Xservers file to /etc/dt/config/Xservers, and edit it
there.

This file contains mostly comments, but the last line is the
command line used to start the X server and bring up CDE.
This is the default line:

:0 Local local_uid@console root /usr/openwin/bin/Xsun \
:0 -nobanner