On my laptops ( IBM TP A31 and COMPAQ M700 (in German)(http://tuxmobil.de/compaq_m700.html) ) I have encountered some troubles with XFree86 4.1, so I wanted to try the new 4.2 release. Since there are no Debian packages available yet (June 2002), I have decided to install the i386 binaries from XFree86 . Tough I have checked the i386 binaries only, these instruction should work for other architectures, too. Please note I respect the reasons of the package maintainer(http://lists.debian.org/debian-devel/2002/debian-devel-200204/msg01343.html) I just couldn't wait.
Note: I have updated to 4.2.1 now. Using the
Xinstall.sh script that
comes with the pre-compiled binaries for 4.2.1 and installing over the
existing 4.2.0 installation. This worked fine for me.
According to DWN XFree86 4.2.1 is in unstable now. After a lot of testing and preparation, Branden and his colleagues from the X Strike Force (XSF) have finally unleashed XFree86 4.2.1 to the incoming directory.
Preliminary XFree86 4.2.0 Packages. Branden Robinson(http://people.debian.org/~branden/) finally announced(http://lists.debian.org/debian-x-0206/msg00029.html) preliminary packages for XFree86 4.2.0. Thanks to Branden and Ishikawa Mutsumi(http://lists.debian.org/debian-x-0206/msg00014.html) for the great work. Adam Heath and Tollef Fog Heen set up a mirror list(http://raw.no/x4.2/) (note: additionally you need a newer libfreetype6(http://packages.debian.org/libfreetype6) package, which you have to take from unstable or testing). Please direct all enquiries and problems with these packages to this mailing list <debian-x at lists.debian.org>(http://www.debian.org/MailingLists/subscribe) .
For details, see Release Notes for XFree86[tm] 4.2.0(http://www.xfree86.org/4.2.0/RELNOTES.html) . My favorites are:
On my systems a working installation of XFree86 4.1.x provided by Debian GNU/Linux(http://www.debian.org) - 3.0 Woody was installed.
I made a separate directory, e.g.
changed into it and took the binaries for Linux (i386) from a mirror of
Than I untarred them and read the documentation first
Installation Details for XFree86[tm] 4.2.0(http://www.xfree86.org/4.2.0/Install.html)
are also available online).
I decided to do an "Installing over an old installation".
To backup the existing configuration I moved the
/etc/X11 directory to
Please note you may have to do other backups, too.
Stop all running X servers and/or displaymanagers before running the
install script, e.g.
/etc/init.d/gdm stop (change
kdm according to your system).
Installation was quite easy with the
Xinstall.sh installation script.
I used all the default answers, except I didn't take the font server, the programmers
extension and rstart. The font server should work, but I don't use one so
I avoided it. The programmers extensions should also work, but I don't use
it either. And the rstart option seems obsolete to me.
To configure the X-Server I did:
and moved the generated config file to
But you may even succeed using the old configuration file.
To check it I just started
X. It worked out of the box,
but to get the mouse working I had to stop the mouse manager
Finally I moved the new
/etc/X11 directory to
and copied the previously backuped directory back:
cd /etc; cp -va X11_Debian X11.
From the original 4.2 config files I took only the
X works fine now. But the displaymanagers
xdm don't seem
to work (this may result in an unusable system, e.g. after rebooting!)
. But I don't use them anyway, I usually start X with
If you have made any changes in the old config file, e.g. another language or the addition of a second mouse, you have to merge them manually now.
From Tuukka Toivonen I got these fix for KDM (but I didn't test it myself): "If I remember correctly, I had the same problem. Looking the backup files, it appears I fixed this with the following modifications to the kdm configuration file:"
tuukkat@acerzone 1 /etc/kde2/kdm> diff -PruN kdmrc~ kdmrc --- kdmrc~ Thu Apr 11 00:17:03 2002 +++ kdmrc Sat Jun 8 21:30:36 2002 @@ -158,7 +158,7 @@ # Default is false #ResetForAuth=true # Create X-authorizations for local displays. Default is true -#Authorize=false +Authorize=false # Which X-authorization mechanisms should be used. # Default is XDM-AUTHORIZATION-1,MIT-MAGIC-COOKIE-1 #AuthNames= @@ -214,7 +214,7 @@ # Default is false #AutoReLogin=true # Allow root logins? Default is true -AllowRootLogin=true +AllowRootLogin=false # Allow to log in, when user has set an empty password? Default is false # for Debian. We are not going to promote poor security AllowNullPasswd=false tuukkat@acerzone 1 /etc/kde2/kdm>
To avoid overwritings by further package updates
I set these packages on HOLD with
dselect. Maybe you have to check even more packages, fonts,
libraries like OpenGL and so on, you may check the x11 and libs sections with
(my workaround to get a list of packages uses the version number of the X packages, which is hopefully unique
dpkg -l | grep "4.1.0-16"):
x-window-system x-window-system-core xbase-clients xfree86-common xserver-common xserver-xfree86 xfonts-base xfonts-base-transcoded xfonts-scalable xfonts-75dpi xfonts-75dpi-transcoded xfonts-100dpi xutils xvfb xterm xdm xfs proxymngr twm libdps-dev libdps1 libdps1-dbg libxaw6 libxaw6-dbg libxaw6-dev libxaw7 libxaw7-dbg libxaw7-dev
The above list can probably read into the package list (you have to put the keyword "hold" to the end of
each line) with
You may remove the backup directories
/etc/X11_4.2 and the installation files at some time.
In case of trouble check the log files, e.g.
Please use also the XFree86 docs, you may consider
to copy them into
Further information on X11 you may
find in these HOWTOs at the
THE LINUX DOCUMENTATION PROJECT - TLDP(http://www.tldp.org/):
Sorry, I do not have time to keep a list of current back ports. So please check these repositories: