PDA

View Full Version : [SOLVED] does xorg.conf get a one user only version?



sfystone
18th December 2010, 04:47 PM
Something bad happens after installing nvidia driver for my fedora 14. It's about the stored driver/xorg configuration, and it only affect on my current account.
So I wanna know where can be a one-user-only VGA driver configuration stored. I'll delete it, it's give me a big trouble.


Belows are how it become like this, and how the trouble appears.

after nv driver installed, I change the /etx/X11/xorg.conf file and start another X with another account without exit current X.

Now, everytime when I start gnome with current account, it pop up a message writes

"""
Could not apply the stored configuration for monitors
none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 354
CRTC354: trying mode 1366*768@50Hz
with out put at 1280*720@0Hz(pass 0)
CRTC354: trying mode 1024*768@51Hz
with out put at 1280*720@0Hz(pass 0)
...
CRTC354: trying mode 640*400@64Hz
with out put at 1280*720@0Hz(pass 0)
"""

And I have to wait for this pop-up message to disappear. During this some 2 minutes, I can't do anything, even Ctr+Alt+F5 to switch terminal fails. I can't PrintScreen neither. I've been uninstalled nv driver twince for this. but right now I decide to fix it.

mk27
18th December 2010, 05:26 PM
Notice that here:

http://xorg.freedesktop.org/archive/X11R6.9.0/doc/html/xorg.conf.5.html

Xorg looks for this file:


/etc/X11/$XORGCONFIG

Before it looks for /etc/X11/xorg.conf. Ie, if you set the environment variable $XORGCONFIG to some alternative, and that file actually exists, it will get used instead.

If you are using a graphical login, obviously you cannot do this per user because X is already running before you log in. However, if you use startx instead, you could set this per user in ~/.profile:


export $XORGCONFIG=xorg.alt.config

You could set it system wide in rc.local, altho if you are using gdb (I don't) that may not fire until X has started either, so you will have to put it in some higher priority rc script.

sfystone
18th December 2010, 06:05 PM
It's ~/.config/monitors.xml
I throw it away, now thing get fine.

---------- Post added at 01:05 AM ---------- Previous post was at 01:04 AM ----------

log of startx never inform me about this file. Strange.