I've seen this before during a fresh boot, from which only a reboot will fix it. It's probably a bug in the kernel, Xorg, or dwm I would guess.
This is an error you get when polkit isn't running, and so ModemManager can't find it on DBus. Make sure to
rc-service polkit startand
rc-update add polkit bootto ensure it's started and runs before ModemManager. You will probably need to
rc-service modemmanager restartfor MM to start seeing polkit.
I've also got the same error; I can workaround it by using sudo in a terminal, but the Networks GUI doesn't work. I'm also on pmOS edge, and a month-old Sxmo (so it's not because of recent Sxmo changes).
+1 to this, especially IPC control. dbus would be the "right" way to do this, but since dbus isn't exactly the simplest thing to work with, we could implement a custom text-based IPC protocol over a domain/TCP socket.
Logs from X applications are logged in ~/.local/share/dwm.log, IIRC.
That's a horrible bug! Have you reported this upstream to pmOS? If this is a kernel bug, we should make sure it gets patched ASAP.
By the way, the
--create-file-with-dataoption is not intended for SMS texts, it's instead intended for data payloads like MMS (as I understand it). Your message then was not a valid text SMS (it had a data segment but not a text segment), and probably was dropped by your carrier.
We should describe the rules of sxmo contributions, e.g. "Everything passes shellcheck", and "Try to write code in simple languages like C/POSIX shell"
I'm pretty sure that patch is just from copy-pasting https://xnux.eu/devices/feature/call-audio.c as sxmo_megiaudioroute.c; megi appears to keep that program updated to match his kernel tree.