ixr6225@ACF16.ACF.NYU.EDU (Isdidore Rigoutsos) (04/26/89)
Hello everyone. It has most probably been beaten to death already but since I am a new subscriber here it is: How can one run both suntools and X at the same time on a SUN? Thanks in advance, Isidore Rigoutsos (rigoutso@acf8.nyu.edu), Robotics Lab., Computer Science Dept., Courant Institute of Mathematical Sciences, New York University, New York, NY 10003
brevard@mcc.com (Laurence Brevard) (04/27/89)
In article <8904251749.AA21932@ACF16.ACF.NYU.EDU>, ixr6225@ACF16 (Isdidore Rigoutsos) writes: > How can one run both suntools and X at the same time on a SUN? I have recently explored this on a Sun 4/110 with a /dev/cgfour0 and on a Sun 3/60/C/G with a /dev/cgfour0. On the Sun 3 the overlay plane is /dev/bwtwo0 (and there is NO /dev/bwtwo1) On the Sun 4 the overlay plane is /dev/bwtwo1 (and there is NO /dev/bwtwo0) Both of these run X10 in overview mode on the color screen with a second sunview on the overlay plane with no problems. For X11, using the sample servers, I have discovered: 1. Either system will run X11 using both screens 2. The Sun 3 cannot run suntools and X11 3. The Sun 4 can run color suntools and a b&w X11 For more detail read on... 1. Either system will run a two screen X if you simply type xinit from the console and have a ~/.xinitrc something like this: ############################################################################## ### setup for first display aka unix:0.0 ### xsetroot -bitmap /d0/brevard/images/x11/moon.bitmap xclock -rv -update 2 -bd black -geometry 80x80+1045+10 & xcalc -geometry +540+10 & xbiff -update 15 -geometry +990+10 -fg white -bg black & xterm -sb -n " CONSOLE " -geometry 80x7+0+0 -C -fn 6x10 -e tcsh & xterm -rv -n " tcsh 1 " -geometry 80x60+0+100 -e tcsh & X-emacs -n " X11-EMACS " -geometry 80x60+500+100 -fn 8x13 & ### ### setup for second display aka unix:0.1 ### xsetroot -display unix:0.1 -bitmap /d0/brevard/images/x11/moon.bitmap xclock -display unix:0.1 -geometry 80x80+1045+10 -fg cyan -bg black -bd black -hl red -hd yellow -update 2 & xbiff -display unix:0.1 -geometry +990+10 -fg green -bg black -update 15 & xterm -display unix:0.1 -geometry 80x50+10+10 -fn 9x15 -fg navyblue -bg cyan & uwm -display unix:0.1 & ### finally fire up b&w window manager uwm ############################################################################## Do not bother trying to bring up sunview on either screen unless you like to turn the power off and back on to unwedge the system! 2. No combination that I have tried will let sunview and X11 run on the Sun 3. :-( 3. On the Sun 4, the following procedure (that I don't think should work!) will give you a color sunview and a b&w X server. It was discovered empirically by Kevin Gourley here at MCC: From the console source a file with the following: ############################################################################## suntools -8bit_color_only -toggle_enable & suntools -d /dev/bwtwo0 -toggle_enable -s .suntools-bw & ############################################################################## .sunview (or .suntools) contains whatever you want on your sunview screen. .suntools-bw contains: ############################################################################## adjacentscreens -c /dev/fb -l /dev/bwtwo0 xinit ############################################################################## .xinitrc contains only setups appropriate to a single monochrome X server, e.g.; ############################################################################## xsetroot -bitmap /joy/home/brevard/images/x11/moon.bitmap xclock -rv -update 2 -bd black -geometry 80x80+1045+10 & xcalc -geometry +540+10 & xbiff -rv -update 15 -geometry +990+10 & xterm -sb -n " CONSOLE " -geometry 80x7+0+0 -C -fn 6x10 -e tcsh & xterm -rv -n " tcsh 1 " -geometry 80x60+0+100 -e tcsh & uwm ############################################################################## I hope this helps. In an earlier posting Dana Shee explained about the /dev/bwtwo0 and /dev/bwtwo1 devices (on the Sun 3) and helped me understand how the case of X on both screens when starting from the console works. Laurence Brevard 3500 W.Balcones Center Dr, Austin,TX 78759 [512] 338-3567 ARPA: brevard@mcc.com UUCP: ...!cs.utexas.edu!milano!cadillac!brevard Microelectronics and Computer Technology Corporation (MCC) CAD Program