Description of problem: After activating VNC on a VM (within virt-manager) the VM does not boot anymore. Version-Release number of selected component (if applicable): virt-manager-0.8.3-3.fc13.noarch How reproducible: 100% (trying twice) Steps to Reproduce: 1. choose a VM 2. go to 'show virtual hardware details' 3. 'Add Hardware' 4. select 'Graphics' -> Forward 5. Check "Listen on all public network interfaces" 6. enter a passwort (or not) -> forward 7. finish 8. try to start vitual machine Actual results: Error output: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 799, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 1256, in startup self._backend.create() File "/usr/lib64/python2.6/site-packages/libvirt.py", line 317, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 Could not initialize SDL - exiting syslog/messages when trying to start VM: Jun 4 16:22:42 <hostname> kernel: device vnet0 entered promiscuous mode Jun 4 16:22:42 <hostname> kernel: virbr0: topology change detected, propagating Jun 4 16:22:42 <hostname> kernel: virbr0: port 1(vnet0) entering forwarding state Jun 4 16:22:42 <hostname> NetworkManager[1445]: <warn> /sys/devices/virtual/net/vnet0: couldn't determine device driver; ignoring... Jun 4 16:22:42 <hostname> kernel: virbr0: port 1(vnet0) entering disabled state Jun 4 16:22:42 <hostname> kernel: device vnet0 left promiscuous mode Jun 4 16:22:42 <hostname> kernel: virbr0: port 1(vnet0) entering disabled state Jun 4 16:22:43 <hostname> libvirtd: 16:22:43.064: error : qemudReadLogOutput:1416 : internal error Process exited while reading console log output: char device redirected to /dev/pts/1#012Could not initialize SDL - exiting#012 Expected results: VM should boot up. Additional info: Guest OS was a Fedora 13 but I guess that doesn't matter.
Can you provide ~/.virt-manager/virt-manager.log and sudo virsh dumpxml $VMNAME?
Created attachment 422854 [details] virt-manager.log
Created attachment 422856 [details] Output of 'virsh dumpxml $VMNAME'
Ah okay, the issue is that there are multiple VNC devices specified in your XML, which is confusing libvirt/qemu. You can fix this in virt-manager: keep selecting the VNC graphics device and clicking 'Remove' until there are none in the device list, then re-add a VNC device as you had done above. The issues here are: - virt-manager should show all attached graphics devices (fixed in updates-testing) - virt-manager should not allow attaching multiple graphics devices - libvirt should throw an explicit error if it can't handle the graphics config, not just fall back to SDL
Multiple graphics device listing is fixed upstream now, moving to post.
virt-manager-0.8.5-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/virt-manager-0.8.5-1.fc13
virt-manager-0.8.5-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update virt-manager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/virt-manager-0.8.5-1.fc13
virt-manager-0.8.5-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update virt-manager'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/virt-manager-0.8.5-1.fc13
virt-manager-0.8.5-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.