Why org.freedesktop.DBus.Local.Disconnected is called?

Thiago Macieira thiago at kde.org
Sun Nov 8 16:03:50 UTC 2020


On Saturday, 7 November 2020 19:26:26 PST Sheng Mao wrote:
> Sorry I missed some important information here. Please forgive me that I am
> not very familiar with field.
> > However, I use busctl —user monitor org.kde.KWin, it seems
> > org.freedesktop.DBus.Local.Disconnected signal is issued, so the service
> > is not unregistered.
> 
> The reason is I modified startkde to watch for unregistration of service
> org.kde.KWin, and after the unregistration, startkde should exit. However,
> I use busctl to monitor org.kde.KWin (busctl keeps running and waits for
> log messages), org.freedesktop.DBus.Local.Disconnected signal shows up in
> the log as the last message and busctl stops working. Then I use busctl to
> check if org.kde.KWin still exits and the service actually disappears. But
> when I use QDBusConnectionInterface::isServiceRegistered to check if
> org.kde.KWin is still registered and the result is the service still is
> registered.

This signal means the bus daemon disconnected your client and this happens 
because the bus daemon isi exiting, closing the connection to all clients.

I think this is sufficient information for you You don't need further 
deregistration information: the session is over.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering





More information about the dbus mailing list