From c3829847f07c36f5e8f5af7af2f6627e2cd306bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sat, 7 Dec 2024 14:30:15 +0400 Subject: [PATCH] rdp: update bus names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- qemu-rdp/src/server/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qemu-rdp/src/server/mod.rs b/qemu-rdp/src/server/mod.rs index d39a798..b9201f4 100644 --- a/qemu-rdp/src/server/mod.rs +++ b/qemu-rdp/src/server/mod.rs @@ -91,10 +91,10 @@ impl Server { let ev = server.event_sender().clone(); self.dbus .object_server() - .at("/org/qemu_rdp", DBusCtrl { ev }) + .at("/org/qemu_display/rdp", DBusCtrl { ev }) .await?; self.dbus - .request_name_with_flags("org.QemuDisplay", BitFlags::EMPTY) + .request_name_with_flags("org.QemuDisplay.RDP", BitFlags::EMPTY) .await?; println!("Starting RDP server, args: {:?}", self.args); @@ -105,7 +105,7 @@ impl Server { } } -#[zbus::interface(name = "org.QemuRDP")] +#[zbus::interface(name = "org.QemuDisplay.RDP")] impl DBusCtrl { async fn set_credentials(&self, username: &str, password: &str, domain: &str) { if let Err(error) = self.ev.send(ServerEvent::SetCredentials(Credentials {