Marko Weber
2012-Jan-18 05:01 UTC
[libvirt-users] virt-manager 0.9.0-r2 gentoo, no starting
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 marko
Nicolas Sebrecht
2012-Jan-18 09:08 UTC
[libvirt-users] Re: virt-manager 0.9.0-r2 gentoo, no starting
The 18/01/12, Marko Weber 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 gtkDo you connect to the system with ssh? -- Nicolas Sebrecht
Christian Parpart
2012-Jan-18 09:15 UTC
[libvirt-users] virt-manager 0.9.0-r2 gentoo, no starting
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 gtkHi 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.