[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: DCOP without X server
From: David Faure <david () mandrakesoft ! com>
Date: 2001-11-30 14:16:27
[Download RAW message or body]
On Friday 30 November 2001 15:09, Stephan Kulow wrote:
> On Friday, 30. November 2001 13:54, Matthias Ettrich wrote:
> > On Friday 30 November 2001 13:23, Cornelius Schumacher wrote:
> > > Is there a way to use DCOP in a program, which doesn't have a connection
> > > to a X server? This would be intereting for daemon-like programs.
> >
> > Here I go again: DCOP is based on libICE. libICE does NOT requires Xlib or
> > a running X server. It is designed to work without the X Window System
> > (although it happens to live in the same software archive).
> >
> > > I'm also asking, because the KUniqueApplication constructor has this
> > > GUIEnabled flag. Where is the point in creating a KUniqueApplciation
> > > without GUI, when the X server connection is required by the DCOP stuff
> > > anyway?
> >
> > Because it is not required.
> >
> > Where do you guys always get the idea from that dcop has anything to do
> > with Xlib or a XServer?
> >
> Hmm, is this a possible reason for the confusion?
>
> coolo@sein#~>DISPLAY= dcopserver
> Aborting. $DISPLAY is not set.
Yes, and that's because of the case where the user runs multiple X sessions
from the same account, on the same host - IIRC we decided it should have different
dcop servers in that case.
Maybe the fix, to make dcop available without X too, is as simple as
"if no DISPLAY is set, then use ~/.DCOPserver_NODISPLAY instead of
~/.DCOPserver_$DISPLAY" ?
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE 3.0: Konquering the Desktops
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic