This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KTorrent on a server & GUI on desktop

Tags: None
(comma "," separated)
User avatar
hook
Registered Member
Posts
205
Karma
0
OS
Since my laptop is not up and running 24/7 and I'm a nice guy who likes to seed, I'm thinking of running torrents on a PlugComputer or other similar low-power server.

So I wonder: would it be possible to run the KTorrent back-end (and webgui) on a headless server and the fully featured front-end on a KDE desktop?

On a related notice, would it be possible for KTorrent to handle download some torrents to the server (e.g. music, ISOs etc.) and some (e.g. movies) to the laptop?

If that was possible IMHO it'd be the most awesomest bittorrent program ever! :D


It's time to prod some serious buttock! ;)
George
Moderator
Posts
5421
Karma
1
There are no plans for this at the moment.

A server application could be constructed with libktorrent, provided some modifications where made so that no X11 stuff is called. And then you would still have to make a webinterface for it (the webinterface plugin is built for ktorrent), and if you want the ktorrent GUI to work with this daemon, that would be a lot of work.
George
Moderator
Posts
5421
Karma
1
On a related notice, would it be possible for KTorrent to handle download some torrents to the server (e.g. music, ISOs etc.) and some (e.g. movies) to the laptop?


Using NFS or samba this is not a problem.
User avatar
hook
Registered Member
Posts
205
Karma
0
OS
George wrote:There are no plans for this at the moment.

A server application could be constructed with libktorrent, provided some modifications where made so that no X11 stuff is called. And then you would still have to make a webinterface for it (the webinterface plugin is built for ktorrent), and if you want the ktorrent GUI to work with this daemon, that would be a lot of work.


Hmmm, that's too bad.

Would a viable solution then be if I ran KTorrent on the laptop and set it so it would save to the headless server's disk e.g. via ownCloud's webDAV or NFS. And on that server also run some CLI torrent at the same time.

So I could use KTorrent's awesomeness and scripting for downloading and the CLI mainly for seeding.

Would KTorrent and the other cient clash if they handled the same files in the directories?


It's time to prod some serious buttock! ;)
George
Moderator
Posts
5421
Karma
1
They would most definitely clash, I would not recommend it.
User avatar
hook
Registered Member
Posts
205
Karma
0
OS
George wrote:They would most definitely clash, I would not recommend it.


:/ any better ideas?


It's time to prod some serious buttock! ;)
ankou
Registered Member
Posts
2
Karma
0
I'm interested too. is it possible to get some suitable doc about libktorrent API ?

i've tried running doxygen over its directory but the output is ... unusable :roll:
ankou
Registered Member
Posts
2
Karma
0
George wrote:A server application could be constructed with libktorrent, provided some modifications where made so that no X11 stuff is called. And then you would still have to make a webinterface for it (the webinterface plugin is built for ktorrent), and if you want the ktorrent GUI to work with this daemon, that would be a lot of work.


This can be done extracting GUI stuff out of libktorrent to ktorrent or another new lib.
Please don't be offended, but GUI stuff in a library (especially when swindled among all the non-GUI stuff) is a nonsense to me.
Though I understand that several widgets need to be in a library to be shared and used by plugins (as a plugin of course can't link to an executable), these widgets should have been stored into a separated library.
George
Moderator
Posts
5421
Karma
1
ankou wrote:
George wrote:A server application could be constructed with libktorrent, provided some modifications where made so that no X11 stuff is called. And then you would still have to make a webinterface for it (the webinterface plugin is built for ktorrent), and if you want the ktorrent GUI to work with this daemon, that would be a lot of work.


This can be done extracting GUI stuff out of libktorrent to ktorrent or another new lib.
Please don't be offended, but GUI stuff in a library (especially when swindled among all the non-GUI stuff) is a nonsense to me.
Though I understand that several widgets need to be in a library to be shared and used by plugins (as a plugin of course can't link to an executable), these widgets should have been stored into a separated library.


libktorrent does not contain any GUI stuff, it's mostly the use of KIO, which I'm not sure about how it will work on a headless server. It could work without a hitch, but seeing that libkio is linked to libQtGui and libX11, it will probably need an X server.
Alexander9871
Registered Member
Posts
2
Karma
0
I like this and is easy to configure and handle and does not cause much loads). Type and do as below:
Add port 5901 for VNCserver to work, and later on can add w/e ports you want.
Alexander9871
Registered Member
Posts
2
Karma
0
I like this and is easy to configure and handle and does not cause much loads). Type and do as below:
Add port 5901 for VNCserver to work, and later on can add w/e ports you want.
Desktop power


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]