Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
$ ./configure
$ make
$ sudo make install
If you are compiling it from the git repository, run ./autogen.sh before the
configure script.
The installation went well and torsocks is now installed.
Yet when trying to get it to run (e.g.) with
Code:
torsocks rhythmbox
it starts rhythmbox alright but it canīt establish an internet connection.
So I cannot play any radio stations.
The terminal says:
Code:
(rhythmbox:32024): Rhythmbox-WARNING **: Unable to grab media player keys: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
1528636178 PERROR torsocks[32024]: socks5 libc connect: Verbindungsaufbau abgelehnt (in socks5_connect() at socks5.c:202)
Code:
torsocks -P 9150 rhythmbox
doesnīt work either.
When typing
Code:
torsocks firefox
firefox doesnīt seem to start in the first place. Yet when looking at "ps" firefox appears in the list. Strange!
Well, to me it looks like you have missed the package manager. The correct way to add torsocks would be to install it from the repositories using the distro's official package management system. That will avoid a lot of trouble and mess. Which distro, including version, do you have?
Failing that, a distant second best way would be to roll torsocks into a package and then install it from that. Again that depends on which version of which distro you have. I would recommend the first way however.
tnx for your answer.
Indeed, I didnīt install torsocks via apt because when doing so I would also get tor and tor-geoipdb automatically.
Yet I donīt want to install tor via apt because Iīve already got the standalone tor-version (Tor-Browser-Bundle), which doesnīt require installation and can be be put on a USB-stick.
Are you saying that torsocks requires tor to be installed on the system?
Then why would the installation-description of torsocks be necessary? ----> https://github.com/dgoulet/torsocks
Yet I donīt want to install tor via apt because ...
Ok, since you have Lubuntu, you can install it via dpkg instead -- after you roll your own package. If you use a bare 'make all && sudo make install' approach, you will eventually mess up your system enough that a fresh re-installatino of the whole OS is needed. Start with these older articles as background:
On Mint 19, using Ubuntu 18.04's package base, apt show torsocks indicates that torsocks does not depend on the tor package, it only recommends it. Its only dependency is libc6. Unless you have your apt system set up to install recommended packages, it shouldn't automatically install tor, on an 18.04 system anyway.
What does apt show torsocks show on your 16.04 system?
tnx.
I checked that with me as well. Youīre right.
apt show torsocks gives me the same results you posted.
Quote:
Unless you have your apt system set up to install recommended packages [...]
Thatīs probably it.
O.K., Iīm a bit confused now.
As already mentioned I installed torsocks that way:
Code:
$ ./configure
$ make
$ sudo make install
Did I do something wrong here?
Because Turbocapitalist pointed out:
Quote:
If you use a bare 'make all && sudo make install' approach, you will eventually mess up your system enough that a fresh re-installatino of the whole OS is needed.
Should I un-install it?
P.S.:
libc6 is installed :
libc6:amd64, libc6:i386, libc6-dev:amd64
What fun. Some other config option must be taking precedence, unless there's some cacheing of config options going on. We can sort that out later, but if you want, let's try installing the repo version of torsocks (we can use the --no-install-recommends command line option). It's not guaranteed to work any better than the version you manually built, but it's worth trying.
First of all though, you need to uninstall the version you manually installed. Does its README file, or other documentation, advise as to how it can be uninstalled?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.