Sunday, November 1, 2009

Gentoo: X Update Problems

When building xorg-server-1.6.3.901-r2 with the "+hal +evdev" USE flags:

  • X -configure will give you your base xorg.conf.new file

  • Use "evdev" as the driver for both keyboard and mouse

  • X -config no longer automatically starts twm. Instead, you'll end up with a black screen. This is normal, expected behavior for Xorg.

  • Instead, use startx to test your configuration. However, the current version of startx seems to require an existing /etc/X11/xorg.conf to run. So move your new config file over (backing up the old one first if this is an upgrade); and if all goes well, you'll see three xterm and an xclock.

Why is this important?

I spent about 3 day trying to "fix" the new default behavior, attempting to get twm to startup with X -config /root/xorg.conf.new . And since the Gentoo Xorg How-To still uses the old default behavior (as of this writing); I figure I had better write this down for the next upgrade. And since knowledge is just information unless it is shared... I'll put it up here in case someone else needs it, too.

No comments: