Current sessions don't grant users the at_console permission from the GUI
Related: #84 (closed)
As far as I can find the at_console
policy in dbus files makes sure that people that are physically at the console of an booted linux system (controlled by logind and consolekit) should be able to control certain services.
Currently I don't have the permissions to use bluetoothctl and nmtui in at least phosh and plasma mobile. both dbus config files allow people with the at_console permission.
For example the bluetooth dbus config:
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
.... blabla ....
</policy>
<policy at_console="true">
<allow send_destination="org.bluez"/>
</policy>
<!-- allow users of lp group (printing subsystem) to
communicate with bluetoothd -->
<policy group="lp">
<allow send_destination="org.bluez"/>
</policy>
<policy context="default">
<deny send_destination="org.bluez"/>
</policy>
</busconfig>
which allows root, people in the lp
group and everybody at a console to use bluetooth, this isn't working in postmarketOS, but if I add my user to the lp
group it does work.
Fixing this would also fix wifi and probably issue #84 (closed)