dbus server run with root privilege can't request 'DBUS_BUS_SESSION' service?

Thiago Macieira thiago at kde.org
Sun Jan 17 23:30:27 PST 2010


Em Segunda-feira 18. Janeiro 2010, às 08.11.10, zhu minjue escreveu:
> I have a daemon program.The daemon requests 'DBUS_BUS_SESSION' type dbus
> service.If I run it with general privilege, I can see my requested dbus
> services in d-feet.But if I run it with root privilege, I can't see the
> services in d-feet.Does anyone know why this happen? Can the client
> still communicate with by daemon if which run with root privilege?

No, it can't.

The client must run with the same UID as the dbus-daemon server.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20100118/9e529af1/attachment.pgp 


More information about the dbus mailing list