Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with multiple monitors

Status
Not open for further replies.

deleteme2222

IS-IT--Management
Mar 11, 2002
2
NO
Hi

Got an Ultra 10 with two displays running Solaris 2.6.
Using CDE the second monitor works, but in our setup we
use iwm window manager with motif and start it from console (dtlogin is disabled). I have

/usr/openwin/bin/openwin -dev /dev/fb0 -dev /dev/fb1 right

in .xserverrc file(all other Ultra use file like this with similar setup).
But when i launch openwin it only comes up on the first monitor.
It's like the file is'nt read at all. just running
/usr/openwin/bin/openwin -dev /dev/fb0 -dev /dev/fb1 right
on the command line it comes right up on both monitors.

Anyone know what cause this, something missing, can i add
/usr/openwin/bin/openwin -dev /dev/fb0 -dev /dev/fb1 right to a variable in .login if there is such a variable?


Thanks

Tommy Fallsen
 
Hi, i'd use these steps and that work fine.
try it
Assume that you've already installed a second frame buffer card into the system, and have your second monitor connected.


1. ln -s /usr/dt/config/Xservers /etc/dt/config/Xservers
ln -s /usr/dt/config/Xconfig /etc/dt/config/Xconfig

2. edit the the Xservers file.
Down at the bottom, there should be a line that looks something like this:

:0 Local local@console /usr/openwin/bin/Xsun :0

Change it to look like this:

:0 Local local@console /usr/openwin/bin/Xsun :0 -dev /dev/fb0 -dev /dev/fb1

Depending on the location of your second head (right or left of the primary), and assuming the name of the second frame buffer is /dev/fb1, add "right" or "left" after "/dev/fb1".

3. Reboot your system

Good luck !
 
Like it says in my post that works with cde and dtlogin, but im not using that, so /usr/dt/config/Xservers is not used, instead xinit is used to start X and it uses .xserversrc in $HOME/ . which in my case does'nt work.

My problem:
When User1 login at the workstation, the multiple monitors work. I copy his setup to another user. User2 login at the same workstation and it don't work. Both use the same shell. (tcsh)
I copied .login .cshrc .iwmrc .Xdefaults .xserverrc .xinitrc
.Mwmrc .fvwmrc , anything else?

Tommy Fallsen

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top