[Pkg-libvirt-maintainers] Bug#684725: virt-viewer cannot connect to remote VMs

Uwe Storbeck uwe at ibr.ch
Mon Aug 13 13:07:43 UTC 2012


Package: virt-viewer
Version: 0.5.3-1
Severity: important

Dear Maintainer,

after upgrade from squeeze to wheezy virt-viewer cannot connect
to remote VMs anymore:

$ virt-viewer -v -c qemu+ssh://vir/system centos
Opening connection to libvirt with URI qemu+ssh://vir/system
Guest centos is running, determining display
Guest centos has a vnc display
Opening indirect TCP connection to display at vir:5901
Setting up SSH tunnel via vir
Guest centos display has disconnected, shutting down$ 


Installing the virt-viewer locally on the VM host and starting it
there works:

$ virt-viewer -v -c qemu:///system centos
Opening connection to libvirt with URI qemu:///system
Guest centos is running, determining display
Guest centos has a vnc display
Opening direct TCP connection to display at localhost:5901:-1

(virt-viewer:24900): Gtk-WARNING **: Could not find the icon 'preferences-desktop-keyboard-shortcuts'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases


Remote access by forwarding the VNC port manually with ssh and using
a VNC viewer also works:

$ ssh -R 5901:localhost:5901 vir
$ xvncviewer localhost:1

VNC Viewer Free Edition 4.1.1 for X - built Mar 10 2010 21:40:13
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Mon Aug 13 15:04:51 2012
 CConn:       connected to host localhost port 5901
 CConnection: Server supports RFB protocol version 3.8
 CConnection: Using RFB protocol version 3.8
 TXImage:     Using default colormap and visual, TrueColor, depth 24.
 CConn:       Using pixel format depth 6 (8bpp) rgb222
 CConn:       Using ZRLE encoding


Regards,

Uwe


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (1750, 'testing'), (650, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virt-viewer depends on:
ii  libc6               2.13-33
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.32.3-1
ii  libgtk-3-0          3.4.2-2
ii  libgtk-vnc-2.0-0    0.5.0-3
ii  libvirt0            0.9.12-3
ii  libxml2             2.8.0+dfsg1-5

virt-viewer recommends no packages.

Versions of packages virt-viewer suggests:
ii  netcat-openbsd [netcat]      1.105-7
ii  netcat-traditional [netcat]  1.10-40

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list