beautypg.com

Chapter 4, Invoking x windows, 1 overview – Tech Source Raptor DL-Lite Drivers for HP-UX User Manual

Page 17: 2 configuring x windows

background image

4-1

Chapter 4

INVOKING X WINDOWS

4.1 Overview


There are several ways to invoke X Windows on your system:

startx

xinit

• Common Desktop Environment (CDE)


This section assumes the use of the

csh

environment. If you prefer

a different shell, make the appropriate changes from the examples.

All of the examples in this section, the device name

/dev

/rapdlt0

is used

.

Your device name may differ, depending on

the instance number. Please refer to Section 3.3 for specific device
names.


4.2 Configuring X Windows

4.2.1 Single Screen Mode


Under HP-UX, the devices that X Windows will use are configured
in the file

/etc/X11/X0screens

. This file is used by the X Server

regardless of how it is invoked (e.g.

startx

,

xinit

, CDE, etc).

Edit the file

/etc/X11/X0screens

to configure display

0

. For

display

1

you would edit

/etc/X11/X1screens

.


This section assumes that display

0

is to be configured. To run X

Windows on the Raptor card only, comment out

/dev/crt

in

/etc/X11/X0screens

by placing a '

#

' at the beginning of that

line, and add the Raptor device by entering

Screen

/dev/rapdlt0

on a new line:

#Screen

/dev/crt

Screen

/dev/rapdlt0