Andrew Pattison wrote:
> I have just installed SXCE build 59 on my Ultra 10 and I was wondering if 
> somebody could tell me how I can set it to use Xorg? I tried setting the 
> options/server property to /usr/X11/bin/Xorg but that doesn't seem to work. 
> How can I get Xorg working?

Well, since I just reinstalled my Ultra 10 test machine to snv_59
last week, I'll just show you what I did to get it running Xorg
again just now.   First off - this works with m64, such as the on-board
graphics, but hasn't been tested successfully with any other
graphics device.   (I've gotten a picture on XVR-100, but a very
very wrong picture, so it doesn't count.)

I ssh'ed in from another machine and stopped the running dtlogin/Xsun:
# /etc/init.d/dtlogin stop

Change the SMF properties to use Xorg server, and 8-bit depth (24 doesn't
work yet in the wsfb driver):

# svccfg -s x11-server
svc:/application/x11/x11-server> setprop options/default_depth=8
svc:/application/x11/x11-server> setprop options/server=/usr/X11/bin/Xorg
svc:/application/x11/x11-server> exit

Since I have an XVR-100 card and the m64 on-board device in my machine,
/dev/fb unfortunately points to the XVR-100 card, so I need to tell Xorg
to run on the m64 device (/dev/fbs/m640):

# /usr/X11/bin/Xorg -configure
# mv /xorg.conf.new /etc/X11/xorg.conf
# vi /etc/X11/xorg.conf

Unfortunately, Xorg -configure detected 4 potential devices (one m64, and one
pfb that offers two single head devices and one dual head device) and added all
4 of them, so I need to delete the extra Screen lines in Section "ServerLayout".

In the Section "Device" corresponding to the remaining Screen line,
I removed the BusID line and added a Device option to specify the device:
  Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "ShadowFB"                  # [<bool>]
         #Option     "Rotate"                    # <str>
         Identifier  "Card0"
         Driver      "wsfb"
         Option      "Device"        "/dev/fbs/m640"
  EndSection

Then I restart dtlogin with the new configuration:

# /etc/init.d/dtlogin start

And a few seconds later, the big blue curve of the Solaris login screen is
staring back at me.    I login to JDS, and try not to lose my lunch over
how hideously all it's beautiful gradients are rendered in 8-bit mode, but
that's not the problem at hand...

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to