Killing X

On Ubuntu it used to be that ctrl-alt-backspace would kill X (the backend of the various graphical user interfaces on Linux). In an aim to be user friendly this is now disabled by default. This can be a real pain if X locks up, you can’t kill it nor change to a console.

On Debian and Ubuntu you can install the dontzap command which will allow you to kill X:

sudo apt-get install dontzap

Then run dontzap:

sudo dontzap -d

Or you can the following section to your /etc/X11/xorg.conf file (which is what the dontxzap command does):

Section "ServerFlags"
        Option  "DontZap"       "False"
EndSection

See Alberto Milone’s blog for more info:
http://albertomilone.com/wordpress/?p=335

(2.0.0.16 > 3.0.8) == true ?

I use Kayak.com whenever I’m planning a trip any where, it’s a good source to determine who flies to what destination and whose got the lowest price. Today, there’s a wee bug on their website where they tell me I should upgrade to Firefox 2.0.0.16, this would be sound advise except for the fact that I’m using a newer version of Firefox:

Kayak.com Firefox versioning bug

So I think someone needs to look at the math used here, because 3.0.8 is greater than 2.0.0.16. This is using Firefox on Ubuntu Linux.

Update: This may not be a Kayak.com problem and may be a problem with how Ubuntu build Firefox. In the Firefox “about:” page (type about: in the URL bar). It reports the following:

Firefox "about:" page.

There is a Ubuntu bug that may be related to this, and I’ve added a comment and the screen-shot that’s immediately above.

Kaboom is cool!

Great tool for converting KDE3 settings to KDE4 on Debian. Also, it’s works well to merge KDE4 settings from .kde4 with KDE3 settings in .kde. This is useful as KDE4 1st used .kde4 to save personal KDE configuration data. KDE4 is now using .kde for config data, which mean early KDE4 users will have problems with new KDE4 apps. Fear not, Kaboom will help!

http://pkg-kde.alioth.debian.org/kaboom.html

I’d advise saving back-up copies of both .kde and .kde4 .

Red Hat 9

I have a Red Hat 9 server that I have to support for a wee while longer. I needed to install some packages and I didn’t have the original install CD’s nor access to Red Hat’s repositories.

After lot’s and lot’s of searching I found the ISO images at:
ftp://archive.download.redhat.com/pub/redhat/linux/9/en/iso/i386/

But, there’s too many users on Red Hat’s FTP server and I can’t get access … thankfully rpmfind.net have a mirror:
http://fr.rpmfind.net/linux/redhat/9/en/iso/i386/

So now I can download the ISO images, and mount them on the Linux box using the loop-back interface and install the packages I need.

I expect to have new hardware within a month or so, and I’ll probably be using BU Linux or Ubuntu 8.04.

Ubuntu Jaunty & ATI

This is quick’n’dirty writeup to help others who might have the same problem. I’ll clean this up later in the week …

Ubuntu Jaunty is the new beta version of Ubuntu. It comes with a new version of X.Org and the ATI drivers have been incompatible with this version of X.Org. ATI recently released drivers that support X.Org 1.6. If you have problems with X not starting follow the instructions here:
https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver

For me what happened is that X wouldn’t start properly and cause my Lenovo T400 to freeze and lock up. The laptop would boot but when X would start (when the login screen appears) I’d get a black screen with red lines at the top. To solve this I booted to runlevel 1, also known as failsafe mode. If your using a laptop with wireless, I suggest you connect directly to your router using a network cable, otherwise you may have to configure wireless manually (it’s not that hard).

When your system starts, select failsafe mode, on the next screen to appear choose the option to go to a “root shell with networking”.

Next remove the install ATI drivers and install from scratch the ones you need:

sudo apt-get remove –purge xorg-driver-fglrx xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install –reinstall libgl1-mesa-glx libgl1-mesa-dri
dpkg-reconfigure -phigh xserver-xorg

If this doens’t work for you see the Ubuntu page mentioned above.