5

Since I had a hard disk die on me, I figured I could easily try some other OS (I usually run Ubuntu). Turns out that Ubuntu flawlessly recognizes my video card and monitor (X11 works right out of the box), and none of the other systems I tried gets anything working (I tried CentOS and FreeBSD). In my now working version of Ubuntu I cannot find a configuration file with information I could try to use with one of the other versions, which makes me guess that it just detects the hardware every time. Can I extract its choice for drivers and configuration options somehow (so I can try these same options in the other systems)?

1
  • @Giles thanks for the tag correction. Took me looking at wikipedia to realise that X11 is the protocal, and Xorg is the implementation that indeed I am running.
    – kasterma
    Jan 7, 2011 at 2:21

1 Answer 1

1

Xorg -configure (run as root from a text console) produces a configuration file that should be equivalent to what Xorg autodetects.

But that may not be enough, because it's likely that the reason your video card works in Ubuntu is that it has more recent drivers, or installs proprietary drivers that the other OSes don't install. Look in /var/log/Xorg.0.log for startup messages (that's the Ubuntu location, it may be different on other OSes), and see where they differ.

2
  • 2
    It fails with Server is already active if it's already running.
    – dhill
    Aug 24, 2015 at 13:08
  • @dhill you can only run this in a text console (eg. TTY1) without having Xorg enabled. So you first need to stop/kill Xorg session. For example sudo systemctl stop lightdm, then run that command: sudo Xorg -configure. A new file should be present in the /root folder. Feb 22, 2023 at 16:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .