[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Common server activation
From:       Steffen Hansen <stefh () mip ! sdu ! dk>
Date:       1999-06-27 22:00:41
[Download RAW message or body]

On Sun, 27 Jun 1999, Miguel de Icaza wrote:

> 
> > For GNOME this means (if I got things correctly) : No more ORBit specific
> > cookie security handling. I agree here with Steffens points and I think
> > using normal unix sockets for IIOP should be sufficient for now.
> > What do the GNOME people think?
> 
> That is completely broken.  I do not want to see GNOME broken because
> CORBA failed to deal with these problems.

Hmm. It look very much like ORBit uses unix domain sockets for
communication. The pipes are in /tmp/orbit-$LOGNAME/ on my
box. The goad-browser i have running on my desktop doesn't look broken...

> The N in GNOME stands for "Network", Unix domain sockets are far from
> "Network" in this regard.

How do make sure that you dont transfer the cookie to an untrusted server
then? As long as this problem isn't solved, using inet socket looks like a
big security risk to me.

> > But I'm not very well informed about GNOME's .gnorba files and their
> > structure, however I think we _could_ put these three types of entries
> > into the common .desktop file standard as they're used commonly between
> > both environments. We just might want to agree on standard names of them.
> 
> Sticking every bit of information you need in a .desktop file is
> broken.  
> 
> It might be ok for some people used to Windows, or to the SuSE config
> setup, but I do not want a gigantic file /etc/The-System to control
> the whole system.
> 
> And bloating .desktop files is exactly the same in this regard.  "We
> need to add more information, where should it go?"  The answer varies,
> but it is definetly not "on the .desktop file".

Sigh. I think you are misunderstanding Simon here. He just wants standard
names for the thing Gnome and KDE already do. Where do you get the one big
/etc/The-System from?

AFAIK Gnome stores the info for server foo in
/etc/CORBA/server/foo.gnorba. To me, the .gnorba files look just like
.desktop files. For example:

(stefh@nostromo) /etc/CORBA/servers> cat cpumemusage_applet.gnorba
[cpumemusage_applet] 
type=exe 
repo_id=IDL:GNOME/Applet:1.0 
description=CPU Load/memory usage applet
location_info=cpumemusage_applet 

and

(stefh@nostromo) ...kde2/share/services> cat konqueror.desktop 
[Desktop Entry] 
Name=Konqueror 
Exec=konqueror
CORBAExec=konqueror --server 
Comment=KDE File Manager & Web Browser
X-KDE-RepoIds=IDL:Konqueror/Application:1.0#App
X-KDE-ActivationMode=shared 
Icon=unknown.xpm 
MiniIcon=unknown.xpm
ServiceTypes=FileManager

If we can agree on some common key-value pairs in these files, where to
store the files, and some common command line options[1] for telling the
activated server about the location of the naming service etc. then it
should be possible for (KDE|Gnome) to activate (Gnome|KDE) servers.

Just yelling that "the other" DE's way to do things "is completely broken"
isn't going to help.

greetings,
-- 
Steffen Hansen                            
email: stefh@mip.sdu.dk, stefh@imada.sdu.dk, hansen@kde.org 
URL:   http://www.mip.sdu.dk/~stefh       

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic