You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my bash script i called a command fcitx5-remote for switching input method, the command needs connect to dbus for calling fcitx5 interface. Then when i run this script in websocketd services, it's reporting error 'what(): Failed to create dbus connection' in log. When printing dbus environment variables in the script, it's all empty.
So is there a solution make enable commands running on websocketd could connect to dbus.
The text was updated successfully, but these errors were encountered:
baoheping
changed the title
bash scrip running in websocketd can't connect to dbus
bash script running in websocketd can't connect to dbus
Feb 19, 2023
baoheping
changed the title
bash script running in websocketd can't connect to dbus
bash script running on websocketd can't connect to dbus
Feb 19, 2023
--passenv does not work for CGI scripts (for websocket processes it works as expected). This appears to be unintentional, as the code to make it work is written except only missing this trivial fix: matvore@cd87527
In my bash script i called a command fcitx5-remote for switching input method, the command needs connect to dbus for calling fcitx5 interface. Then when i run this script in websocketd services, it's reporting error 'what(): Failed to create dbus connection' in log. When printing dbus environment variables in the script, it's all empty.
So is there a solution make enable commands running on websocketd could connect to dbus.
The text was updated successfully, but these errors were encountered: