Operating System - HP-UX
1833784 Members
2497 Online
110063 Solutions
New Discussion

Getting two contemporary CDE logins with two monitors.

 
SOLVED
Go to solution

Getting two contemporary CDE logins with two monitors.

I have a C200 workstation with 2 VISUALIZE-EG video cards and two monitors attached. I'd like to run two separate login sessions on the two monitors. Is it possible?

Thanks,
Roberto.
5 REPLIES 5
K.Vijayaragavan.
Respected Contributor

Re: Getting two contemporary CDE logins with two monitors.

Re: Getting two contemporary CDE logins with two monitors.

OK, thanks for the link you posted but the page doesn't explain how to do what I'd like to.

I'd like to have one login sessions (dtlogin) for each monitor and activate them just by moving over the mouse pointer.

In this way I might login and work as two different users and switch between them just by entering one of the two monitors. This feature is needed by a department of the Company I work for and would allow me to throw away an old Entria X Terminal.

Roberto.
Ravi_8
Honored Contributor
Solution

Re: Getting two contemporary CDE logins with two monitors.

Hi,

HP doesn't support the switching console,
whereas in Solaris/AIX/Linux you can do the same using KVM (keyboard/video/mouse)
never give up
K.Vijayaragavan.
Respected Contributor

Re: Getting two contemporary CDE logins with two monitors.

I haven't tried it any time. But from the text entries (like the below mentioned one) read from the mentioned URL, i thought it should be possible and i feel it gives some overview on doing it if not the proper procedure.


Multi-Screen Support

This section refers to multi-screen configurations only. Running one X server on more than one graphics display is called a "multi-screen" operation. The keyboard and pointer are shared among the screens. Multiple screens are enabled via the /etc/X11/X*screens file. The X*screens file is used to configure the operation of the X server. The screens are defined in the X*screens file by specifying the appropriate special device files. See the section in this document on special device files and /etc/X11/X0screens for more information.

A separate screen entry for each graphics display is entered in the X*screens file. The order of entries always determines the screen number starting at 0. The devices can be arranged in any order.

For example, in the following multi-screen system, the screen numbers are assigned as indicated:

Screen /dev/crt1 # first entry is screen 0 (as in local:0.0)
Screen /dev/crt0 # second entry is screen 1 (as in local:0.1)
Screen /dev/crt2 # third entry is screen 2 (as in local:0.2)
"Let us fine tune our knowledge together"
Alex Glennie
Honored Contributor

Re: Getting two contemporary CDE logins with two monitors.

see the Multi-Screen Support section of /usr/lib/X11/Xserver/info/screens/hp

Basically you'll need to run insf -evd framebuf to create the appropriate graphics device files : insf -evd framebuf followed by :

How to setup a system to use multple screens
To accomplish this you need to edit /etc/X11/X0screens. You will specify the device files for the cards you wish to use. For instance, suppose you have an internal graphics card whose device file is /dev/crt and a CRX-48Z whose device file is /dev/crt2. To have the Xserver start on both graphics devices and to have dtwm manage both displays, perform the following: Edit /etc/X11/X0screens make sure the ONLY 2 uncommented lines in this file are:

Screen /dev/crt
Screen /dev/crt2

The X0screen configuration can also be done via the SAM application on systems with an OS level of 10.10 or higher.

sam --> Xserver Configuration --> Action --> Modify Screen Options

At this point, you would need to log out of CDE and kill the local Xserver. This can be done by killing the pid or holding down Shift, Control and Break simultaneously.

If you're running mwm, the only difference is to use:

Mwm*multiScreen: true
Mwm*screenList: screen_0 screen_1

in the /usr/lib/X11/app-defaults/Mwm file.
How to setup a system to use single logical screen
To have the Xserver and CDE treat the two monitors like one large, rectangular display, you will want to edit /etc/X11/X0screens and add the following line:

SingleLogicalScreen 1 2
/dev/crt0 /dev/crt1

In the same manner as described for the multi-headed display, you will need to exit out of CDE and restart the Xserver. The CDE login banner will then be split across the two screens.

NB see also man dtwm wrt cde's multiscreen and screenlist resources.