Multiple display configuration with separate X screen

Discussions about using Linux guests in VirtualBox.
Post Reply
FABIOB
Posts: 1
Joined: 13. Feb 2024, 19:28

Multiple display configuration with separate X screen

Post by FABIOB »

Hi, I'm trying to setup a multiscreen configuration with separate X screens on linux Guest.

My setup is the following :
- Windows 11 host
- Linux Red Hat 8.2 guest VM configured with 2 monitors.

My xorg.conf is:

Section "ServerLayout"
Identifier "MainLayout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" rightOf "Screen0"
EndSection

Section "Monitor"
Identifier "Virtual1"
EndSection

Section "Monitor"
Identifier "Virtual2"
EndSection

Section "Device"
Identifier "Card0"
Driver "vmware"
BusID "PCI:0:2:0"
EndSection

Section "Device"
Identifier "Card1"
Driver "vmware"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Virtual1"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Virtual2"
EndSection


2 screens show up as one big workspace, similar to what Xinerama does, but I need to have separate screens (:0.0, :0.1).

Has anyone tried to do a similar setup?
Post Reply