PDA

View Full Version : [ubuntu] Could not apply stored configuration for monitors



GoldStar
August 29th, 2010, 04:35 PM
Total newbie to Linux world.

Just installed Ubuntu 10.04 LTS on Microsoft Virtual PC 2007. Installation went OK.

When it starts I see the following message;

"Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained white space"

Maximum monitor resolution is 800x600 although my monitors is capable to 1280x1024 and Refresh Rate is 56 or 60. I should be able to choose 72Hz and over.

Thanks in advance

MrKitty
August 29th, 2010, 07:12 PM
I have a similar issue. After an update my "Nvidia Xserver" does not recognize my monitor all of a sudden displaying "unknown" instead of the monitor name and giving me 1024 x 768 resolution instead of the 1600x1200 that it used to -- This is on my user account -- Furthermore, if I switch to the "guest" user, the Nvidia Xserver recognizes the monitor like it used to and displays the proper resolution. What is going on?

gordintoronto
August 30th, 2010, 04:11 AM
GoldStar, I think you need to do more configuration in Microsoft Virtual PC 2007. I'm not sure, because I use VirtualBox, which is free.

MrKitty, your problem is only similar if you are running in a virtual machine. Otherwise, please use Google to find the solution to your problem.

wojox
August 30th, 2010, 04:25 AM
I have a similar issue. After an update my "Nvidia Xserver" does not recognize my monitor all of a sudden displaying "unknown" instead of the monitor name and giving me 1024 x 768 resolution instead of the 1600x1200 that it used to -- This is on my user account -- Furthermore, if I switch to the "guest" user, the Nvidia Xserver recognizes the monitor like it used to and displays the proper resolution. What is going on?

Open a terminal and run


sudo nvidia-xconfig


gksudo nvidia-settings

MrKitty
August 31st, 2010, 02:42 AM
That's the fix! Did it! The backup file was correct (It took a restart to take effect). I thought of an opposite solution maybe:

Since the guest account was working properly, could it have worked to copy the xorg.conf file from there if the backup that was on my system was not working?

Edited for... Correctness.

GoldStar
September 6th, 2010, 04:47 PM
I ma now running Ubuntu on Virtualbox (much better than MS's Virtual PC) but still the max resolution is 800x600.

Where do I go next.

pyperdown
February 21st, 2011, 03:29 AM
I ma now running Ubuntu on Virtualbox (much better than MS's Virtual PC) but still the max resolution is 800x600.

Where do I go next.

Discovered this - in your homedir look for the .config dir.

rename the file called monitors.xml. Logout, login.

5tj
May 20th, 2011, 08:06 PM
To the VirtualBox Question: Install the guest additions. There is a menu item for doing so.

dwaindibbley65
December 3rd, 2011, 07:21 AM
Discovered this - in your homedir look for the .config dir.

rename the file called monitors.xml. Logout, login.

Worked for me on Ubuntu 11.10, thanks pyperdown!

Linker101
December 15th, 2011, 12:09 AM
Discovered this - in your homedir look for the .config dir.

rename the file called monitors.xml. Logout, login.


This also worked for me on 11.10. I've been struggling with this for days. I now have dual monitors working.

ibod
January 22nd, 2012, 11:49 AM
Discovered this - in your homedir look for the .config dir.

rename the file called monitors.xml. Logout, login.

I just installed 11.10 (not in a virtual PC)
After some setup in 'Nvidia X server settings' to enable the missing second screen.
I have the same message

"Could not apply stored configuration to monitors"

Remember to select 'VIEW show hidden files' to see the .config dir in your home dir
Renaming monitors.xml to old monitors.xml also worked for me.

No new monitors.xml file is created.

This configuration problem seems to be happening to several people, and to have been around since at least 10.04

Is this a bug ?

Could anyone explain what is happening to cause this ?

Robynsveil
February 23rd, 2012, 08:00 AM
Discovered this - in your homedir look for the .config dir.

rename the file called monitors.xml. Logout, login.

Thanks, PyperDown - worked a treat!! :KS

kboutelle
February 28th, 2012, 01:40 PM
Discovered this - in your homedir look for the .config dir.

rename the file called monitors.xml. Logout, login.

I have Ubuntu 11.10 on a Dell Latitude E6400. It has an Nvidia Quadro NVS 160M video card and I'm using a dual monitor setup. I'm using the laptop display and a Dock-DVI connected HP L2045w LCD 20". Everything was fine until one morning that I received the same error mentioned in the first post.

pyperdown's post is what I needed to fix my system. Thanks!