Page 1 of 1

Fails to start GTK/GUI

Posted: Wed May 30, 2007 7:01 am
by webaake
Hi!

Just compiled Deluge succesfully on Ubuntu 7.04 with all libraries. But when trying to start Deluge from terminal I get this;

/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:69: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
File "/usr/bin/deluge", line 54, in <module>
bus = dbus.SessionBus()
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 669, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 293, in __new__
mainloop=mainloop)
dbus.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute dbus-launch to autolaunch D-Bus session

What's wrong? Should I enclose some more info?

Regards,

firstime user, sweden

Re: Fails to start GTK/GUI

Posted: Wed May 30, 2007 6:03 pm
by markybob
you werent trying to run as root, were you?

Re: Fails to start GTK/GUI

Posted: Fri Jun 01, 2007 1:48 pm
by bejelith
markybob wrote:you werent trying to run as root, were you?
i started it by root... no problems

dont starting flame! it was just a test...

webaake wrote:/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:69: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
do

Code: Select all

echo $DISPLAY
and post the answer

Re: Fails to start GTK/GUI

Posted: Fri Jun 01, 2007 7:27 pm
by webaake
Sorry for the late answer, but a reboot made it visible in the Programs menu (internet apps). So I think a reboot of x-system would have solved the problem.

And no I wasn't root, but sudo. Maybe that was the problem?


cherio,

Ake, Sweden
PS Latest SVN 460 runs superfine!

Re: Fails to start GTK/GUI

Posted: Fri Jun 01, 2007 8:22 pm
by markybob
webaake wrote:Sorry for the late answer, but a reboot made it visible in the Programs menu (internet apps). So I think a reboot of x-system would have solved the problem.

And no I wasn't root, but sudo. Maybe that was the problem?


cherio,

Ake, Sweden
PS Latest SVN 460 runs superfine!
yes, sudo and running as root as pretty much the same thing. you really shouldnt run something like a bittorrent client as root...it's just asking for trouble :) glad you solved your problems