Independent screens?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Ruby
Posts: 2
Joined: 27. Jun 2018, 15:42

Independent screens?

Post 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?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Independent screens?

Post 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.
Ruby
Posts: 2
Joined: 27. Jun 2018, 15:42

Re: Independent screens?

Post 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.
Last edited by socratis on 27. Jun 2018, 23:44, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Independent screens?

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