Opened 18 years ago
Closed 17 years ago
#261 closed defect (fixed)
VirtualBox starts on an incorrect X-Server -> fixed in SVN/1.5.0
Reported by: | Technologov | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 1.3.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
Platform: openSUSE Linux 10.2, VBox 1.3.8
When I have two X-servers running, VirtualBox Manager starts where I ask it to start, but the VMs are always started on the first X server (that is: display :0), even if they are launched from second X-server by VirtualBox Manager.
to reproduce:
- KDE Start Menu->Start New Session (or startx -- :1) to start a 2nd X-Server
- Try running some VBox VMs on the 2nd X-Server.
Change History (10)
comment:1 by , 18 years ago
follow-up: 3 comment:2 by , 18 years ago
I confirm this bug too.
The slight difference is that i run only ONE xserver serving two SCREENs. $DISPLAY is ignored too. VM is started on the wrong SCREEN. xorg v7.2.0 on gentoo linux 2.6.21 + gentoo-patches + suspend2 patch
Example: VM-Manager runs p.e. on :0.1 VM is started on :0.0
comment:3 by , 18 years ago
Replying to xeyes:
I confirm this bug too.
The slight difference is that i run only ONE xserver serving two SCREENs. $DISPLAY is ignored too. VM is started on the wrong SCREEN. xorg v7.2.0 on gentoo linux 2.6.21 + gentoo-patches + suspend2 patch
Example: VM-Manager runs p.e. on :0.1 VM is started on :0.0
Sorry, forgot to tell that i'm using VBox 1.4.0
comment:5 by , 18 years ago
Actually the VM is started at the X server the VBoxSVC server was started from. Try the following:
- make sure that no instance of VBoxSVC is running
- start the VBoxSVC server manually from the X server you want the VM running on
LD_LIBRARY_PATH=/opt/VirtualBox-1.4.0 VBoxSVC
- start the VirtualBox GUI and launch a VM
At least this works here on Debian/sid with Xorg 7.2.
comment:6 by , 18 years ago
Well I don't know what it is, but VBoxSVC looks like a components that talks between VirtualBox and vboxdrv. Is this correct ? Why is it needed at all ?
But you are correct, yes, after manually starting VBoxSVC on a different X terminal, the VMs appeared there. But it's just a workaround, not a fix.
My system: openSUSE 10.2.
The correct behavior would be to start VMs on the same X terminal, from which the GUI "launched" them. If VBoxSVC is a daemon, it should be accessible from everywhere...
Maybe a GUI should pass it a $DISPLAY parameter, when it launches a VM ?
comment:7 by , 18 years ago
I'm fully aware that this is only a workaround and we will fix this soon or later. The VBoxSVC server is needed for synchronized access to ressources and the VM states. For instance, you can start several concurrent instances of the VirtualBox GUI all showing the same correct state of your VMs.
comment:9 by , 17 years ago
Summary: | VirtualBox starts on an incorrect X-Server → VirtualBox starts on an incorrect X-Server -> fixed in SVN/1.5.0 |
---|
comment:10 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Bug verified with VBox 1.4.0 on openSUSE Linux 10.3 alpha4.
That is: VBox should use the Linux standard: $DISPLAY parameter to see on which X-Server it must start.
This bug basically prevents execution of VBox on remote Linux machines via X or NX protocols.
-Alexey "Technologov"