gustavo-iniguez-goya / opensnitch

OpenSnitch is a GNU/Linux application firewall
GNU General Public License v3.0
395 stars 20 forks source link

troubles getting the ui to run on kubuntu 20.04 #32

Closed rons1234 closed 4 years ago

rons1234 commented 4 years ago

Hi,

first of all thanks for all your hard work aaaand sorry for the dumb/n00b question ...

I have a vanilla Kubuntu 20.4 installation. And I ran both opensnitch_1.0.0rc9-1_amd64.deb & python3-opensnitch-ui_1.0.0rc9-1_all.deb. Install process seems to have run through fine.

However when I type "opensnitch" into the applications search I seem to get only OpenSnitch as an entry, that when clicked on seems to open and close. I do not get a link to any GUI.

Is there anything I am missing?

thanks a lot for ur help

gustavo-iniguez-goya commented 4 years ago

Hi there!

Please, open a terminal and type: sudo dpkg -i opensnitchdeb ; sudo apt -f install

And try to launch the GUI again. If it doesn't work, please, post the output of the above commands.

Probably you're running into this issue: https://github.com/gustavo-iniguez-goya/opensnitch/issues/25#issuecomment-633079820

rons1234 commented 4 years ago

Hi Gustavo,

thanks so much for the fast reply.

I am getting the following error:

dpkg: error: cannot access archive 'opensnitchdeb': No such file or directory Reading package lists... Done Building dependency tree
Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Is there a certain directory I need to install these two packages from?

rons1234 commented 4 years ago

right, of course ... doh ... when running this from the dir they live in and calling each name seperately the install worked:

test@test:/media/test/2TB/Downloads$ sudo dpkg -i opensnitch_1.0.0rc9-1_amd64.deb ; sudo apt -f install (Reading database ... 211929 files and directories currently installed.) Preparing to unpack opensnitch_1.0.0rc9-1_amd64.deb ... Removed /etc/systemd/system/multi-user.target.wants/opensnitch.service. Unpacking opensnitch (1.0.0rc9-1) over (1.0.0rc9-1) ... Setting up opensnitch (1.0.0rc9-1) ... Created symlink /etc/systemd/system/multi-user.target.wants/opensnitch.service → /lib/systemd/system/opensnitch.service. Reading package lists... Done Building dependency tree
Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. test@test:/media/test/2TB/Downloads$ sudo dpkg -i python3-opensnitch-ui_1.0.0rc9-1_all.deb ; sudo apt -f install (Reading database ... 211929 files and directories currently installed.) Preparing to unpack python3-opensnitch-ui_1.0.0rc9-1_all.deb ... Unpacking python3-opensnitch-ui (1.0.0rc9-1) over (1.0.0rc9-1) ... Setting up python3-opensnitch-ui (1.0.0rc9-1) ... ln: failed to create symbolic link '/home/rtd/.config/autostart/opensnitch_ui.desktop': File exists gtk-update-icon-cache: Cache file created successfully. Installing grpcio-tools... Collecting grpcio-tools Downloading grpcio_tools-1.29.0-cp38-cp38-manylinux2010_x86_64.whl (2.4 MB) |████████████████████████████████| 2.4 MB 1.3 MB/s Collecting grpcio>=1.29.0 Downloading grpcio-1.29.0-cp38-cp38-manylinux2010_x86_64.whl (3.0 MB) |████████████████████████████████| 3.0 MB 10.2 MB/s Collecting protobuf>=3.5.0.post1 Downloading protobuf-3.12.1-cp38-cp38-manylinux1_x86_64.whl (1.3 MB) |████████████████████████████████| 1.3 MB 17.0 MB/s Requirement already satisfied: six>=1.5.2 in /usr/lib/python3/dist-packages (from grpcio>=1.29.0->grpcio-tools) (1.14.0) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from protobuf>=3.5.0.post1->grpcio-tools) (45.2.0) Installing collected packages: grpcio, protobuf, grpcio-tools Successfully installed grpcio-1.29.0 grpcio-tools-1.29.0 protobuf-3.12.1

Installing slugify... Collecting unicode_slugify Downloading unicode-slugify-0.1.3.tar.gz (4.4 kB) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from unicode_slugify) (1.14.0) Collecting unidecode Downloading Unidecode-1.1.1-py2.py3-none-any.whl (238 kB) |████████████████████████████████| 238 kB 1.3 MB/s Building wheels for collected packages: unicode-slugify Building wheel for unicode-slugify (setup.py) ... done Created wheel for unicode-slugify: filename=unicode_slugify-0.1.3-py3-none-any.whl size=5002 sha256=5521630dab6e2e4bf5ea0d8e76b1ce97e520e65e5d2b9b81be417635d3a46785 Stored in directory: /root/.cache/pip/wheels/da/09/11/a87427640396584e6c7f14aea8ac5a70ddcdcbab5109628247 Successfully built unicode-slugify Installing collected packages: unidecode, unicode-slugify Successfully installed unicode-slugify-0.1.3 unidecode-1.1.1 Processing triggers for desktop-file-utils (0.24-1ubuntu2) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Reading package lists... Done Building dependency tree
Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Seems like I stupidly just copied the install code without thinking much. It seems to be running now and keeps asking me about programs trying to access the web - awesome thanks.

gustavo-iniguez-goya commented 4 years ago

great! I'll try to improve the installer to avoid these questions.