Re: Remote bonobo controls.

"Nickolay V. Shmyrev" <[email protected]> Fri, 16 Sep 2005 13:48:39 +0400
Newsgroups gmane.comp.gnome.components
Message-ID <1126864119.3839.11.camel@t94>
=F7 =FE=D4=D7, 15/09/2005 =D7 21:35 +0200, Stephen Asherson =D0=C9=DB=C5=D4=
:
> Hi,
>=20
>  I have been trying to load a bonobo control remotely on one machine=20
> from another remote machine. What i have done is obtained the Bonobo=20
> control on the server machine and the IOR of the "wrapped" CORBA object=
=20
> in the bonobo control, i have then passed the IOR to the client and use=
d=20
> the IOR on the client side to obtain a reference to the corba-object=20
> (bonobo-control). However when i try and display the bonobo control on=20
> the client side...it does not display properly. Can you offer any=20
> advice? Any help would be greatly appreciated.
>=20
> Thanks,
> Stephen Asherson.

Hi Stephen

It's really hard to say what's happen in your case.=20

How it should work in theory (just overview, not with details exactly):

1. You pass the IOR and create CORBA_Object which corresponds to
control. (Do you use bonobo-activation?)

2. then you pack your BonoboControl to BonoboControlFrame

3. BonoboControlFrame asks remote control to create GtkPlug and get it's
X window id.=20

4. Then communications start by XEmbed protocol between remote X Client
and your local Xserver.

You see it's quite complicated schema, so it's hard to make it work. The
problem can lie in CORBA communication, it also can be X server
authentication issue or even just your remote X client setup. The
easiest thing is to debug this situation.

Can you build bonobo with debug support and set up environment variables
BONOBO_DEBUG=3Dall and ORBIT2_DEBUG=3Dall. Then please collect logs of
communication between client and server and post them. Also some
debugging with gdb may help.