Win 8.1 Host, Gentoo Guest - Single Screen Issue

Discussions about using Linux guests in VirtualBox.
Post Reply
RFLudwick
Posts: 1
Joined: 1. Nov 2013, 07:44

Win 8.1 Host, Gentoo Guest - Single Screen Issue

Post by RFLudwick »

(Originally posted this in the wrong forum...)

I have a dual-monitor Windows 8.1 host machine setup. Running VirtualBox 4.2.18. The Gentoo guest setup is pretty much done. Shared folders working, networking happy, etc. The problem I'm having is the dual-monitor setup. It always puts both monitors on a single screen, and the second monitor cloning the first.

I've tried allowing xorg to just autodetect, as well as attempting to define an xorg.conf file. The configuration file is having no effect. What I want is for each monitor to be set to a separate screen. Not a cloned screen, as is the default regardless of the xorg.conf changes I make. I'm running KDE for the window manager, and it's also not saving my display changes in the control center for my user. So after I get everything mostly fixed, save for the single screen with two monitors, I can log out and back in and I'm back to running a cloned display.

Any ideas? I've tried turning on Xinerama, to no effect. And I can't seem to find a way to use xrandr to tell my system there is a second screen, and to pop the second monitor over to it. Here is my xorg.conf:

Code: Select all

Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0"
        Screen      1  "Screen1" RightOf "Screen0"
#       InputDevice    "Mouse0" "CorePointer"
#       InputDevice    "Keyboard0" "CoreKeyboard"
#       Option         "Xinerama" "1"
EndSection

Section "Files"
        ModulePath   ...
        FontPath     ...
EndSection

Section "Module"
        Load  "glx"
EndSection

#Section "InputDevice"
#       Identifier  "Keyboard0"
#       Driver      "evdev"
#       Option      "Device" ...
#EndSection

#Section "InputDevice"
#       Identifier  "Mouse0"
#       Driver      "evdev"
#       Option      "Protocol" "auto"
#       Option      "Device" ...
#       Option      "ZAxisMapping" "4 5 6 7"
#EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option       "Primary" "true"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option       "RightOf" "Monitor0"
EndSection

#Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
#       Identifier  "Card0"
#       Driver      "vboxvideo"
#       BusID       "PCI:0:2:0"
#EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card0"
        Driver      "vboxvideo"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
#       DefaultDepth 32
        SubSection "Display"
                Viewport   0 0
                Depth     32
                Modes      "1920x1080"
#               Virtual    1920 1080
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card0"
        Monitor    "Monitor1"
#       DefaultDepth 32
        SubSection "Display"
                Viewport   0 0
                Depth     32
                Modes      "1920x1080"
#               Virtual    1920 1080
        EndSubSection
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: Win 8.1 Host, Gentoo Guest - Single Screen Issue

Post by Perryg »

Seems the issue is the guest gentoo and that might be the place to ask for help as they will know more about the actual cause/resolution.
Post Reply