Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem loading/opening opensnitch-ui #887

Closed
vicxdev opened this issue Mar 23, 2023 · 11 comments
Closed

Problem loading/opening opensnitch-ui #887

vicxdev opened this issue Mar 23, 2023 · 11 comments

Comments

@vicxdev
Copy link

vicxdev commented Mar 23, 2023

Hi! I just finished the installation of opensnitch and after some troubleshooting, I found that opensnitch-ui doesn't open.
These are my specs:

  • OpenSnitch version: 1.6.0rc5
  • OS: Ubuntu (GNU/Linux)
  • Version: 22.04.2 LTS
  • Window Manager: -
  • Kernel version: Linux 5.15.0-60-generic # 66-Ubuntu SMP x86_64 GNU/Linux

I ran the opensnitch-ui command to see if there is a problem, but it stays loading and never opens. Here a capture:
image

Someone who can help me? Thanks

@gustavo-iniguez-goya
Copy link
Collaborator

Hi @vicxdev ,

I think you're having this issue: #647

Check if the process opensnitch-ui is consuming 100% of the CPU. Then try this solution: #647 (comment)

@vicxdev
Copy link
Author

vicxdev commented Mar 23, 2023

Hi @gustavo-iniguez-goya,

I've tried it but still the same. This is the consumption of opensnitch-ui:

image

@gustavo-iniguez-goya
Copy link
Collaborator

Is there an icon like this one in the system tray?

image

@vicxdev
Copy link
Author

vicxdev commented Mar 23, 2023

@gustavo-iniguez-goya There is no. When it's running, it's like it's running in the background.

@gustavo-iniguez-goya
Copy link
Collaborator

Ok, I think you're running GNOME, so could you install the appindicator extension?
https://github.com/evilsocket/opensnitch/wiki/Known-problems#opensnitch-icon-does-not-show-up-on-gnome-shell

If the extension is not installed, the GUI should show up after ~10s of launching it.
If the extension is installed only the icon should show up on the systray.

If you're still having the issue #647 + appindicator extension => the systray icon shows up, but it's grayed out (like disabled, no nodes connected).
If you're still having the issue #647 + no appindicator extension => nothing shows up.

I think you're stuck on the last option. no appindicator + the issue 647. Please, install the extension and let me know if the icon shows up on the systray.

@ItsDrike
Copy link

ItsDrike commented Apr 6, 2023

Could you add a CLI option to start the GUI directly? I don't yet have system tray configured, because my bar has incomplete support for tray icons on wayland, and I don't see the icon in the tray. It would be neat if starting didn't require clicking on a tray icon.

I found that stopping my bar does solve this issue, and running opensnitch-ui does start the GUI after a few seconds. So clearly, there is some logic to allow starting the GUI directly, if the system tray isn't available. Since I'm using WIP version of the bar though, it seems that it does consume those system tray events, but doesn't display the icon due to lack of support.

This entire check could just be skipped and the UI can be started directly by adding an option like --start-maximized. This option could be useful to people with a system tray too in some cases too.

@vicxdev
Copy link
Author

vicxdev commented Apr 6, 2023

Ok, I think you're running GNOME, so could you install the appindicator extension? https://github.com/evilsocket/opensnitch/wiki/Known-problems#opensnitch-icon-does-not-show-up-on-gnome-shell

If the extension is not installed, the GUI should show up after ~10s of launching it. If the extension is installed only the icon should show up on the systray.

If you're still having the issue #647 + appindicator extension => the systray icon shows up, but it's grayed out (like disabled, no nodes connected). If you're still having the issue #647 + no appindicator extension => nothing shows up.

I think you're stuck on the last option. no appindicator + the issue 647. Please, install the extension and let me know if the icon shows up on the systray.

@gustavo-iniguez-goya I did it and it didn't work. I don't know why the window doesn't appear and the icon either. I have other apps on my bar that are showing up correctly, but not in the case of opensnitch.

@gustavo-iniguez-goya
Copy link
Collaborator

@ItsDrike what distro , WM and/or DE are you using?

@vicxdev :(

If the extension is not installed, the GUI should show up after ~10s of launching it.

If you kill/stop the GUI ($ killall opensnitch-ui) , does the GUI show up after 10s? Because if it doesn't show up, I'd bet that it's caused by the issue #647

@gustavo-iniguez-goya
Copy link
Collaborator

hey, any update on this issue?

@vicxdev
Copy link
Author

vicxdev commented May 2, 2023

Hi @gustavo-iniguez-goya. Sorry for the delay in answering.

None of the above tips managed to help me. Then I was facing some errors with the Ubuntu packages so I had to reinstall the system and having a fresh reset I took the opportunity to correctly install opensnitch and it worked.

Thanks anyway for your help!

@gustavo-iniguez-goya
Copy link
Collaborator

ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants