[Issue Fixed] Anonsurf-gtk cannot run service command

Anonsurf-gtk stopped working after upgrade

When trying to restart or kill dangerous applications, it fails with a “Failed to execute “service”: command “service” cannot be found”. Using anonsurf cli works fine, though. How to solve this? Thanks


  • ParrotOS 6.0 (lorikeet) [6.1.15-1parrot1 (2023-04-25)]

Same problem here, apparently only with anonsurf-gtk as anonsurf start and stop work like expected.
Do we need to submit a bug report anywhere?

image

1 Like

I guess so, but I have no idea where to submit this.

I tried anonsurf and can verify the issue.

It’s now working on my system after running the following commands.

┌─[masmer@cracker]─[~]
└──╼ $sudo systemctl enable anonsurfd
┌─[masmer@cracker]─[~]
└──╼ $sudo systemctl start anonsurfd
┌─[masmer@cracker]─[~]
└──╼ $systemctl status anonsurfd

[email protected]

Hi:
It looks like that starts the anonsurf service from startup, but it doesn’t make AnonsufGUI work, when I reboot and run AnonsurfGUI it appears to me like anonsurft is already running, but if I want to stop it from AnonsurfGUI, it doesn’t work, it gives the same “service” error…


1 Like

@dmknght Can you please look at this when you have a chance? Thanks!

1 Like

I think its just a matter of change the order of the commands Masmer wrote

First

sudo systemctl start anonsurfd

Second

sudo systemctl enable anonsurfd

And if its not working with that, try before that 2 commands write this

sudo systemctl stop anonsurf

and repeat the 2 commands in the order I wrote.

Cheers :slight_smile:

The problem is only with anonsurf-gtk.
From terminal, starting the service or using anonsurf start/stop, is all fine.

I get the following error trying to run anonsurf-gui, regardless what CLI commands I have previously issued

$ sudo anonsurf-gtk
[sudo] password for ******: 
could not load: libpcre.so(.3|.1|)
(compile with -d:nimDebugDlOpen for more information)
$

Any ideas?
Starts/stops fine from CLI

Just updated anonsurf, anonsurf-cli and gtk, and everything is fine now.

Sorry for lately reply. It should be solved by sudo apt install libpcre3. Apparently it’s not in package’s runtime dependencies. I already push a commit to fix this on repository, however the new build of anonsurf likely wont be on our repository soon