Opensnitch GUI only available to one user #1610
headbanger55
started this conversation in
General
Replies: 1 comment
|
I found the problem. The owner of /tmp/osui.sock was the original user. To fix this I had to add a logon script to change the owner. For the benefit of others who may experience this add a script to /etc/profile.d. In that script get the uid and gid and pass it to another script defined in /usr/local/bin. Be sure to use sudo when invoking the second script. In the second script change the owner to the passed uid and gid. You will also need to add an entry in /etc/sudoers.d to allow everyone to execute the second script using sudo without a password. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
To start out I am not talking about multiple users at the same time. I saw a discussion on that. When I installed opensnitch I had only one user defined on the computer. I have since added several other users. When I start the computer and sign in on the original user everything is fine. When I start the computer and signin on a different user the GUI does not start. I tried copying the opensnitch setting file in .config from the original user to the new user. That did not help. If I try starting the gui from the command line I get the following error:
E0530 10:42:53.267893590 10435 chttp2_server.cc:1045] UNKNOWN:No address added out of total 1 resolved for 'unix:///tmp/osui.sock' {file:"src/core/ext/transport/chttp2/server/chttp2_server.cc", file_line:960, created_time:"2026-05-30T10:42:53.267729121-04:00", children:[UNKNOWN:Unable to configure socket {fd:37, created_time:"2026-05-30T10:42:53.267715415-04:00", file_line:219, file:"src/core/lib/iomgr/tcp_server_utils_posix_common.cc", children:[UNKNOWN:Address already in use {syscall:"bind", os_error:"Address already in use", errno:98, created_time:"2026-05-30T10:42:53.26771249-04:00", file_line:193, file:"src/core/lib/iomgr/tcp_server_utils_posix_common.cc"}]}]}
Failed to bind to address unix:///tmp/osui.sock; set GRPC_VERBOSITY=debug environment variable to see detailed error message.
qt.sql.qsqldatabase: QSqlDatabasePrivate::removeDatabase: connection 'db' is still in use, all queries will cease to work.
I am running Ubuntu 26.04 with sddm and KDE-Plazma. Any help would be greatly appreciated.
All reactions