Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004

    Change X driver from command line...

    Greetings brothers and sisters,

    I was just wondering if there is a simple (or even any) way of changing X video driver from command line? (tell X to use standard vesa driver for instance)
    I know how to do it in X environment (harddrake2, or control center) but can never do it in terminal.
    Couple of times I had a situation when X did not start because driver I had installed wasn't working. At that time (since I don't have Internet connection on Linux, due the lack of Linux driver for my wireless modem) I had to reinstall the whole system to correct the problem.

    By the way I'm on Mandrake 10.1 with if that matters.

    Thank you


  2. #2
    Linux Engineer
    Join Date
    Jul 2003
    Farnborough, UK
    You need to log in or su to root.

    Then use an editor such as vi or nano or pico to open the config file.

    vi /etc/X11/XF86Config-4 or whatever it's called.

    For vi use the cursor keys to scoot around, i to enter insert mode, esc to exit to command mode, press x to delete the character under the cursor, ZZ to exit and save from command mode and :q! to bail out from the command mode should it all go horribly wrong.

    Or you could run the xsetup wizard, xf86setup? or summat like that.

    Least I think that's what you is asking ?
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

Posting Permissions

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