Page 1 of 1

Adding torrents over ssh

Posted: Sun Sep 16, 2007 12:52 pm
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...)

Re: Adding torrents over ssh

Posted: Sun Sep 16, 2007 7:44 pm
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