How to get tcp listen port
Thiago Macieira
thiago at kde.org
Mon Feb 25 23:40:09 PST 2008
Joshua Swink wrote:
>I misspoke, of course. I meant to say "how do the session dbus-daemon
>instances locate the system dbus-daemon instance?"
They don't. The session bus does not connect to the system bus.
The D-Bus client applications that try to connect to the system bus first
try to see if $DBUS_SYSTEM_BUS_ADDRESS is set. If it's not, they use the
hardcoded default.
>> Why do you need the system bus to be on a TCP port anyways?
>
>I am trying to run Gnome on a headless server and view it from a
>terminal. VNC takes care of the keyboard, monitor, and mouse. I'm
>hoping dbus can connect even more of the client hardware to the
>desktop.
That sounds wrong. You need to identify which services from the system bus
have to be forwarded. Then you need to forward them individually using a
special program on the client machine to the server, directly to whatever
in GNOME handles those events. You must not replace the system bus on the
server either, but you may have to invent a "hybrid system" bus.
This, in fact, sounds more like a job for HAL than for D-Bus.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080226/b4d5b2fe/attachment.pgp
More information about the dbus
mailing list