[Linux enhancement] Multi-user support for qBittorrent

Bug #245061 reported by MarcRandolph on 2008-07-03
Affects Status Importance Assigned to Milestone
Fix Released
Christophe Dumez

Bug Description

If two users on the same machine happen to want to run a bit torrent, is it true that they both can't use qBittorrent?

1. Have user1 launch qBittorrent
2. Have user2 launch qBittorrent


user1 can successfully use qBittorrent.
user2 gets an error message: "Another qBittorrent instance is already running..."

Is this the designed behavior? Any way to work around it? Any plans on fixing this in a near future version?
I can imagine that the port number that the torrent client is using might need to be unique to keep them from stepping on each other, but otherwise it seems like this should be doable and shouldn't require a "server app" (which is how TorrentVolve runs maybe?).

A common torrent "server app" for multiple seems rife with potential security issues.

Christophe Dumez (hydr0g3n) wrote :

I may have a clean solution using D-BUS, I started to work on this last night but it did not work (yet). I'll complete it as soon as possible.

Changed in qbittorrent:
assignee: nobody → hydr0g3n
importance: Undecided → Wishlist
milestone: none → 1.1.0
status: New → Confirmed
Christophe Dumez (hydr0g3n) wrote :

Ok. I fixed this in svn. Beta3 will include the fix.

Thanks for the bug report. I didn't think of this problem before :)

Changed in qbittorrent:
status: Confirmed → Fix Committed
Christophe Dumez (hydr0g3n) wrote :

Note that I didn't use D-BUS after all. I adapted my QTcpSocket code for Qt 4.3 (use different ports for each user). And for Qt >= 4.4, I used the new QLocalSocket, which is nice solution IMHO. Users are identified by their UID.

MarcRandolph (mrand) wrote :

Works like a charm now in 1.1.0. Thanks!

Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions