Re: dbus Digest, Vol 157, Issue 5
deepan muthusamy <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CAPNtGhUzpxVKN4c=EOoFW2_2PyHr3Ht3=KTZigWJ4y3T8q9LzA@mail.gmail.com> |
Iam doing an embedded project. My embedded system is having only root user and it is a headless system. And I have some applications which has to be started at boot time under user defined target which I know how to do. My Application has to connect to session dbus as soon as it started which is failing to start because session dbus is not available at that time. So I want to start a session dbus which should be unique for all applications till I shutdown the system. I have no Idea how to start that session bus. can anyone help me for this? On Wed, Aug 15, 2018 at 5:30 PM, <[email protected]> wrote: > Send dbus mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/dbus > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of dbus digest..." > > > Today's Topics: > > 1. session dbus for root user. (deepan muthusamy) > 2. Re: session dbus for root user. (René J.V. Bertin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 15 Aug 2018 14:48:31 +0530 > From: deepan muthusamy <[email protected]> > To: [email protected] > Subject: session dbus for root user. > Message-ID: > <CAPNtGhV-neZMgOxshSCogTp4r11R_NtWfSEha2wkdDq+6RWC_A@mail. > gmail.com> > Content-Type: text/plain; charset="utf-8" > > Why echo $DBUS_SESSION_BUS_ADDRESS prints nothing for root user? > > How to start session dbus at boot time for root user ? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <https://lists.freedesktop.org/archives/dbus/attachments/ > 20180815/333074eb/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Wed, 15 Aug 2018 11:42:18 +0200 > From: René J.V. Bertin <[email protected]> > To: [email protected] > Subject: Re: session dbus for root user. > Message-ID: <5214039.EMHF0PDDNR@bola> > Content-Type: text/plain; charset="us-ascii" > > On Wednesday August 15 2018 14:48:31 deepan muthusamy wrote: > >Why echo $DBUS_SESSION_BUS_ADDRESS prints nothing for root user? > > > >How to start session dbus at boot time for root user ? > > > Why run a full desktop session for the root user? That's not really good > practice (understatement), and it seems more and more GUI applications > refuse to run as root. > > If that's not what you're doing but you have problems connecting to a > session dbus when using sudo, try to figure out how to preserve the > DBUS_SESSION_BUS_ADDRESS variable through the sudo call, and if that's good > enough for your purposes. > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > dbus mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/dbus > > > ------------------------------ > > End of dbus Digest, Vol 157, Issue 5 > ************************************ > _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus