> OK, I installed this on my Ultra 10 by copying the files over my existing
> install (after doing a zfs snapshot of course). I then did:
> 
> svccfg -s x11-server setprop options/server=/usr/bin/X11/Xorg
> 
> and restarted cde-login . Unfortunately it then got messy and I ended up
> getting in a bit of a tangle. How should I proceed?
> 
> Thanks
> 
> Andrew.


Andrew,

first of all thanks for taking the time to give it a try.
As described in http://www.martux.org/xorg/FOX1.0/SPARC/INSTALL , before 
changing any SMF service's property you should log in into a text console 
session, create /etc/X11/xorg.conf and test if the Server works by doing 
"/usr/X11/bin/Xorg -configure". Sometimes you need some xorg.conf experience, 
until you know how to create (on possibly modify) your xorg.conf file.
But in case of the Ultra10 it is not very problematic, because the pci-bridge 
is one of the Xorg-friendliest from all the systems.
You will get your server working, I assist you until you have replaced Xsun on 
your box and can use Xorg in a normal "usable" manner with Gnome/JDS.

0) For the beginning I would suggest that you install the aperture driver
 (copy foxroot/kernel/drv/aperture.conf to kernel/drv/aperture.conf, 
copy foxroot/kernel/drv/sparcv9/aperture to /kernel/drv/sparcv9/aperture, 
Add the driver: add_drv -v aperture
Create a symlink: 
ln -s /devices/pseudo/aperture at 0:aperture  /dev/fbs/aperture
OR: Simply add the aperture package that you can find in 
http://www.martux.org/xorg/FOX1.0/SPARC/FOX1.0_RELEASE__SPARC.tar.gz 

1) Run /usr/X11/bin/xorgconfig and go through the menus. Then pick "Ultra5/10 
PGX24 as graphics card. Set ram to 4MB (in case of PGX) or option 6)  8MB 
(PGX24).
(Alternatively you can also give /usr/X11/bin/Xorg -configure" a try and 
afterwards test $HOME/xorg.conf.new and copy it over /etc/X11/xorg.conf in case 
it works. But Xorg -configure crashes on many systems, I'don't recall if the 
U10 with PGX/PGX24 belongs to them.). If you want to use Xorg in the most 
stable manner, I would recommend that you plug a UPA card into your U10, such 
as Creator3D.

2) This should be enough already. In case you get something like "no matching 
BusID section found!" in /var/log/Xorg.0.log you just run /usr/X11/bin/scanpci 
and take the corresponding BusID from there and add this to xorg.conf .

3) N O W  (after the server starts) you  are prepared to change any SMF 
services, such as:

# svcadm disable cde-login

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

# svcadm enable cde-login  OR  # svcadm enable gdm

Afterwards you are invited to report if you encountered whatever problems. If 
not you can replace Xsun in less than 5 minutes.

regards,
%martin

Reply via email to