How do I launch a VM to a Specific XServer?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have been playing around with KVM QEMU on my Linux Mint KDE machine for a while. However, I have heard it is possible to run VMs in separate XServers, and I thought it would be cool to just press Ctrl+Alt+F# to get to my other VM.ÃÂ
Is it possible? Are there any drawbacks to doing this?
I am currently using KVM QEMU with Virt-Manager. I haven't really done much to run VMs from the terminal.
Also, I also still consider myself a Linux newbie, so the more explanation, the better.
linux-mint kvm qemu x-server virt-manager
add a comment |Â
up vote
0
down vote
favorite
I have been playing around with KVM QEMU on my Linux Mint KDE machine for a while. However, I have heard it is possible to run VMs in separate XServers, and I thought it would be cool to just press Ctrl+Alt+F# to get to my other VM.ÃÂ
Is it possible? Are there any drawbacks to doing this?
I am currently using KVM QEMU with Virt-Manager. I haven't really done much to run VMs from the terminal.
Also, I also still consider myself a Linux newbie, so the more explanation, the better.
linux-mint kvm qemu x-server virt-manager
1
It's not that the VM is run on a separate X server, it's that the VM is attached to a discrete VT.
â Ignacio Vazquez-Abrams
Apr 29 at 3:26
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have been playing around with KVM QEMU on my Linux Mint KDE machine for a while. However, I have heard it is possible to run VMs in separate XServers, and I thought it would be cool to just press Ctrl+Alt+F# to get to my other VM.ÃÂ
Is it possible? Are there any drawbacks to doing this?
I am currently using KVM QEMU with Virt-Manager. I haven't really done much to run VMs from the terminal.
Also, I also still consider myself a Linux newbie, so the more explanation, the better.
linux-mint kvm qemu x-server virt-manager
I have been playing around with KVM QEMU on my Linux Mint KDE machine for a while. However, I have heard it is possible to run VMs in separate XServers, and I thought it would be cool to just press Ctrl+Alt+F# to get to my other VM.ÃÂ
Is it possible? Are there any drawbacks to doing this?
I am currently using KVM QEMU with Virt-Manager. I haven't really done much to run VMs from the terminal.
Also, I also still consider myself a Linux newbie, so the more explanation, the better.
linux-mint kvm qemu x-server virt-manager
edited Apr 29 at 4:22
G-Man
11.5k82656
11.5k82656
asked Apr 29 at 2:56
cmdrironman
1
1
1
It's not that the VM is run on a separate X server, it's that the VM is attached to a discrete VT.
â Ignacio Vazquez-Abrams
Apr 29 at 3:26
add a comment |Â
1
It's not that the VM is run on a separate X server, it's that the VM is attached to a discrete VT.
â Ignacio Vazquez-Abrams
Apr 29 at 3:26
1
1
It's not that the VM is run on a separate X server, it's that the VM is attached to a discrete VT.
â Ignacio Vazquez-Abrams
Apr 29 at 3:26
It's not that the VM is run on a separate X server, it's that the VM is attached to a discrete VT.
â Ignacio Vazquez-Abrams
Apr 29 at 3:26
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Switch to another tty n
with Ctrl+Alt+Fn
and run
xinit /usr/bin/yourcommand -- :2
Replace :1
with a free display number. :0
is mostly the number of your first X server.
Be aware that /usr/bin/yourcommand
must contain the full path to your QEMU command; otherwise you will have an annoying xterm window on your display.
Depending on your system you may also need to specify the vt number; If you are on tty2, the command is:
xinit /usr/bin/yourcommand -- :2 vt2
Be aware that only one (the visible) X server at a time is active. The other one is 'frozen' until you switch back to it.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Switch to another tty n
with Ctrl+Alt+Fn
and run
xinit /usr/bin/yourcommand -- :2
Replace :1
with a free display number. :0
is mostly the number of your first X server.
Be aware that /usr/bin/yourcommand
must contain the full path to your QEMU command; otherwise you will have an annoying xterm window on your display.
Depending on your system you may also need to specify the vt number; If you are on tty2, the command is:
xinit /usr/bin/yourcommand -- :2 vt2
Be aware that only one (the visible) X server at a time is active. The other one is 'frozen' until you switch back to it.
add a comment |Â
up vote
0
down vote
Switch to another tty n
with Ctrl+Alt+Fn
and run
xinit /usr/bin/yourcommand -- :2
Replace :1
with a free display number. :0
is mostly the number of your first X server.
Be aware that /usr/bin/yourcommand
must contain the full path to your QEMU command; otherwise you will have an annoying xterm window on your display.
Depending on your system you may also need to specify the vt number; If you are on tty2, the command is:
xinit /usr/bin/yourcommand -- :2 vt2
Be aware that only one (the visible) X server at a time is active. The other one is 'frozen' until you switch back to it.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Switch to another tty n
with Ctrl+Alt+Fn
and run
xinit /usr/bin/yourcommand -- :2
Replace :1
with a free display number. :0
is mostly the number of your first X server.
Be aware that /usr/bin/yourcommand
must contain the full path to your QEMU command; otherwise you will have an annoying xterm window on your display.
Depending on your system you may also need to specify the vt number; If you are on tty2, the command is:
xinit /usr/bin/yourcommand -- :2 vt2
Be aware that only one (the visible) X server at a time is active. The other one is 'frozen' until you switch back to it.
Switch to another tty n
with Ctrl+Alt+Fn
and run
xinit /usr/bin/yourcommand -- :2
Replace :1
with a free display number. :0
is mostly the number of your first X server.
Be aware that /usr/bin/yourcommand
must contain the full path to your QEMU command; otherwise you will have an annoying xterm window on your display.
Depending on your system you may also need to specify the vt number; If you are on tty2, the command is:
xinit /usr/bin/yourcommand -- :2 vt2
Be aware that only one (the visible) X server at a time is active. The other one is 'frozen' until you switch back to it.
answered May 20 at 22:58
mviereck
1,0971310
1,0971310
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f440669%2fhow-do-i-launch-a-vm-to-a-specific-xserver%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
It's not that the VM is run on a separate X server, it's that the VM is attached to a discrete VT.
â Ignacio Vazquez-Abrams
Apr 29 at 3:26