[comp.sys.apollo] how to remotely

oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA) (05/10/91)

I'm running the example in /usr/X11/examples/x_and_gpr .
It runs fine if you are logged in direcly on the display.
I can't get it to run remotely. The error is:

dude% x_share_gpr
Not a local connection.
XIO:  fatal IO error 9 (Bad file number) on X server "spam:0.0"
      after 26 requests (25 known processed) with 0 events remaining.

Examining the source code, the error came from:
    if (!XapolloConnectionIsLocal (display))
	terminate_x ("Not a local connection.");

My question: Is it possible to run a gpr program within an X window, remotely ?
             If yes, a short example would be appreciated.

I tried to use gpr_$initialize(gpr_$x_window_id,....) but got nowhere.
Thanks.

    Roque Oliveira
    oliveria@caen.engin.umich.edu