You are not logged in.

#1 2017-12-21 10:56:29

sayonalion
Member
Registered: 2016-10-25
Posts: 46

Start a VirtualBox VM on another TTY

Hi.

How can I start a VirtualBox virtual machine in a separate X session on another TTY?

Thanks.

Offline

#2 2017-12-21 12:27:33

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: Start a VirtualBox VM on another TTY


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2017-12-21 13:19:11

sayonalion
Member
Registered: 2016-10-25
Posts: 46

Re: Start a VirtualBox VM on another TTY

I can run different programs in separate sessions. For example, for Firefox I run

startx /usr/lib/firefox/firefox -- :2 vt4

That way the browser starts successfully at a display 2 and TTY 4.

However, when I run

startx /usr/bin/vboxmanage startvm VM1 -- :2 vt4

The session is started, but it is finished immediately after start. I get the following output:

<...>
(==) Log file: "/var/log/Xorg.2.log", Time: Thu Dec 21 15:52:38 2017
<...>
Waiting for VM "VM1" to power on...
VM "VM1" has been successfully started.
xinit: connection to X server lost
<...>

Despite of this failure, I haven't got any errors in Xorg.2.log.

What can I do about this?

Offline

Board footer

Powered by FluxBB