Page 1 of 1

Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 00:59
by madbrain
Sorry if this is a repost, but it doesn't appear the first post went through.
I tried to setup a VM with 2 virtual monitors. But the CentOS 5.5 guest doesn't appear to recognize it.
What are the xorg.conf settings that will work with this OS, if any ?

Re: Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 01:37
by Perryg
AFAIK multi-monitor is a host function. I doubt that you can run dual in a guest.

Re: Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 01:56
by madbrain
I don't think the host is relevant, and I don't think it needs to physically have multiple displays .
Virtualbox supports virtual monitors. See the "display" setting in the VM. I set that to 2.
This is supposed to allow the guest to use multiple virtual displays.
In fact, it does work for a Windows server 2003 guest. I can't get it to work for CentOS 5.5 guest.

FYI, my host is Windows 7 x64. And it does have 2 displays.

Re: Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 02:09
by Perryg
So you set two monitors in the guest settings and fire up the guest. What do you actually see happen?

See Chapter 3.5 Display settings in your VirtualBox users guide.

Re: Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 03:18
by madbrain
Perryg wrote:So you set two monitors in the guest settings and fire up the guest. What do you actually see happen?

See Chapter 3.5 Display settings in your VirtualBox users guide.
When I tried to set 2 monitors in the guest using the admin for CentOS, it produced a xorg.conf that caused the server to not even start. Obviously the wrong one. I had to backout to the previous version of xorg.conf. The admin GUI requires a set resolution for each monitor configured which is obviously incorrect.

CentOS 5.5 works fine with dynamic resolution with 1 monitor on the Innotek virtual graphics card.

I am in need of some manual xorg.conf settings since the CentOS GUI is not able to generate the correct one for the 2 virtual monitors.

These are the settings that work with 1 monitor . I have tried to fiddle with it by hand but no luck. I don't know if I am just supposed to create a second monitor, or also a 2nd video card and second screen. I just am not familiar with the syntax.

When I install the additions in the VM, it only sets things up with 1 monitor.

Section "Monitor"
Identifier "Monitor[0]"
ModelName "VirtualBox Virtual Output"
VendorName "Oracle Corporation"
EndSection

Section "Device"
BoardName "VirtualBox Graphics"
Driver "vboxvideo"
Identifier "Device[0]"
VendorName "Oracle Corporation"
EndSection

Section "Screen"
SubSection "Display"
Depth 24
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Re: Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 03:23
by Perryg
Did you read Chapter 3.5 Display settings in your VirtualBox users guide?

Re: Dual monitors with CentOS 5.5 possible ?

Posted: 26. Mar 2011, 16:30
by Technologov
Nope, it won't work.

RHEL 5.x has Xorg server 1.1, while VBox only supports v1.3+ for Multi-Monitor Linux guests.