Re: Question about D-Bus and cygrunsrv

2019-10-22 Thread Mike Brady
Just as a quick follow-up, I've put the two code samples up on github: https://github.com/mikebrady/dbus-example -- this uses the regular dbus1 library and works on Linux and Cygwin. https://github.com/mikebrady/gdbus-example

Re: Question about D-Bus and cygrunsrv

2019-10-22 Thread Mike Brady
Hello again. I've returned to this continuing problem and come up with a short piece of code which seems to exemplify this problem. It works in Linux and doesn't work in Cygwin. Basically, the code is an attempt to get a "name" on the D-Bus "system bus" which could be used to provide a system-

Re: Question about D-Bus and cygrunsrv

2019-02-27 Thread Mike Brady
Thanks for the comments. I’ll certainly check the security side of things. What is a bit intriguing is that another application — the Avahi daemon (see http://avahi.org) that provides ZeroConf / Bonjour service discovery services — also uses the D-Bus system bus and it works fine as a cygrunsrv-

Re: Question about D-Bus and cygrunsrv

2019-02-25 Thread L A Walsh
On 2/22/2019 2:16 PM, René Berber wrote: > > > My guess is that its a permission problem: D-Bus by default on Windows > uses unix sockets (fills up your temp directory with those pesky files : > - -) > > In Cygwin the temp directory has the sticky permission (t), but the > socket file created by th

Re: Question about D-Bus and cygrunsrv

2019-02-22 Thread René Berber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2/22/2019 3:55 AM, Corinna Vinschen wrote: >>> On 20 Feb 2019, at 21:50, Mike Brady >>> wrote: >>> >>> Hi there. I'm trying to set up Shairport Sync as a CYGWIN >>> service, and I'm trying to use cygrunsrv. >>> >>> Briefly, I can get everyth

Re: Question about D-Bus and cygrunsrv

2019-02-22 Thread Mike Brady
Thanks for the response, Corinna, and the suggestion. I will do that and come back to you guys. Mike > On 22 Feb 2019, at 09:55, Corinna Vinschen wrote: > > Hey Mike, > > On Feb 21 16:56, Mike Brady wrote: >> Hello again. Further to the rather vague email below, here is a link to what >> I d

Re: Question about D-Bus and cygrunsrv

2019-02-22 Thread Corinna Vinschen
Hey Mike, On Feb 21 16:56, Mike Brady wrote: > Hello again. Further to the rather vague email below, here is a link to what > I did to install Shairport Sync on a fresh Cygwin installation: > > https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md >

Re: Question about D-Bus and cygrunsrv

2019-02-21 Thread Mike Brady
Hello again. Further to the rather vague email below, here is a link to what I did to install Shairport Sync on a fresh Cygwin installation: https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md Regards M

Question about D-Bus and cygrunsrv

2019-02-20 Thread Mike Brady
Hi there. I'm trying to set up Shairport Sync as a CYGWIN service, and I'm trying to use cygrunsrv. Briefly, I can get everything to work properly except the D-Bus interface -- when shairport-sync is installed as a service, it can't "own" a well-known name on the "system" D-Bus. I built a conf