Debian Lenny (and fully working X in Linux) — I'm back

| | Comments (2) |

I've written hundreds of posts about Debian, and maybe just as many about trouble I've had with my Intel-graphics-using laptops and screen artifacts in the X Window System graphical environment for Unix/Linux operating systems.

Now I've got a fresh, working Debian Lenny installation on a test machine and have solved the artifacts-in-X problem that has plagued me in Slackware and Debian (and a few other distros that escape me) for probably a year or more.

One of the hardest things I ever did in my Unix/Linux journey was give up Debian Lenny back in its Testing days when I couldn't solve the screen-artifact problem.

I worked for weeks, maybe months, hacking away at the problem, tweaking /etc/X11/xorg.conf any number of ways. But I could never solve it.

Among all the Linux distros I tried at the time (roughly all of 2008), only Ubuntu, it seems, was free of screen artifacts. And it was running without an xorg.conf.

Point of order: The screen-artifacts problem wasn't always a problem. I ran numerous distros on laptops with this Intel graphics chip in 2007, and it never happened. Debian Etch, CentOS 5, many, many Puppy Linuxes, Damn Small Linux, PCLinuxOS, Fedora. At one point in Debian Lenny's development, it started to happen. My conclusion at this point is that changes in Xorg, not in the OS itself, are responsible for the problem.

Further point of order: OpenBSD 4.4 also didn't have this problem. I wasn't so lucky in OpenBSD 4.5, where quitting X causes a segmentation fault and core dump. And the xorg.conf I generated with Xorg -configure in 4.5 crashed X entirely. To run it at all, I needed to use the xorg.conf I generated in the same way in 4.4. I don't think it's using the new intel driver in 4.5 vs. the old i810 driver in 4.4, but it very well could be.

Back to X artifacts in Linux: To attack/potentially solve the problem this time, instead of Googling my laptops' names (Gateway Solo 1450 or Toshiba 1100-S101) I instead Googled X artifacts and the graphics chip's name (which I got from running dmesg in a terminal), which is the Intel Corporation 82830 CGC.

I came up with this page from the Arch Linux forums, which gave this advice:

had this exact same problem. put:

Option          "AccelMethod"   "XAA"

into your xorg.conf in the Device section. should fix it!

That worked. After literally hundreds of changes in my own xorg.conf files on a half-dozen or more installs, adding this line to/etc/X11/xorg.conf in Debian Lenny solved my video-artifacts problem.

For me, this is huge. It's my Linux/Unix tip of the year for 2009. Even though there are still seven months left in the year, no tip can trump this one in my own personal FOSS world.

Back to Lenny: A full how-I-installed-Lenny post is forthcoming, but right now I'm in a test environment and will probably change a few things before I nail the tutorial down.

This time at least, I started with a minimal install of Etch and a Half (I'm having CD-reading issues with the Toshiba, and this is the only Debian CD it'll boot from; and I'm also having networking issues with Debian install CDs that are particular to the local network through which I connect to the Internet).

After the minimal install was done from the CD, I then upgraded (aptitude update, then aptitude upgrade, both at a root prompt), added Xfce and a few apps, then changed all references from Etch to Lenny in /etc/apt/sources.list, dist-upgraded to Lenny, added a Lenny kernel (the system didn't do this automatically), did another dist-upgrade, added some more apps, and got Flash and Java working in Iceweasel (the non-branded Debian build of Firefox).

Now I have a working machine that's doesn't quite sip memory like my identically configured (but now written-over) OpenBSD installation but is both faster than my favorite BSD as well as Ubuntu (yes, I know GNOME vs. Xfce isn't a fair fight).

Here's roughly what I have installed on the Lenny laptop:

OpenOffice 2.4
Iceweasel (Firefox w/o copyrighted names or graphics)
Icedove (Thunderbird w/o copyrighted names or graphics)
sudo (I consider it an essential utility, even on systems whose names aren't Ubuntu)
xfce4
xfce4-goodies
2.6.26 Lenny kernel
mtpaint (I'll get around to the GIMP at some point, but this small image editor does most of what I need)
Flash 10 (I used the .deb package from Adobe)
Java in Iceweasel (after adding contrib non-free to the repositories in /etc/apt/sources.list, I added the sun-java6-plugin)
CUPS
xpdf
menus (so I could use update-menus in the console)
GDM (makes it easier to run multiple window managers; unfortunately there's nothing in Debian like Slackware's excellent xwmconfig console utility)

I don't have the networkmanager app that usually runs in standard Debian with GNOME (and with every form of Ubuntu). I re-learned how to manage the network with config files (a lot different than in OpenBSD, that's for sure) and all network-manager-gnome did was screw things up — I couldn't get to it.

Either I'll get deeper into manual configuration in Linux (likely) and get a couple of NICs set up (wired and wireless), or I'll either figure out how to get the GNOME network manager to install (not as likely) or do a "standard" Debian desktop with GNOME and then add Xfce the next time I do an install (could happen).

As I and others have written before, Xfce in Debian is a whole lot lighter desktop than it is in Xubuntu. It's a bit harder to manage, but after the aforementioned six months using OpenBSD, I'm accustomed enough to using the terminal that I'm very happy to use Debian's excellent aptitude in the console/terminal to update and add/remove applications and really don't need Synaptic (which I could easily add).

As I also mention above, I started with the minimal install because I had problems with networking in the Debian installer (my network's problems, not Debian's), but the next time I do this, I'll probably select Xfce as my desktop either in the installer menu itself (if I can get a Lenny disc to boot) or at the boot line in the Etch and a Half installer (desktop=xfce, I believe the line is). My goal is to find a Lenny install disc (possibly the entire "disc 1" of either the GNOME or Xfce builds ...) that the Toshiba 1100-S101 will boot from. I've made them on various PCs and Macs, and it's hit or miss. The Toshiba will read the CDs, it just won't always (OK, will only seldom) boot from them.

Just to get all the GUI tools you might want in a pinch, it's probably a good idea to start with the "standard" GNOME desktop, but in this case I wanted to save disk space and keep the system lean.

As nice as it is to have Lenny back on one of my desktop systems (I haven't yet made the decision to replace Ubuntu 8.04 on my main production system, and despite all philosophical rants to the contrary, I'm sticking with it at present), it's even nicer to solve that X-artifacts problem that has kept me from using so many good systems for so long.

Helpful links for this install:

2 Comments

Article22 Author Profile Page said:

Always nice to find out why things weren't working in the end.

Interested why you haven't tried ArchLinux as it is imo similar to Debian in a lot of ways.

I generally find either ArchLinux or Debian will work on pretty much any machine and while it does take a while to get used to the Arch way, I don't find it any harder than the Debian or Fedora way really.

They are all nowadays pretty easy to setup and administer and it is more down to the help on the forums which gets a distro my vote.

Hence why Ubuntu is still near the top.

I should probably look into Arch. I hear about a lot of people using it, and the rolling-release aspect of it is attractive in a way.

Right now I'm pretty happy running Ubuntu 8.04 on a couple installations, Debian Lenny (newly installed) on another, and a couple with Debian Etch that I'll update if I can get them networked soon (working on that).

I'd like to run OpenBSD -current, too ...

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on May 28, 2009 5:00 PM.

Ubuntu 8.04 rant: Getting MP3s to play is too fundamental to be left up to geekery was the previous entry in this blog.

Could this be the same X problem as mine in OpenBSD 4.5? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Steven Rosenberg on Debian Lenny (and fully working X in Linux) — I'm back: I should probably look into Arch. I hear about a lot of people using i ...

Article22 on Debian Lenny (and fully working X in Linux) — I'm back: Always nice to find out why things weren't working in the end. Intere ...

Powered by Movable Type 4.25

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet U.K.
iTWire
CNet News
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Gobuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo

Advertisement

Other blogs

Johnson Update in Inside USC with Scott Wolf
Has Bynum outgrown Kareem? in Inside the Lakers
Can the Angels just get to the end of this thing without an injury? in Farther Off the Wall
Neuheisel On: in Inside UCLA with Jon Gold
U.S. Roster for Final Two WCQ Announced in 100 Percent Soccer