Hide Forgot
Description of problem: Failed to launch virt-manager as a non-root user Version-Release number of selected component (if applicable): - Build: snapshot2 (RHEL6.1-20110330.2) - 2.6.32-128.el6.x86_64 - virt-manager-0.8.6-3.el6.noarch How reproducible: always Steps to Reproduce: 1. Default install the snapshot2 build except selecting 'Desktop' and 'X window' 2 package groups 2. After finishing the installation and log in as root to the system, yum install virtualization packages including qemu-kvm, libvirt, virt-manager 3. Change to non-root user [root@localhost ~]# su - test [test@localhost ~]$ virt-manager No protocol specified Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 455, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 341, in main import gtk File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init() File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display Actual results: 3. Failed to start virt-manager Expected results: 3. Could start virt-manager Additional info: Can reproduce this bug on the 2nd host - both of them yum install qemu-kvm, libvirt, virt-manager after finishing guest installation. Cannot reproduce this bug on the 3rd host - on the 3rd host, full install all the packages including virt-manager, libvirt, qemu-kvm during installation.
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Your nonroot user can not access root's display. You'll see the same issue launching other gtk apps like system-config-firewall. Closing NOTABUG