Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-14-2004, 10:02 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Can't edit Xorg.conf

i need to edit xorg.conf because the drivers for my video card aren't working and i can't get into gnome.

How do i edit Xorg.conf? i've tried everything, i am logged in as root, i've tryed nano /etc/X11/xorg.conf, i get a blank file...nothing in it..and nano file xorg.conf, i've tryed vi, same thing, i've tryed running xorgconfigure, i get..command not found...
i'm new to linux, can anyone advise me? what am i doing wrong? is there a way to roll back xorg? or to edit it and put the drivers back to what they were before?
i'm using fedora core 2 by the way...
thank you
Old 08-14-2004, 10:15 AM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
If you are getting a blank file, that means that you are typing the wrong name at the terminal, so nano, vi, whatever, creates a new file instead. Use the tab completition (press tab) to avoid "spelling" errors on the console. Keep also in mind that Linux is case sensitve, unlike Windows, meaning that Xorg is different of xorg which is different of XORG.

Good luck!

P.S: you do, have to be root to edit not only that file, but any file outside your /home/user directory
Old 08-14-2004, 10:17 AM   #3
LQ Newbie
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
thank you , i'll try again and let you know
Old 08-14-2004, 10:27 AM   #4
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
Try "xorgconfig". If that doesn't work, you might not have X installed
Is this a new install? If not, did you have X working before?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf bad configured, how to edit Monjawi Linux - General 2 09-23-2005 11:08 PM
iintel extreme graphics - how to edit xorg.conf slack 10.1 rkrishna Slackware 2 06-21-2005 09:15 AM
Changing resolution in FC3. Which xorg.conf line do I edit? ColKurtz Linux - Newbie 2 02-18-2005 01:09 PM
edit xorg.conf rather than XF86Config? ICO Slackware 2 07-25-2004 12:17 PM
xorg.conf > how to edit ? visvent Linux - Software 3 06-07-2004 02:14 PM

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration