virt-viewer does not connect to libvirtd: result: no console access to running VMs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager |
New
|
Undecided
|
Unassigned | ||
virt-viewer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
on a client: virt-viewer -c $server vm &
The virt-viewer window opens, then immediately closes again. Trying the same with virt-manager: no console, but message: "Error: viewer connection to hypervisor host got refused or disconnected!". Since this ran before I assume i a bug.
Server:
ii libvirt-bin 0.9.8-2ubuntu17 programs for the libvirt library
ii libvirt0 0.9.8-2ubuntu17 library for interfacing with different virtualizat
Client:
ii virt-manager 0.9.0-1ubuntu3 desktop application for managing virtual machines
ii virt-viewer 0.4.1-1ubuntu2 Displaying the graphical console of a virtual machine
Connections to a debian host are working. Only those to Ubuntu precise are not working.
$ ll /var/run/libvirt
total 0
drwxr-xr-x 4 root root 120 May 5 20:57 ./
drwxr-xr-x 36 root root 1.4K May 6 00:46 ../
drwxr-xr-x 2 root root 40 May 5 20:57 qemu/
drwxr-xr-x 2 root root 40 May 5 20:57 uml-guest/
srwxrwx--- 1 root libvirtd 0 May 5 20:57 libvirt-sock=
srwxrwxrwx 1 root libvirtd 0 May 5 20:57 libvirt-sock-ro=
Socket is there and has neccessary rights set. Users are in group libvirtd. It does not work for users or root.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: virt-viewer (not installed)
Uname: Linux 3.2.16 x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sun May 6 03:37:43 2012
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
TERM=screen-bce
SHELL=/bin/bash
PATH=(custom, user)
LANG=de_DE.UTF-8
SourcePackage: virt-viewer
UpgradeStatus: Upgraded to precise on 2012-04-25 (10 days ago)
qemu+ssh: //root@ server/ system does not work, //server/ system does not work,
qemu+tcp:
Doesn't work for local or remote connections. Enabling VNC via tcp without encription: same. With encription same again.