You are not logged in.

#1 2018-01-23 03:22:33

fxkrait
Banned
Registered: 2013-08-08
Posts: 9

[SOLVED] opensnitch firewall dbus error

Package is opensnitch-git, installs fine with trizen.
I get an error having to do with python-dbus, but I have it installed.
This is the only app where I have this issue.

I don't know what to do to fix this. I think it might have something to do with the package? I have dbus working correctly for jack and midi and other things as far as I know.

Similar thread on this issue: https://bbs.archlinux.org/viewtopic.php?id=221340

~ ❯❯❯ opensnitch-qt                                                                                                                                                                                                                                                                          ✘ 130
qt5ct: using qt5ct plugin
Traceback (most recent call last):
  File "/usr/bin/opensnitch-qt", line 43, in <module>
    app = QtApp()
  File "/usr/lib/python3.6/site-packages/opensnitch/ui/app.py", line 43, in __init__
    self.dbus_handler = DBusHandler(self.app, self)
  File "/usr/lib/python3.6/site-packages/opensnitch/ui/dbus.py", line 52, in __init__
    raise RuntimeError('Could not connect to dbus')
RuntimeError: Could not connect to dbus
~ ❯❯❯ sudo opensnitchd                                                                                                                                                                                                                                                                         ✘ 1
[sudo] password for toreshi:
Traceback (most recent call last):
  File "/usr/bin/opensnitchd", line 77, in <module>
    raise RuntimeError('DBUS_SESSION_BUS_ADDRESS not set')
RuntimeError: DBUS_SESSION_BUS_ADDRESS not set
~ ❯❯❯                                                                                                                                                                                                                                                                                          ✘ 1

~ ❯❯❯ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus

~ ❯❯❯ systemctl status --user dbus.service
● dbus.service - D-Bus User Message Bus
   Loaded: loaded (/usr/lib/systemd/user/dbus.service; static; vendor preset: enabled)
   Active: active (running) since Mon 2018-01-22 18:00:02 PST; 1h 17min ago
     Docs: man:dbus-daemon(1)
Main PID: 1332 (dbus-daemon)
   CGroup: /user.slice/user-1000.slice/user@1000.service/dbus.service
           ├─ 1332 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           ├─ 1438 /usr/bin/jackdbus auto
           ├─ 1440 /usr/bin/a2jmidid dbus
           ├─ 1721 /usr/lib/goa-daemon
           ├─ 1729 /usr/lib/goa-identity-service
           ├─ 2431 /usr/lib/GConf/gconfd-2
           └─12570 /usr/lib/dconf/dconf-service

Jan 22 18:00:47 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Activating service name='org.gnome.OnlineAccounts' requested by ':1.
Jan 22 18:00:47 XOTOURLIF3 goa-daemon[1721]: goa-daemon version 3.26.2 starting
Jan 22 18:00:47 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Activating service name='org.gnome.Identity' requested by ':1.20' (u
Jan 22 18:00:47 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Successfully activated service 'org.gnome.OnlineAccounts'
Jan 22 18:00:47 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Jan 22 18:00:47 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Successfully activated service 'org.gnome.Identity'
Jan 22 18:05:23 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Activating service name='org.gnome.GConf' requested by ':1.43' (uid=
Jan 22 18:05:23 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Successfully activated service 'org.gnome.GConf'
Jan 22 18:44:34 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Activating service name='ca.desrt.dconf' requested by ':1.403' (uid=
Jan 22 18:44:34 XOTOURLIF3 dbus-daemon[1332]: [session uid=1000 pid=1332] Successfully activated service 'ca.desrt.dconf'
~ ❯❯❯

Last edited by fxkrait (2018-01-24 04:22:07)

Offline

#2 2018-01-23 03:56:58

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] opensnitch firewall dbus error

(Please use code tags for terminal output. It helps with readability. You can see how by clicking the link BBCode next to the text entry area near the page bottom. Good luck on your issue.)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2018-01-24 04:18:40

fxkrait
Banned
Registered: 2013-08-08
Posts: 9

Re: [SOLVED] opensnitch firewall dbus error

from the git page, you have to run it a special way... Then it works.

Run

sudo -HE opensnitchd
opensnitch-qt

Offline

Board footer

Powered by FluxBB