mirror of
https://github.com/getcompanion-ai/computer-guest.git
synced 2026-04-15 05:02:05 +00:00
fix: run dbus-launch as node user for xfce service activation
This commit is contained in:
parent
b3d76bfa76
commit
a41f1e408e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ cleanup() {
|
||||||
|
|
||||||
start_dbus() {
|
start_dbus() {
|
||||||
log "starting dbus session"
|
log "starting dbus session"
|
||||||
eval "$(dbus-launch --sh-syntax)"
|
eval "$(runuser -u node -- dbus-launch --sh-syntax)"
|
||||||
export DBUS_SESSION_BUS_ADDRESS
|
export DBUS_SESSION_BUS_ADDRESS
|
||||||
dbus_pid="$DBUS_SESSION_BUS_PID"
|
dbus_pid="$DBUS_SESSION_BUS_PID"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue