Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with installing & running Deluge torrent on my Centos 5 (x86) . I get it from this: _

after installing, when I run deluge I get this problem:

    Traceback (most recent call last):
  File "/usr/bin/deluge", line 43, in ?
    import deluge
  File "/usr/lib/python2.4/site-packages/deluge/", line 36, in ?
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/", line 76, in ?
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/", line 64, in _init
RuntimeError: could not open display

No way root I am or user. Same thing. Python version is 2.4.3 . This is server & no X-windows installed on it.

Thanks for help.

share|improve this question

migrated from Jan 26 '10 at 21:31

This question came from our site for system and network administrators.

I just want to install deluge-core, deluge-webui, deluge-console. – NARKOZ Jan 26 '10 at 21:10
up vote 0 down vote accepted

I'd suggest updating both Python and Deluge. Deluge is now on version 1.2.0, miles ahead of I have Deluge (latest) running with Python 2.6.4 smoothly.

Not only does it appear your version is looking for Python 2.4, but it also wants to open a display. Ensure you are using proper command-line arguments for console mode as David outlined. You must first start the daemon before connecting via console. See the Deluge FAQ on the console and daemon.

share|improve this answer

Upgrade Python. It's looking for version 2.4.

Incidentally, if you have no X-windows then you'll be better off trying rtorrent - a CLI bittorrent client.

share|improve this answer
Sorry, I had a mistake. Python's version is 2.4.3. Thank's, but I need only deluge or ktorrent. – NARKOZ Jan 27 '10 at 20:15

Assuming you tried to start Deluge like this:


For a command line based interface you can do this:

deluge --ui null


deluge --ui console

Or for a web-based interface:

deluge --ui web

For more info, see Deluge's FAQ on the topic

share|improve this answer
Same thing. Even deluge --version displays that error message. Thanks for reply. – NARKOZ Jan 26 '10 at 21:23
The readme seems to provide some different options. It may be that deluge was linked to deluge-gtk by the RPM. You can try the following options: deluge-console, deluge-web. Or to just start the daemon, deluged. You can look at the README for further info. – David Antaramian Jan 26 '10 at 23:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.