diff --git a/sfsmcd/src/main.rs b/sfsmcd/src/main.rs index 542f702..5c3cbbb 100644 --- a/sfsmcd/src/main.rs +++ b/sfsmcd/src/main.rs @@ -25,7 +25,7 @@ async fn main() -> Result<(), Box> { cr.insert("/", &[], ()); // Connect with D-Bus - let (resource, c) = dbus_tokio::connection::new_session_sync()?; + let (resource, c) = dbus_tokio::connection::new_system_sync()?; debug!("D-Bus unique name: {}", c.unique_name()); // Spawn a new task for the D-Bus resource