I have a new machine with OpenSUSE 11.2 and KDE 4.3. I have 2 monitors. The second monitor is set to extend the screen to the right. Everytime I logged on, I had to reset the resolution to auto and set the second monitor to the right. The setup didn’t seem to be remembered and kdm definitely fell to the smaller resolution when I logged off.
I stopped using krandr because it did strange things (it always seemed to wipe out the setup when I simply started it), and used xrandr. When I queried, using xrandr, it showed the main monitor on DVI0 and the second monitor on VGA2. The hardware and commands used are shown below.
I created a bash script to activate and deactivate the second monitor using the 2 commands below. It was working nicely. On, off, on, off, it was exactly what I wanted. I added it to my KDE auto start through the Computer Setting dialog. I tried it a couple of times in succession but then something happened.
The main monitor is gone, and by gone I mean orange light, grub complains about the vga= resolution (“undefined video mode” and doesn’t show higher resolutions). I only have the second monitor/VGA2 and when I query xrandr it shows DVI0 shows disconnected!. When I boot, I see the console messages on DVI0, but as soon as it gets to kdm, it switches to VGA2 and DVI0 has no video signal. To add weirdness, when I do a clt-alt-f1 it appears on DVI0.
How do I get DVI0 back?
How do I get automatic hardware detection back?
Monitors and Video Card:
Main Monitor: Acer AL2216W bd
Second Monitor: Sceptre X96-Naga II
Video: GEFORCE 9600 GT 1GB DDR3
Driver: OpenSUSE nv
xrandr --output DVI0 --auto --pos 0x0 --output VGA2 --auto --right-of DVI0
xrandr --output DVI0 --auto --pos 0x0 --output VGA2 --off