virt-viewer crashes with latest package (5.0-7.el7)

Latest response

I just installed the latest virt-viewer from yum repository but module is not executed properly.

=================================================================================================================================================
 Package                           Arch                         Version                           Repository                                Size
=================================================================================================================================================
Installing:
 virt-viewer                       x86_64                       5.0-7.el7                         rhel-7-server-rpms                       389 k
Updating for dependencies:
 spice-glib                        x86_64                       0.33-6.el7                        rhel-7-server-rpms                       376 k
 spice-gtk3                        x86_64                       0.33-6.el7                        rhel-7-server-rpms                        83 k

As a result , virt-viewer does not start up properly.

[root@host ~]# virt-viewer -h
virt-viewer: symbol lookup error: /lib64/libspice-client-gtk-3.0.so.5: undefined symbol: gdk_keymap_get_scroll_lock_state

However, packages from rhel-server-7.3-x86_64-dvd.iso works properly.

 spice-glib                                 x86_64                        0.31-6.el7                            dvd                        361 k
 spice-gtk3                                 x86_64                        0.31-6.el7                            dvd                         54 k
 virt-viewer                           x86_64                           2.0-12.el7                           dvd                           344 k

virt-viwer command is below.

[root@host ~]# virt-viewer --version
virt-viewer version 2.0-12.el7

Responses

I had the same problem and I resolved with your suggestion but, by downgrade of packages:

$ sudo yum downgrade virt-viewer.x86_64 spice-gtk3.x86_64 spice-glib.x86_64

Ok, and what about this message in RHV4.2? "Client from address "xx.xx.xx.xx" is using version 3 of the API, which has been deprecated since version 4.0 of the engine, and will no longer be supported starting with version 4.3."

Apparently virt-viewer 5 still fails to run properly. Supposedly updating gtk3 fixes this, but then I still have this issue: "undefined symbol: gst_buffer_get_video_meta"

You have hit a bug Red Hat Bugzilla – Bug 1490313

spice-gtk 0.33-6 was built with gtk3-3.22.10-1.el7 in the buildroot, and yes, some recent gtk3 is going to be needed for this symbol (it was introduced in gtk+ 3.18)

Hi there, thanks. I just updated the whole distro it actually all works. The dependencies aren't really ok, but when you don't just perform selective updates you are good to go.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.