LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xorg.conf file missing (https://www.linuxquestions.org/questions/linux-software-2/xorg-conf-file-missing-690904/)

dannyk1 12-16-2008 04:01 AM

xorg.conf file missing
 
Hi all.

I am currently setting up a new stage3 build of gentoo running gnome and cant find the xorg.conf file.

X was setup with Xorg -configure and gnome installed after that.

Both are running fine (I am posting this from the machine in question), but I dont seem to have an xorg.conf file anywhere!!!

Not in /etc/X11
/etc/
/usr/etc/
/usr/lib/X11


Not anywhere !!! How is it working or where the hell is it!!

kaz2100 12-16-2008 04:10 AM

Hya,

Check log, you will see where config is. My penguins has something like:
Code:

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-9)
Current Operating System: Linux penset 2.6.26 #2 Mon Sep 29 05:52:33 JST 2008 i6
86
Build Date: 15 November 2008  05:39:59PM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 16 08:41:15 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"

Happy Penguins!

Tuttle 12-16-2008 04:18 AM

look in /root, run it again and read the instructions!

dannyk1 12-18-2008 05:12 AM

Thanks for the replies.

In /root/ there is an xorg.conf.new file which must be it.



In the log I get:

Quote:

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux main 2.6.26-gentoo-r4 #1 SMP Sun Dec 14 01:46:12 EST 2008 i686
Build Date: 14 December 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 17 17:29:47 2008
(EE) Unable to locate/open config file
(II) Loader magic: 0x81e45c0

Strange X cant find it either. (but still works)

jlinkels 12-18-2008 05:23 AM

You didn't say on which distro this happens, you mention more than one in your profile.

The latest xorg works mostly by autodetection, and the xorg.conf is merely a placeholder right after installation, there is no critical information in it anymore. That is why X works without the config file. When you install X, you won't be asked for configuration information anymore.

If there is a config file, xorg should process it and obey to the user preferences though. If you are installing a distribution which is not stable yet, the creation of xorg.conf could have been skipped due to a bug in the installation procedure.

jlinkels

dannyk1 12-18-2008 02:25 PM

I am using gentoo.

Quote:

I am currently setting up a new stage3 build of gentoo running gnome and can't find the xorg.conf file.
I haven't had much time to play around with it this week but as soon as I can, I will sink my teeth in to it.

Quote:

The latest xorg works mostly by autodetection
This would explain how it works.

Thanks for the info

Tuttle 12-18-2008 02:28 PM

cp /root/xorg.conf.new /etc/X11/xorg.conf

Drakeo 12-18-2008 04:10 PM

well you may not be using the xorg you may be runing xvesa xorg.conf-vesa or xorg.conf-fbdev
the xvesa is loaded by default if there is know module to load. or the install scripts did not do there jobe. as root run level 3 non gui you know. do a xorgconfig. make sure you know all the answers before hand so you do not have to keep trying over and over. another way is to look at the xorg.conf-vesa and see some of it's setting first.

Tuttle 12-18-2008 06:23 PM

if he has run X -configure and got a 'X' cursor then the above command will put a good config in the correct place.

areamike 02-12-2009 12:20 PM

I have same issue as OP.
I am running Fedora10. I just installed the ATI drivers and I cannot configure them before reboot.
When running
Code:

/usr/bin/aticonfig --initial
I receive the following error:
Code:

Warning: Could not find configuration file
Please copy configuration file template to /etc/X11

Problem further is there is no xorg.* file anywhere.

I'm scared to reboot because the last time I installed FC10 and ATI driver and rebooted and started X, I got the Black screen of death.

dannyk1 02-12-2009 05:40 PM

I ended up having more luck running xorgcfg (from an x terminal)
This will bring up a graphical program to configure X.

Have a play with that and see if it will generate the xorg.conf file.

Sorry its been a while since I played with it.

Tuttle 02-12-2009 10:03 PM

Quote:

Originally Posted by dannyk1 (Post 3441617)
I ended up having more luck running xorgcfg (from an x terminal)
This will bring up a graphical program to configure X.

Have a play with that and see if it will generate the xorg.conf file.

Sorry its been a while since I played with it.

To do this you need a working graphical interface!
The easiest way is to use the "vesa" driver in your /etc/X11/xorg.conf file.

areamike 02-13-2009 07:48 AM

I've ditched Fedora and moved to Ubuntu 8.10. No problem with ATI drivers on the Ubuntu flavor of Linux. Maybe I'll try Fedora again some day when stuff like this is fixed. For a newbie like myself, it sure leaves a bad taste in your mouth when you try a flavor of Linux that makes you jump through all kinds of hoops just to get a video card to work.Personally, it's not worth my time.


All times are GMT -5. The time now is 05:42 AM.