IBM 260 Personal Computer User Manual


 
Adapters, Overview and Configuration 145
out, the CDE login window will appear on the new display. This will also
change the default display for subsequent reboots.
5.2.8 Accessing the Second Display
If you have the CDE desktop installed and have another screen attached to
the second adapter, you can access the adapter immediately. By addressing
the adapter with the DISPLAY variable, you can open X Windows on the
second screen. The last digit in the DISPLAY determines on which screen the
X client will be displayed. This is shown in Table 36.
Table 36. Accessing a Second Display
The mouse can be used to move between the current desktop screen on the
default adapter and the screen displayed by the second adapter. While you
can access the second display by moving the mouse off the first, it is not
possible to drag windows with the mouse from the first screen to the second.
The following is an example of using the second display:
1. Open an xterm on the second display:
xterm -display hostname:0.1
2. Move the mouse off the right of the default screen. The mouse should
appear on the other screen. You can now gain focus on the X Window.
From here, you use the new window or open more windows.
Accessing a second display by using standard X Windows and Motif is also
very easy. You can start X Windows and access the second display using the
same method described above. In addition, you can stack the screens in any
order you like. So, for example, you could have the two screens in a vertical
environment. You can start X Windows in a vertical environment by running
the command:
xinit -- -P21 gga0 -P11 gga1
This will display the first screen, using gga0, and the second below the first,
using
gga1. To access the second display in this environment, you would
move the mouse off the bottom of the screen.
Since the CDE environment allows virtual screens, having a separate display
does not provide a large benefit. There are, however, some applications
DISPLAY Variable Description
DISPLAY=hostname:0.0 Displays on the default monitor
DISPLAY=hostname:0.1 Displays on the second monitor