Page 1 of 1

Independent screens?

Posted: 27. Jun 2018, 15:50
by Ruby
In Linux virtual machine, I have three monitors working in Virtual Box using xrandr. This creates a single "screen0" which is spread across all three monitors.

My problem is I have a legacy application that uses independent screens (AKA: display:0.0, display:0.1, and display:0.2) to locate and display windows on independent screens (such as screen0, screen1, screen2).

Is it possible to create independent screens in this manner using VirtualBox? I have tried several methods in xorg.conf, but if I try to create independent screens with the virtualbox driver it tends to crash.

I have also thought about if it might be possible to "fool" the legacy software and somehow cause a display:0.1 to exist at display:0.0 with an offset of 1920 (to put it on the second monitor.)

Hopefully that makes sense. Has anyone created display:0.1 inside a VirtualBox instance?

Re: Independent screens?

Posted: 27. Jun 2018, 16:04
by mpack
VirtualBox simulates the hardware of a PC. At a hardware level your multiple display adapters are inherently independant of each other. It is an operating system which decides whether to treat 3 display devices as separate or as a single display tiled in some fashion.

Re: Independent screens?

Posted: 27. Jun 2018, 16:29
by Ruby
How can I configure Linux to treat 3 display devices as separate instead of single using the VirtualBox hardware emulation? That is the crux of the question.

Re: Independent screens?

Posted: 27. Jun 2018, 16:51
by mpack
It has nothing to do with the VirtualBox hardware emulation. You have a question about how to use Linux, and the answer will be the same whether or not the hardware is virtual.

As to that answer: I have no idea, as I don't use Linux.