gustavo-iniguez-goya / opensnitch

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

No gui in Ubuntu 20.04 #44

Closed Baa14453 closed 4 years ago

Baa14453 commented 4 years ago

Hi

Describe the bug When I run opensnitch-ui the gui does not open, the terminal prints the following error:

E0703 19:32:49.178623442 138958 server_chttp2.cc:40] {"created":"@1593801169.178606296","description":"No address added out of total 1 resolved","file":"src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":397,"referenced_errors":[{"created":"@1593801169.178603949","description":"Unable to configure socket","fd":26,"file":"src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":217,"referenced_errors":[{"created":"@1593801169.178601233","description":"Address already in use","errno":98,"file":"src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":190,"os_error":"Address already in use","syscall":"bind"}]}]}

If I run as Root then it does open but some icons are missing and some buttons don't work

To Reproduce Steps to reproduce the behavior:

  1. Use Ubuntu 20.04

  2. run opensnitch-ui

  3. Use Ubuntu 20.04

  4. run sudo opensnitch-ui

Expected behavior GUI would open.

Screenshots Untitled

OS (please complete the following information):

Additional context Add any other context about the problem here.

gustavo-iniguez-goya commented 4 years ago

Window Manager: GNOME 3.36.2 unfortunately GNOME removed systray icons on >= 3.26.

Do you have the packages gnome-shell-extension-appindicator and libappindicator3-1 installed?

As far as I can tell, it works on the ubunu20.04 live cd with Gnome-Shell as Window Manager.

Baa14453 commented 4 years ago

Window Manager: GNOME 3.36.2 unfortunately GNOME removed systray icons on >= 3.26.

Do you have the packages gnome-shell-extension-appindicator and libappindicator3-1 installed?

As far as I can tell, it works on the ubunu20.04 live cd with Gnome-Shell as Window Manager.

Oh weird I do have those packages installed though

gustavo-iniguez-goya commented 4 years ago

~Ok, can you install this extension? https://micheleg.github.io/dash-to-dock/ (see if it's available in ubuntu 20 repos, )~

~The icon will appear on the dock while the GUI is open, so you can hide and show it easily. If you close it, the GUI will exit, i.e., it won't be minimized to the systray/dock. You can also add the icon permanently to the dock.~

~Another question: when you login the GUI is launched?~

~I'll try to understand why on the official live-cd the systray icons does appear next to the date.~

gustavo-iniguez-goya commented 4 years ago

Ok, please, follow these instructions to install gnome-shell-extension-appindicator from their git:

  1. download latest version - https://github.com/ubuntu/gnome-shell-extension-appindicator/archive/v33.zip
  2. install it with your regular user: gnome-extensions install gnome-shell-extension-appindicator-v33.zip

Following these steps the icon has appeared.

Baa14453 commented 4 years ago

Ok, please, follow these instructions to install gnome-shell-extension-appindicator from their git:

1. download latest version - https://github.com/ubuntu/gnome-shell-extension-appindicator/archive/v33.zip

2. install it with your regular user: `gnome-extensions install gnome-shell-extension-appindicator-v33.zip`

Following these steps the icon has appeared.

It's all fine, I understand now Didn't notice the GUI launched straight into the taskbar, it's opened now and does so on launch I already have the app indicators extension installed.

Thanks for your help :+1: Maybe make it so if you try to launch the GUI twice it restores it from the taskbar to save a future user the confusion, but not a big issue