[Bug Report] OpenSnitch-UI struggle to start on XFCE, when SESSION_MANAGER env. variable is set
Describe the bug:
In certain conditions, when start OpenSnitch-UI under XFCE session, it fails to start after a minute, consuming CPU in background, and terminates without showing UI. In this situation there is following terminal error message:
ICE default IO error handler doing an exit(), pid = 68995, errno = 32 (PID can differ)
A sort of workaround is unset SESSION_MANAGER env. variable for opensnitch-ui, but it's difficult to do for autostart entry, cause osui overrides it every start, only for launcher cgange permanent.
Include the following information:
- OpenSnitch version: 1.7.2
- OS: Arch Linux
- OS version: Rolling, recently updated
- Window Manager: xfwm4
- Kernel version: 6.17.11/6.18
To Reproduce:
Logim in XFCE and waitt for OpenSnitch-UI launch. UI could not launch.
Steps to reproduce the behavior:
- Login in XFCE
- Wait for autostart/launch manually OpenSnitch-UI
- Wait for UI appear
- Deal with error (described above, in terminal)
Post error logs:
Expected behavior (optional):
Screenshots:
Additional context:
Hi @craftfever ,
Thank you for reporting this issue. I've never seen this error before, so I'll try to reproduce it.
One question: do you have enabled the rule /etc/opensnichd/rules/000-allow-localhost.json? it's available here https://github.com/evilsocket/opensnitch/blob/master/daemon/data/rules/000-allow-localhost.json
and by the way, what's the value of your $SESSION_MANAGER?
Hi @craftfever ,
Thank you for reporting this issue. I've never seen this error before, so I'll try to reproduce it.
One question: do you have enabled the rule
/etc/opensnichd/rules/000-allow-localhost.json? it's available here https://github.com/evilsocket/opensnitch/blob/master/daemon/data/rules/000-allow-localhost.jsonand by the way, what's the value of your $SESSION_MANAGER?
Hello. I enabled localhost traffic as far as with version 1.6.8, when I struggled to login in XFCE, and allowing localhost eliminated that issue, so I created and enabled corresponding rule, before this internal fix introduced, so it's fine and not related to this issue.
Value of env.variable:
SESSION_MANAGER=local/archhost:@/tmp/.ICE-unix/9047,unix/archhost:/tmp/.ICE-unix/9047
(where archhost is defined hostname)