opensnitch icon indicating copy to clipboard operation
opensnitch copied to clipboard

[Bug Report] OpenSnitch-UI struggle to start on XFCE, when SESSION_MANAGER env. variable is set

Open craftfever opened this issue 2 weeks ago • 2 comments

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:

  1. Login in XFCE
  2. Wait for autostart/launch manually OpenSnitch-UI
  3. Wait for UI appear
  4. Deal with error (described above, in terminal)

Post error logs:

Expected behavior (optional):

Screenshots:

Additional context:

craftfever avatar Dec 08 '25 16:12 craftfever

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?

gustavo-iniguez-goya avatar Dec 09 '25 11:12 gustavo-iniguez-goya

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?

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)

craftfever avatar Dec 09 '25 12:12 craftfever