Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[SOLVED] KVM - Error connecting to graphical console (SpiceClientGtk)

$
0
0
Hi All,

I have a new install of Ubuntu Server 20.04.2 LTS setup and running KVM.

Everything *seems* to be fine with the server.

I have then installed 'virt-manager' on my Ubuntu 18.04 LTS Desktop machine, and successfully connected to the KVM Server.

I have tried to create a new VM (Debian Stretch) from the Virtual Machine Manager (virt-manager), but each time I am getting the same issue which is that I cannot see the VM Console.


The error I am getting is:
Quote:

Error connecting to graphical console:
Error opening Spice console, SpiceClientGtk missing
I have checked that 'SpiceClientGtk' is installed on the Ubuntu Server by entering:

Code:

sudo apt install gir1.2-spiceclientgtk-3.0 --dry-run
which returns:

Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
gir1.2-spiceclientgtk-3.0 is already the newest version (0.37-2fakesync1).
gir1.2-spiceclientgtk-3.0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

so I believe that is correctly installed. For what it was worth, I also installed it on my Desktop, but that made no difference either.



I also tried connecting using 'virt-viewer'.

I entered this on my desktop:

Code:

virt-viewer --connect qemu+ssh://username@172.25.25.3/system VMName
I don't have keys setup (yet) so I am expecting to get asked for the password, which I am (a number of times, but apparently that is expected). The 'virt-viewer' application opens, and sits with the message:

Quote:

Connected to graphic server

The VM is definitely running (at least according to the host):

Code:

$ virsh list

 Id  Name        State
----------------------------------------
 1    VMName  running


Any suggestions on what to try or do next?

Thanks,

Alan.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>