[PD] GEM:Unable to create single buffer window

Mirko Petrovich prab at terra.cl
Wed Mar 27 21:14:56 CET 2002


Hi all,

I think my explanation wasn't very clear.
GEM is running fine, and some examples are working too.What doesn't work
is sending a message "buffer 1" to a gemwin.If I change the message to
"buffer 2" (I guess this is the default mode) it works.

My questions are:

1.-Why I can't create a window in single buffer mode ?
I get :
error: GEM: Unable to create single buffer window
error: GEM: Unable to create window


2.-Why I get these messages when I create a window? (the window is
created an GEM works fine) 
error: GEM: Could not open display 01
error: GEM: Error creating const context
error: GEM: A serious error occured creating const Context
error: GEM: Do not continue!
GEM: window created

I tried what marco suggested but I got the same results.

Any other ideas?
Thanks in advance.


Mirko Petrovich

 

marco wrote:
> 
> If you are running pd as root in a window session started by a user you
> may be running into an x security mechanism.
> You will have to type (as user, before starting the x session?)
> 
> xhost +localhost
> 
>   The above line allows any request to open an x client from the address
> localhost to have access to your xserver.  If you add the line to your
> .bashrc this will be done for every xterm, every session you start.
> 
> Hope this helps,
> 
> marco
> 
> Mirko Petrovich wrote:
>  > Hi all:
>  >
>  > Everytime I try to create a gemwin in single buffer mode I get the
> following
>  > messages:
>  >
>  > error: GEM: Unable to create single buffer window error: GEM: Unable
>  > to create window
>  >
>  > The same happens in the examples.
>  >
>  >
>  > I don't know if this is related but everytime I create a window I
>  > get:
>  >
>  > error: GEM: Could not open display 01 error: GEM: Error creating
>  > const context error: GEM: A serious error occured creating const
>  > Context error: GEM: Do not continue!
>  >
>  > This is in Gem 0.86 RedHat 7.1
>  >
>  > Any ideas? Thanks in advance.
>  >
>  > Mirko Petrovich
>  >
>  >



More information about the Pd-list mailing list