Adding torrents over ssh

General support for problems installing or using Deluge
Post Reply
magwe

Adding torrents over ssh

Post by magwe »

With a running deluge session on my machine I can add a torrent to the current session by opening a shell and typing 'deluge http://my.torrent.url/fie.torrent'. However when I try to do the same over ssh I get 'GtkWarning: could not open display' (among other things) even if the command itself doesn't open a new Gtk window.

Is there any way around this?

I just want to add a torrent using ssh and running a 'wget http://url.torrent' in a directory monitored by deluge would also do the trick if there is such a thing. (A web-ui would be even better...)
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Adding torrents over ssh

Post by markybob »

magwe wrote:With a running deluge session on my machine I can add a torrent to the current session by opening a shell and typing 'deluge http://my.torrent.url/fie.torrent'. However when I try to do the same over ssh I get 'GtkWarning: could not open display' (among other things) even if the command itself doesn't open a new Gtk window.

Is there any way around this?

I just want to add a torrent using ssh and running a 'wget http://url.torrent' in a directory monitored by deluge would also do the trick if there is such a thing. (A web-ui would be even better...)
assuming the box you're sshing into has x running:
export DISPLAY=:0
deluge http://foo.torrent

and here's a webui http://forum.deluge-torrent.org/viewtopic.php?f=9&t=425
Post Reply