Today, in KDE, I have started a windows application throuh wine. The applicaiton tried to change the video mode, and my screen turned blank with « Video mode not supported ». This means that the resolution or refresh rate are not supported by the screen.
Alright, I restart my X11 server. I can log in, and during the initialisation of the KDE session, the screen went blank again. Usually this is configured in /etc/X11/xorg.conf, but this is obviously correct since I have the KDE login manager (kdm). Something during in KDE changes that.
My first idea was that the wine applicaiton was still in the KDE session. Being exectuted during the startup, it would push the new unsupported video mode.
Actually, it’s much more simple. There is a configuration file called ~/.kde4/share/config/krandrrc which defines the resolution, à la randr (X Resize and Rotate Extension)