igrk@obarunS6 ~ % connman-gtk
** (connman-gtk:2448): CRITICAL **: 17:45:03.441: Failed to connect to connman: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 3 matched rules; type="method_call", sender=":1.159" (uid=1000 pid=2448 comm="connman-gtk") interface="net.connman.Manager" member="GetTechnologies" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=878 comm="/usr/bin/connmand -n --nobacktrace --nodnsproxy")

(connman-gtk:2448): GLib-GIO-CRITICAL **: 17:45:03.442: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(connman-gtk:2448): GLib-CRITICAL **: 17:45:03.442: g_variant_unref: assertion 'value != NULL' failed

igrk@obarunS6 ~ % connmanctl state
Error: Rejected send message, 3 matched rules; type="method_call", sender=":1.2850" (uid=1000 pid=11161 comm="connmanctl state") interface="net.connman.Manager" member="GetProperties" error name="(unset)" requested_reply="0" destination="net.connman" (uid=0 pid=878 comm="/usr/bin/connmand -n --nobacktrace --nodnsproxy")

make sure you add your user to the right group, I think network group then reload dbus. what is the output of % id?

    igrk@obarunS6 ~ % groups
    wheel log rfkill network video audio optical floppy storage scanner power users igrk
    
    igrk@obarunS6 ~ % id
    uid=1000(igrk) gid=1000(igrk) gruppi=1000(igrk),10(wheel),19(log),24(rfkill),90(network),91(video),92(audio),93(optical),94(floppy),95(storage),96(scanner),98(power),100(users)

    Wat-now
    You mean 66 reload dbus?
    I just noticed that if i call ´connman-gtk' as super user it opens as expected.

    igrk@obarunS6 ~ % 66 status
    In tree: global
    \
    ├─dbus@igrk-log (pid=1106, state=Enabled, type=classic, tree=global)
    ├─pipewire-log (pid=1105, state=Enabled, type=classic, tree=global)
    ├─pipewire-pulse-log (pid=1108, state=Enabled, type=classic, tree=global)
    ├─wireplumber-log (pid=1109, state=Enabled, type=classic, tree=global)
    ├─dbus@igrk (pid=1119, state=Enabled, type=classic, tree=global)
    ├─pipewire (pid=1114, state=Enabled, type=classic, tree=global)
    ├─pipewire-pulse (pid=1125, state=Enabled, type=classic, tree=global)
    └─wireplumber (pid=1124, state=Enabled, type=classic, tree=global)
    igrkigrk@obarunS6 ~ % sudo 66 status
    [sudo] password di igrk: 
    In tree: boot
    \
    ├─boot@system:system-hostname (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-run (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-tmp (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-proc (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:system-sysctl (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:udevd-log (pid=321, state=Enabled, type=classic, tree=boot)
    ├─boot@system:tty-earlier@tty12 (pid=238, state=Enabled, type=classic, tree=boot)
    ├─boot@system (pid=up, state=Enabled, type=module, tree=boot)
    ├─boot@system:populate-run (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:populate-tmp (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-sys (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:populate-sys (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-dev (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-pts (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-shm (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:populate-dev (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-cgroups (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-branch (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:system-hwclock (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:modules-kernel (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:system-random (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:modules-system (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:udevd (pid=501, state=Enabled, type=classic, tree=boot)
    ├─boot@system:udevadm (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:system-fontnkey (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:system-fsck (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-fstab (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:system-branch (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-rw (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-sethostname (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-netfs (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:mount-swap (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-loop (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-time (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-authfiles (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-tmpfiles (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-dmesg (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:local-branch (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:runtime-branch (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:canopy (pid=up, state=Enabled, type=oneshot, tree=boot)
    ├─boot@system:tty-rc@tty2 (pid=986, state=Enabled, type=classic, tree=boot)
    └─boot@system:tty-rc@tty1 (pid=987, state=Enabled, type=classic, tree=boot)
    
    In tree: global
    \
    ├─ntpclient-log (pid=922, state=Enabled, type=classic, tree=global)
    ├─wpa_supplicant-log (pid=923, state=Enabled, type=classic, tree=global)
    ├─dbus-log (pid=852, state=Enabled, type=classic, tree=global)
    ├─connmand-log (pid=855, state=Enabled, type=classic, tree=global)
    ├─consolekit-log (pid=854, state=Enabled, type=classic, tree=global)
    ├─ntpclient (pid=1000, state=Enabled, type=classic, tree=global)
    ├─wpa_supplicant (pid=0, state=Enabled, type=classic, tree=global)
    ├─dbus (pid=863, state=Enabled, type=classic, tree=global)
    ├─consolekit (pid=883, state=Enabled, type=classic, tree=global)
    └─connmand (pid=882, state=Enabled, type=classic, tree=global)
    
    In tree: session
    \
    ├─boot-user@igrk:mount-run@igrk (pid=up, state=Enabled, type=oneshot, tree=session)
    ├─scandir@igrk (pid=up, state=Enabled, type=module, tree=session)
    ├─scandir@igrk:setenv@igrk (pid=up, state=Enabled, type=oneshot, tree=session)
    ├─scandir@igrk:svscan@igrk-log (pid=921, state=Enabled, type=classic, tree=session)
    ├─boot-user@igrk (pid=up, state=Enabled, type=module, tree=session)
    └─scandir@igrk:svscan@igrk (pid=960, state=Enabled, type=classic, tree=session)

    I suspect this is related to the new dbus release as well. Update to dbus 1.16.0-4 and see if the problem continues

      Wat-now
      Updated and restarted. The problem persists.

      igrk@obarunS6 ~ % connman-gtk
      
      ** (connman-gtk:3997): CRITICAL **: 17:04:42.576: Failed to connect to connman: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 3 matched rules; type="method_call", sender=":1.874" (uid=1000 pid=3997 comm="connman-gtk") interface="net.connman.Manager" member="GetTechnologies" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=880 comm="/usr/bin/connmand -n --nobacktrace --nodnsproxy")
      
      (connman-gtk:3997): GLib-GIO-CRITICAL **: 17:04:42.576: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
      
      (connman-gtk:3997): GLib-CRITICAL **: 17:04:42.576: g_variant_unref: assertion 'value != NULL' failed
      ^C

      sudo connman-gtk works although the window is not dark like the system theme.
      I also tried changing theme but i got no result

        igorka67 do you have a dbus group and user? what's the output of %id dbus

          igorka67 can you confirm that network manager works for you too? Of course you have to enable the 66 service too.

            Maybe it won't help, but I just tried to rebuild the upstream. If you update, you can see if that helps. But judging by the errors above, it's likely something else.

              Wat-now

              igrk@obarunS6 ~ % id dbus 
              uid=81(dbus) gid=81(dbus) gruppi=81(dbus)

                wastelander
                My WiFi is working and if i launch connman as root it works...

                nfg
                The Song Remains The Same... ;-)

                Yeah, same, the app just works if run with sudo. My wild guess is that the dbus new release has some issue with connman, being the latter kinda old software it wouldn't come as a surprise...

                igorka67 yeah, I just tried to use network manager instead of running connman as sudo, it looks like NM has no issues, it runs as user :)

                • nfg replied to this.

                  Is there anything interesting showing up in the connmand 66 logs?

                    nfg

                    66-execute: info: Starting service: connmand
                    connmand[879]: Connection Manager version 1.43
                    connmand[879]: Online check mode "one-shot"
                    connmand[879]: Online check IPv4 URL "http://ipv4.connman.net/online/status.html"
                    connmand[879]: Online check IPv6 URL "http://ipv6.connman.net/online/status.html"
                    connmand[879]: Online check interval style "geometric"
                    connmand[879]: Online check interval range [1, 12]
                    connmand[879]: Checking loopback interface settings
                    connmand[879]: System hostname is obarunS6
                    connmand[879]: lo {newlink} index 1 address 00:00:00:00:00:00 mtu 65536
                    connmand[879]: lo {newlink} index 1 operstate 0 <UNKNOWN>
                    connmand[879]: enp0s25 {create} index 2 type 1 <ETHER>
                    connmand[879]: enp0s25 {update} flags 4098 <DOWN>
                    connmand[879]: enp0s25 {newlink} index 2 address 8C:73:6E:DC:39:2A mtu 1500
                    connmand[879]: enp0s25 {newlink} index 2 operstate 2 <DOWN>
                    connmand[879]: Adding interface enp0s25 [ ethernet ]
                    connmand[879]: wlp16s0 {create} index 3 type 1 <ETHER>
                    connmand[879]: wlp16s0 {update} flags 4098 <DOWN>
                    connmand[879]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    connmand[879]: wlp16s0 {newlink} index 3 operstate 2 <DOWN>
                    connmand[879]: Adding interface wlp16s0 [ wifi ]
                    connmand[879]: enp0s25 {update} flags 36867 <UP>
                    connmand[879]: enp0s25 {newlink} index 2 address 8C:73:6E:DC:39:2A mtu 1500
                    connmand[879]: enp0s25 {newlink} index 2 operstate 2 <DOWN>
                    connmand[879]: wlp16s0 {update} flags 36931 <UP,RUNNING>
                    connmand[879]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    connmand[879]: wlp16s0 {newlink} index 3 operstate 0 <UNKNOWN>
                    connmand[879]: wlp16s0 {update} flags 36867 <UP>
                    connmand[879]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    connmand[879]: wlp16s0 {newlink} index 3 operstate 2 <DOWN>
                    connmand[879]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    connmand[879]: wlp16s0 {newlink} index 3 operstate 2 <DOWN>
                    connmand[879]: Interface wlp16s0 [ wifi ] state is association
                    connmand[879]: wlp16s0 {update} flags 102403 <UP,LOWER_UP>
                    connmand[879]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    connmand[879]: wlp16s0 {newlink} index 3 operstate 5 <DORMANT>
                    connmand[879]: wlp16s0 {RX} 2 packets 282 bytes
                    connmand[879]: wlp16s0 {TX} 2 packets 288 bytes
                    connmand[879]: wlp16s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
                    connmand[879]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    connmand[879]: wlp16s0 {newlink} index 3 operstate 6 <UP>
                    connmand[879]: Interface wlp16s0 [ wifi ] state is configuration
                    connmand[879]: Cannot create /var/run/connman/resolv.conf falling back to /etc/resolv.conf
                    connmand[879]: Interface wlp16s0 [ wifi ] state is ready
                    connmand[879]: Interface wlp16s0 [ wifi ] is the default
                    connmand[879]: Setting hostname to obarunS6
                    connmand[879]: Setting domainname to homenet.telecomitalia.it
                    connmand[879]: wlp16s0 {add} address 192.168.1.215/24 label wlp16s0 family 2
                    connmand[879]: Interface wlp16s0 [ wifi ] IPv4 online check to http://ipv4.connman.net/online/status.html succeeded
                    connmand[879]: Interface wlp16s0 [ wifi ] state is online

                    This is the last log on current but i am not sure if it is ok because the last date that i see, is old:

                    2024-05-05 19:17:21.223161811  connmand[738]: wlp16s0 {RX} 9615 packets 11021328 bytes
                    2024-05-05 19:17:21.223166929  connmand[738]: wlp16s0 {TX} 4514 packets 541828 bytes
                    2024-05-05 19:17:21.223181101  connmand[738]: wlp16s0 {update} flags 102403 <UP,LOWER_UP>
                    2024-05-05 19:17:21.223189844  connmand[738]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    2024-05-05 19:17:21.223230243  connmand[738]: wlp16s0 {newlink} index 3 operstate 5 <DORMANT>
                    2024-05-05 19:17:21.321426713  connmand[738]: wlp16s0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
                    2024-05-05 19:17:21.321611041  connmand[738]: wlp16s0 {RX} 9617 packets 11021610 bytes
                    2024-05-05 19:17:21.321619228  connmand[738]: wlp16s0 {TX} 4516 packets 542116 bytes
                    2024-05-05 19:17:21.321624972  connmand[738]: wlp16s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
                    2024-05-05 19:17:21.321648748  connmand[738]: wlp16s0 {newlink} index 3 address 4C:ED:DE:8E:2A:DC mtu 1500
                    2024-05-05 19:17:21.321665089  connmand[738]: wlp16s0 {newlink} index 3 operstate 6 <UP>
                    2024-05-05 19:17:21.355242228  connmand[738]: Setting hostname to obarunS6
                    2024-05-05 19:17:21.355292016  connmand[738]: Setting domainname to homenet.telecomitalia.it
                    2024-05-05 19:17:21.401320192  connmand[738]: wlp16s0 {add} address 192.168.1.215/24 label wlp16s0 family 2
                    2024-05-05 19:17:21.403630643  connmand[738]: wlp16s0 {add} route 192.168.1.0 gw 0.0.0.0 scope 253 <LINK>
                    2024-05-05 19:17:21.403719071  connmand[738]: wlp16s0 {add} route 192.168.1.1 gw 0.0.0.0 scope 253 <LINK>
                    2024-05-05 19:17:21.403878740  connmand[738]: wlp16s0 {add} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE>
                    2024-05-05 19:17:21.454933361  connmand[738]: wlp16s0 {add} route 82.165.8.211 gw 192.168.1.1 scope 0 <UNIVERSE>
                    2024-05-05 19:17:21.522465106  connmand[738]: wlp16s0 {del} route 82.165.8.211 gw 192.168.1.1 scope 0 <UNIVERSE>
                    2024-05-05 19:17:27.120216272  connmand[738]: ntp: adjust (slew): -0.003188 sec
                    connmand[816]: Connection Manager version 1.42
                    
                    (connmand:816): GLib-WARNING **: 18:03:03.064: GError set over the top of a previous GError or uninitialized memory.
                    This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
                    The overwriting error message was: Key file does not have key ?ResolvConf? in group ?General?
                    connmand[816]: Checking loopback interface settings
                    connmand[816]: System hostname is obarunS6
                    connmand[816]: lo {newlink} index 1 address 00:00:00:00:00:00 mtu 65536
                    connmand[816]: lo {newlink} index 1 operstate 0 <UNKNOWN>
                    -->.......

                    nfg actually it's the dbus log showing a bunch of "dbus-daemon: rejected send messages"

                    • nfg replied to this.
                      • Edited

                      wastelander

                      I see. Having never used connman before, I just installed it along with connman-gtk & connmand-66serv. And everything just worked for me. My root dbus log is below.

                      I'm on: dbus-1.16.0-4, linux-hardened 6.12.6 & I'm in the wheel (no network group).
                      66-execute: info: Starting service: dbus
                      dbus-daemon[3115]: [system] Activating service name='net.connman.vpn' requested by ':1.0' (uid=0 pid=3154 comm="/usr/bin/connmand -n --nobacktrace --nodnsproxy") (using servicehelper)
                      dbus-daemon[3115]: [system] Activating service name='fi.w1.wpa_supplicant1' requested by ':1.0' (uid=0 pid=3154 comm="/usr/bin/connmand -n --nobacktrace --nodnsproxy") (using servicehelper)
                      dbus-daemon[3115]: [system] Successfully activated service 'net.connman.vpn'
                      connman-vpnd[3191]: Connection Manager VPN daemon version 1.43
                      connman-vpnd[3191]: Can't load /usr/lib/connman/plugins-vpn/openconnect.so: libopenconnect.so.5: cannot open shared object file: No such file or directory
                      dbus-daemon[3115]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
                      connman-vpnd[3191]: wlp1s0 {create} index 2 type 1 <ETHER>
                      connman-vpnd[3191]: wlp1s0 {update} flags 4163 <UP,RUNNING>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 0 <UNKNOWN>
                      connman-vpnd[3191]: wlp1s0 {update} flags 4099 <UP>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
                      connman-vpnd[3191]: lo {newlink} index 1 operstate 0 <UNKNOWN>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
                      connman-vpnd[3191]: wlp1s0 {update} flags 4098 <DOWN>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
                      dbus-daemon[3115]: [system] Activating service name='org.freedesktop.RealtimeKit1' requested by ':1.5' (uid=1000 pid=3759 comm="/usr/lib/xdg-desktop-portal") (using servicehelper)
                      dbus-daemon[3115]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
                      connman-vpnd[3191]: wlp1s0 {update} flags 36867 <UP>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 2 <DOWN>
                      connman-vpnd[3191]: wlp1s0 {update} flags 102403 <UP,LOWER_UP>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 5 <DORMANT>
                      connman-vpnd[3191]: wlp1s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 address 14:AC:60:29:76:0B mtu 1500
                      connman-vpnd[3191]: wlp1s0 {newlink} index 2 operstate 6 <UP>

                        nfg hmm I uninstalled connman-gtk, deleted the /etc/connman folder and reinstalled it, no joy..also, the /etc/connman folder didn't come back..

                        • nfg replied to this.

                          You would probably need to reinstall connman itself to repopulate /etc/connman. FWIW, my just contains main.conf whose contents are [General] followed by a bunch of commented out text.

                          Powered by Obarun