evilsocket / evilsocket/opensnitch
[Bug Report] OpenSnitch GUI can be used only by one user at a time
- Dominant language
- Python
- Stars
- 14.1k
- Forks
- 665
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug:
For example, I have user 1 on tty1 and user 2 on tty2, if OpenSnitch GUI is running for user 1, user 2 can't have it, it simply doesn't launch.
This will be an issue if a user logs, gets OpenSnitch GUI and then just locks the session without quitting. It also might be an issue with multiset setups, but that's just a guess.
Include the following information:
- OpenSnitch version: 1.6.8
- OS: ArchLinux
- Window Manager: Plasma
- Kernel version: Linux Parasite 6.14.5-2-cachyos
### To Reproduce:
1. Log as user 1 on tty1
2. Start a graphical session
3. Start OpenSnitch GUI
4. Switch to tty2
5. Log as user2
6. Start a graphical session
7. Start OpenSnitch GUI
8. It doens't start
### Post error logs:
```
WARNING:root:qt_material must be imported after PySide or PyQt!
~ OpenSnitch GUI - 1.6.8 ~
protobuf: 6.30.2 - grpc: 1.72.0
--------------------------------------------------
QT_AUTO_SCREEN_SCALE_FACTOR: True
gRPC Max Message Length: None
Bytes: 4194304
is new file, or IN MEMORY, setting initial schema version
setting schema version to: 3
setting schema version to: 3
Setting journal_mode: OFF
Setting DB memory optimizations
schema version: 3
db schema is up to date
Loading translations: /usr/lib/python3.13/site-packages/opensnitch/utils/../i18n locale: uk_UA
using IPASN DB: /usr/lib/python3/dist-packages/data/ipasn_20140513_v12.dat.gz
exception loading ipasn db: [Errno 2] Немає такого файла або каталогу: '/usr/lib/python3/dist-packages/data/ipasn_20140513_v12.dat.gz'
Install python3-pyasn to display IP's network name.
Using server address: unix:///tmp/osui.sock auth type: simple
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1746557172.825165 288475 chttp2_server.cc:1685] UNKNOWN:No address added out of total 1 resolved for 'unix:///tmp/osui.sock' {children:[UNKNOWN:Unable to configure socket {children:[UNKNOWN:bind: Адресу вже використано (98)]}]} (translation: adress is already used)
Failed to bind to address unix:///tmp/osui.sock; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
QSqlDatabasePrivate::removeDatabase: connection 'db' is still in use, all queries will cease to work.
```
### Expected behavior (optional):
Get another instance of OpenSnitch for user2, or at least get connection confirmation pop-ups or notifications there
### Additional context:
If this is a "won't fix", would be nice to have it in known issues.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.