This is forwarded from https://launchpad.net/bugs/842317. With virt-viewer 0.2.1 and gtk-vnc 0.4.3 on Ubuntu 11.04, after launching a VM and connecting with virt-viewer, the name of the VM would be in the title bar (eg 'qatest-i386 - Virt Viewer'). After upgrading to virt-viewer 0.4.1 (still gtk-vnc 0.4.3) on Ubuntu 11.10, the title of the virt-viewer window is simply 'Virt Viewer'. This was tested and confirmed as a problem in both Unity and Xfce.
Fixed upstream with this patch: commit 46cf6410c11dc8369dcf74283656f4bb0e14be8a Author: Daniel P. Berrange <berrange> Date: Fri Sep 16 10:57:53 2011 +0100 Fix setting of window title with domain name The patch also ensures that with multi-headed SPICE displays each window gets the display number included in the title.
Thanks! It works great. :)