[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: x.org success!



On Mon, 2005-04-11 at 05:40 -0400, Kevin Mark wrote:
> Hi debianfolken,
> I came across a blog entry by Andres Salomon (dilinger@debian.org) about
> his sarge compatible x.org backport. It worked for me!

Glad it worked for you.  I have a few questions/comments below.


> here is what I did:
> ------------------------------------------------------------------------------------
> sid system 2.6.x kernel nvidia riva2 with non-free module built with module-assistant 
> this is a rough estimate of the step. use with caution!
> 2005-04-11 0305 EST
> 
> backup some old files
> 1.	cp /etc/X11/Xsession /etc/X11/Xsession.xfree86
> 2.	mkdir /etc/X11/Xsession.d.xfree86
> 3.	cp /etc/X11/Xsession.d/* /etc/X11/Xsession.d.xfree86/
> 4.	cp /etc/X11/Xsession.options /etc/X11/Xsession.options.xfree86
> 

dpkg should (in theory) do the right thing when handling these config
files; the ones that xorg requires should be installed, overwriting the
old ones.  If you have local changes made, dpkg should ask whether you
want to overwrite them, and if you choose to do so, should move the old
config file to $foo.dpkg-old.  If you decide to revert back to xfree86
4.3.0, the same things should happen; xfree86 should have the config
files it needs installed alongside them.




> setup sources.list
> 5.	deb http://www.acm.cs.rpi.edu/~dilinger/xorg/ ./ #added dillinger source
> 6.	apt-get update
> 7.	apt-get remove x-window-system #sid ( 4.3.0.dfsg.1-12 )
> 8.	apt-get -t 6.8 -u install x-window-system #dillinger (download only) (6.8.2-10sarge1)
> 

I'm not sure that you need to remove the old x-window-system stuff.  An
upgrade should work just fine.  Also, x-window-system is a dummy package
w/ dependencies on misc other x-related packages, so removing it won't
actually remove other packages.  Or did you run into a problem that
required removing x-window-system?


> stop old xserver
> 9.	/etc/init.d/wdm stop
> 
> install xorg
> A.	apt-get remove x-window-system #sid ( 4.3.0.dfsg.1-12 )
> B.	apt-get -t 6.8 install x-window-system
> C.	apt-get -t 6.8 install x-window-system-core
> 	#configure xserver-xorg:select "xserver-xorg"
> 
> my errors
> D.	dpkg --configure -a #may be my error
> E.	apt-get install lsb-base #conflict with file /lib/lsb/init-functions in lsb-core
> F.	dpkg --force-overwrite -i /var/cache/apt/archives/lsb-base_2.0-7_all.deb

Hm, what happened here?  What versions of lsb-base and lsb-core do you
have installed (or did you have installed?)  This sounds like a bug in
one of those..


> G.	apt-get install lsb-base
> 	Y # for Xsession
> 	Y # for Xsession.options
> 	#adding /etc/init.d/xorg-common
> 	#adding /etc/rcS.d/S70xorg-common -->
> 	#purging /etc/init.d/xfree86-common
> 	#purging /etc/rcS.d/S70xfree86-common

xorg will replace xfree86-common with its own dummy package that doesn't
do anything; all the stuff that xfree86-common used to do will be
handled by xorg-common.  You can purge xfree86-common's init scripts, or
you can keep them around; they won't hurt anything.


> H.	apt-get install x-window-system-core
> 	# removing xserver-xfree86
> 	# /etc/X11/X -> /bin/true
> 	# installing xserver-xorg
> I.	/etc/init.d/wdm start
> 	#may need to rm /etc/X11/Xsession.d/ file related to Xfree86
> login and continue (woot!)
> note: nvidia response seems zippier by about 10-20% on trackballs
> 2005-04-11 0445 EST
> ---------------------------------------------------
> cheers,
> Kev
-- 
Andres Salomon <dilinger@debian.org>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: