0.5 C
New York
Sunday, February 23, 2025

Buy now

spot_img

Fix “Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained whitespace” error in Kali Linux

I just installed Kali Linux 1.0.6 on VirtualBox. My installation finished without a problem but when I tried to Login, I had the following error

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

Fix Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained white space error - 1 - blackMORE Ops

This error doesn’t really stop me from doing anything, (I just pressed Close and it went away for the whole session), but next time I reboot and tried to Login, same error popped up. After few times, I was just annoyed and started looking around for a solutions.

I later found that many users got similar problem’s in Ubuntu, Linux Mint, CentOS and in my case Kali Linux. This problem is not only limited to VirtualBox, it also affects Microsoft Virtual PC 2007 and standalone installation. In this guide we will try to solve it for the following types of installation

  1. Linux installed  in VirtualBox
  2. Linux installed in Microsoft Virtual PC 2007
  3. Standalone Installation

Following is how I fixed my issue in Kali Linux, the same steps applies to Ubuntu, Linux Mint or any other Linux distributions.

Fix “Could not apply stored configuration to monitors error” in Kali Linux

Login to your terminal. In Kali Linux you’re probably already logged in as root. Many people create non root or standard user in Kali Linux, so if you’re one of them, Login to your own account. Once logged in change your directory to .config folder in your home directory.

cd .config

Rename monitors.xml file to monitors.xml.bkp. In here, we are keeping a backup file just to play safe.

mv monitors.xml monitorx.xml.bkp

Fix Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained white space error - 2 - blackMORE Ops

That was easy. Now Logout and Login back again in your account.

No more annoying useless popups saying “Could not apply stored configuration to monitors”. Now you can delete monitors.xml.bkp file if you feel like.

Thanks for reading. If you found this useful, please share and follow me on Facebook/Twitter for regular updates.

blackMORE
blackMOREhttp://www.blackmoreops.com
blackMORE Ops is dedicated to How to, Guides, Security features and Tips and Tricks for Linux OS. Thank you for visiting us and follow us here www.blackmoreops.com.

Related Articles

14 COMMENTS

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading

Privacy Policy on Cookies Usage

Some services used in this site uses cookies to tailor user experience or to show ads.