
Hi Christian, databunka ~ # echo $DISPLAY localhost:10.0 Thats shown when i do echo $DISPLAY on the machine. when i connect from a remote system with ' ssh -Y root@....' the virt-manager pop up like it should. the problem was only when i sit infront of the machine, logged in as user 'root'. my thought was that something is wrong with gtk or so , because of the error message.
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
maybe its the X11DisplayOffset 10 in the sshd.config ? marko Am 18.01.2012 10:15, schrieb Christian Parpart:
On Wed, Jan 18, 2012 at 6:01 AM, Marko Weber <weber@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.