[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: best way to reach QEMU VM desktop on headless GuixSD server
From: |
Marius Bakke |
Subject: |
Re: best way to reach QEMU VM desktop on headless GuixSD server |
Date: |
Sat, 27 Jan 2018 17:03:26 +0100 |
User-agent: |
Notmuch/0.26 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) |
George myglc2 Clemmer <address@hidden> writes:
> It appears that there are 3 ways to reach a QEMU VM desktop on headless
> GuixSD servers: X11, spice, and maybe VNC. Is that right?
>
> Can anyone comment on which has the best performance.
Spice was designed to be a better protocol than VNC for accessing
virtual machine consoles. I haven't done any benchmarks though.
It requires a rather involved QEMU command line[0]:
[qemu] -spice addr=127.0.0.1,port=3001,disable-ticketing -soundhw hda \
-device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent
\
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
Then you can use virt-viewer or "spicy" from spice-gtk along with SSH
forwarding to access 127.0.0.1:3001 on the remote machine. Setting up
encryption or authentication requires a few more arguments if you want
to expose this on a network-facing interface directly.
[0] https://www.spice-space.org/spice-user-manual.html
signature.asc
Description: PGP signature