[libvirt-users] virt-manager 0.9.0-r2 gentoo, no starting

Christian Parpart trapni at gentoo.org
Wed Jan 18 09:15:38 UTC 2012


On Wed, Jan 18, 2012 at 6:01 AM, Marko Weber <weber at zackbummfertig.de> wrote:
>
> getting this when starting virt-manager
>
> databunka src # virt-manager
> Traceback (most recent call last):
>  File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
>    main()
>  File "/usr/share/virt-manager/virt-manager.py", line 285, in main
>    raise RuntimeError(_("Unable to initialize GTK: %s") % gtk_error)
> RuntimeError: Kann GTK nicht initialisieren: could not open display
>
> i already remerged gtk

Hi Marko,

make sure you have the DISPLAY variable exported to root as I asume you've been
logged in as user but then dropped privileges up to root and maybe your user
environment wasn't inherited from within your X session.

# echo $DISPLAY
:0

So long,
Christian Parpart.




More information about the libvirt-users mailing list