discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serious GDNC problem


From: Stefan Urbanek
Subject: Re: Serious GDNC problem
Date: Mon, 22 Apr 2002 15:08:55 +0200

Richard Frith-Macdonald wrote:
> 
> On Monday, April 22, 2002, at 10:48 AM, Stefan Urbanek wrote:
> 
> > Hi,
> >
> > I am still having really serious problems with GDNC when running on XDM
> > session. When running on one machine, it is OK.
> >
> > I have a tool sending distributed notifications and application
> > observing those notifications. Tool is sending those notifications to
> > one gndcserver and application is listening from another, so application
> > does not get any notifications.
> >
> > So I have done this:
> >
> > 1. killed gdomap and all gdnc servers (yes, there were more)
> > 2. restarted gdomap
> > 3. run the tool - this will launch gdnc and register it as 'GDNCServer'
> >
> >       > ps ax | grep gdnc
> >        9285 ?        S      0:00
> > /usr/GNUstep/System/Tools/ix86/linux-gnu/gnu-gnu-gnu/gdnc
> >
> > 4. run the application - this will lanch another gdnc server and
> > register it as
> >    'GNDCServer-some.host.name'
> >
> >       > ps ax | grep gdnc
> >        9285 ?        S      0:00
> > /usr/GNUstep/System/Tools/ix86/linux-gnu/gnu-gnu-gnu/gdnc
> >        9374 ?        S      0:00
> > /usr/GNUstep/System/Tools/ix86/linux-gnu/gnu-gnu-gnu/gdnc -NSHost
> >       shine.dcs.elf.stuba.sk
> >
> > Here you may see, that I have two gdnc servers runnging. Tool is using
> > first one and application is using the second one. So application cannot
> > receive distributed notifications from the tool.
> >
> > Also when I restart the application, I have same problem as before:
> > application is waiting for something (gdnc?), but without any output
> > telling what is the app doing.
> >
> > I have presentation on tuesday, and this is very important for me to
> > work.
> >
> > Any help is welcome. Thank you,
> 
> Distributed notifications are supposed to be shared between different
> applications on the same workstation, not between applications on
> different workstations.
> 
> So if your application is displaying to another workstation, your tool
> needs
> to be started up to use that workstation too (assuming you want them to
> chare a notification center).
> 
> So in this case it looks like you need to start your tool with
> -NSHost shine.dcs.elf.stuba.sk
> 

Thank you very much. 

I think, this should be placed somewhere in GNUstep documentation.

One question: Is it possible to choose particular
NSDistributedNotificationCenter? I am connecting to a server (tool) and
I also want to observe notifications from that sever. Server does not
have to know, from where I would like to observe notifications.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]