I just installed a centos 6.5 virtual machine on my fedora 20 host.
It works fine with spice/qxl, but insists it should come up in 1024x768 resolution.
I can use the Display setting app inside centos to change the resolution to something more reasonable like 1600x900, but if I log off or reboot, it is back to 1024x768 again.
Any way I can convince the virtual machine that the default resolution is 1600x900? My Windows KVM has no problem remembering the resolution I set in it.
Greetings,
----- Original Message -----
I just installed a centos 6.5 virtual machine on my fedora 20 host.
It works fine with spice/qxl, but insists it should come up in 1024x768 resolution.
I can use the Display setting app inside centos to change the resolution to something more reasonable like 1600x900, but if I log off or reboot, it is back to 1024x768 again.
Any way I can convince the virtual machine that the default resolution is 1600x900? My Windows KVM has no problem remembering the resolution I set in it.
Remembering the resolution is probably a feature of the desktop environment or window manager you are using. Which one are you using? In older versions of KDE (like what is in EL6), you might have to "save as default" after setting it. I'm not sure about anything else but can check if you give more information.
TYL,
On Thu, 19 Jun 2014 19:48:00 -0600 (MDT) Scott Dowdle wrote:
Remembering the resolution is probably a feature of the desktop environment or window manager you are using. Which one are you using?
Looks like gnome to me. I just installed centos with the "desktop" installation selected.
"Apply" and "OK" are the only two relevant buttons I see in the "Display" app I used for changing resolution, and I've definitely pressed both of those :-).
"Apply" and "OK" are the only two relevant buttons I see in the "Display" app I used for changing resolution, and I've definitely pressed both of those :-).
Thinking about this some more, I bet I can put a script to invoke xrandr to set the resolution in the /etc/X11/xinit/xinitrc.d/ directory. I'll have to try that the next time I'm working on the virtual machine.
On Fri, 20 Jun 2014 09:14:53 -0400 Tom Horsley wrote:
Thinking about this some more, I bet I can put a script to invoke xrandr to set the resolution in the /etc/X11/xinit/xinitrc.d/ directory. I'll have to try that the next time I'm working on the virtual machine.
For some reason it doesn't work in the xinit dir, but if I put the script in the "Startup Apps" in gnome, it does set the resolution I want when I login.
Greetings,
----- Original Message -----
Looks like gnome to me. I just installed centos with the "desktop" installation selected.
"Apply" and "OK" are the only two relevant buttons I see in the "Display" app I used for changing resolution, and I've definitely pressed both of those :-).
I tried both KDE and GNOME and neither of them in EL6 seems to save the settings. I could have sworn that KDE had a "save as default" option somewhere but I couldn't find it. Newer versions of those things do save the display settings I believe / hope. I don't think it is in issue on physical hardware because it'll use the max the hardware supports. In a VM, not so much.
Hopefully CentOS 7 will be out in the not too distant future and you can use that instead? :) I can tell you it does save the resolution settings.
TYL,