Dual monitors with CentOS 5.5 possible ?

Discussions about using Linux guests in VirtualBox.
Post Reply
madbrain
Posts: 26
Joined: 26. Mar 2011, 00:52
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: CentOS OS/2

Dual monitors with CentOS 5.5 possible ?

Post 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 ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Dual monitors with CentOS 5.5 possible ?

Post by Perryg »

AFAIK multi-monitor is a host function. I doubt that you can run dual in a guest.
madbrain
Posts: 26
Joined: 26. Mar 2011, 00:52
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: CentOS OS/2

Re: Dual monitors with CentOS 5.5 possible ?

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Dual monitors with CentOS 5.5 possible ?

Post 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.
madbrain
Posts: 26
Joined: 26. Mar 2011, 00:52
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: CentOS OS/2

Re: Dual monitors with CentOS 5.5 possible ?

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Dual monitors with CentOS 5.5 possible ?

Post by Perryg »

Did you read Chapter 3.5 Display settings in your VirtualBox users guide?
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: Dual monitors with CentOS 5.5 possible ?

Post 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.
Post Reply