Use virt-viewer from OSX to connect to remote KVM on Centos 7

Here a simple howto to prepare the connection:

  • Install MacPorts
  • Insrall XQuartz
  • Install virt-viewer
    # sudo port install virt-viewer
  • Create SSH id on OSX (used for passwordless login)
    # ssh-keygen
  • Then copy this key to your remote server (~/.ssh/id_XXX.pub)
    # ssh-copy-id root@server.machine

Now you can connect with the following URL:

# virt-viewer -c qemu+ssh://root@server.machine/system?socket=/var/run/libvirt/libvirt-sock

Fedora flickering in virtualbox

The screen flickering is wayland related, so you need to use Xorg as window manager:

  1. Open /etc/gdm/custom.conf into a text editor
  2. Uncomment WaylandEnable, if it is commented out, and ensure it is set to false
  3. Add DefaultSession=gnome=xorg.desktop to the daemon section
  4. Restart the machine.

source: https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-fix-flickering-in-fedora-on-virtualbox/