From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87po5vxp9t.fsf@fastmail.com> References: <86607yswqr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efSx3-0004Ku-Il for help-guix@gnu.org; Sat, 27 Jan 2018 11:03:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efSx0-00079q-Fa for help-guix@gnu.org; Sat, 27 Jan 2018 11:03:33 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:60961) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1efSx0-00079F-9C for help-guix@gnu.org; Sat, 27 Jan 2018 11:03:30 -0500 In-Reply-To: <86607yswqr.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: George myglc2 Clemmer , help-guix --=-=-= Content-Type: text/plain George myglc2 Clemmer 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlpsos4ACgkQoqBt8qM6 VPqsiQf9EYrD18On6ErzEMT74x5bnfnbtMSLer1vCVauL0QP3lj3G+47S+mvbkQG Ds4D7ZxSyvHzkK0jcehezm+WXz99S0x9erKlmz6aNDlcqeAZUgGk6JBZV13mR4l+ EQJDEQluvh0WJAqcBUTqubKLUy8Z9msyJ0kAE6Y9ZwwvWpStrkObzpNaPcL4ocpl Nz8UqbeFmClkJxclcLZfCU9wpVSQIkW0Ue2HuvA5oY7TKE5l59QSkNRMOk/2AzcQ kRKfexY+2froRcpCIFxOdD/xhrH5LOlZtArA78qOvKGX0jMhvGWDXp+CIoOG4v4h fR6tvs199ZDZ1Zw7E8/XAwFl8E980w== =iTSY -----END PGP SIGNATURE----- --=-=-=--