Results 1 to 9 of 9

Thread: How to default to failsafeX

  1. #1
    Join Date
    Oct 2007
    Location
    Hunter Valley, Australia
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question How to default to failsafeX

    I've installed UNR 10.04 on an old UMPC. Graphics are a total mess, even console text doesn't display properly. All I get is a bunch of pixels, smeared across the screen.

    I'd blame KMS, but that's only supposed to affect X. Anyway, according to https://wiki.ubuntu.com/X/KernelModeSetting/, "KMS is enabled by default for the -intel, -ati, and -nouveau drivers. It is not available for any other drivers". Mine isn't any of those, so KMS shouldn't be enabled at all.

    I've found that failsafeX in a recovery console works OK. My question is, how can I get UNR 10.4 to default to failsafeX in normal mode?

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to default to failsafeX

    try this:

    sudo gedit /etc/default/grub

    then set GRUB_DEFAULT=1 (instead of 0)

    save and close, then: sudo update-grub

    https://wiki.ubuntu.com/Grub2

  3. #3
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: How to default to failsafeX

    when you say "failsafeX" you mean the vesa drivers?

  4. #4
    Join Date
    Oct 2007
    Location
    Hunter Valley, Australia
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to default to failsafeX

    Quote Originally Posted by dino99 View Post
    try this:

    sudo gedit /etc/default/grub

    then set GRUB_DEFAULT=1 (instead of 0)
    Thanks. That sets the default to the recovery console. What I'm trying to achieve is failsafeX in a normal login.

    Quote Originally Posted by kerry_s View Post
    when you say "failsafeX" you mean the vesa drivers?
    In the recovery console, there's a menu option labeled failsafeX. Whatever that is, it's what I want (at least until I can get something better to work).

  5. #5
    Join Date
    Oct 2007
    Location
    Hunter Valley, Australia
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to default to failsafeX

    https://blueprints.launchpad.net/ubu...ract-failsafex indicates that failsafeX is more than just a driver. I don't understand 90% of that page, but the information might clarify things for someone who knows more than I do.

  6. #6
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: How to default to failsafeX

    i think thats vesa.

    boot into recovery mode, select root shell.
    type-> X -configure

    this will make a xorg.conf that you can copy to /etc/X11/xorg.conf

    change the driver line in there to use "vesa".

  7. #7
    Join Date
    Oct 2007
    Location
    Hunter Valley, Australia
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: How to default to failsafeX

    Thanks Kerry,

    That worked. As far as I could tell, there wasn't an /etc/X11/xorg.conf before I copied /root/xorg.conf.new (which X -configure created) there. That file listed the openchrome driver, which is appropriate to my hardware and worked in previous versions of Ubuntu, but didn't work this time. The vesa driver works fine.

    In /etc/X11, I noticed a file xorg.conf.failsafe, the Device section of which lists the vesa driver. Evidently, failsafeX is mostly (if not entirely) vesa, as you suggested.

  8. #8
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: How to default to failsafeX

    now you know failsafeX creates a "xorg.conf.failsafe" next time all you have to do is just rename that file to "xorg.conf".

  9. #9
    Join Date
    Oct 2007
    Location
    Hunter Valley, Australia
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to default to failsafeX

    The contents of xorg.conf.failsafe are minimal. It looks generic.

    Renaming or copying the file to xorg.conf might work, but there'd be a lot missing that's probably necessary. Renaming it also risks disabling failsafeX for the recovery console.

    Your original suggestion yields a far better (semi-)permanent solution.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •