Обсуждение: Problem with pgaccess

Поиск
Список
Период
Сортировка

Problem with pgaccess

От
Héctor Morales
Дата:
Hi  , i am novate in postgres and i want run de pgaccess but when i run

bash$ pgaccess

return the follow errors

Xlib: connection to "0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Application initialization failde: couldn't  connect to display "0.0"
Error in startup script: invalid command name "image"
.
.
.

when i redirect de Display with

bash$ export DISPLAY=<hostname>:0.0;

where hostname is my machine.   The same error.

2. When a run pgaccess with other user not postgres, isn't load
"libpgtcl.so": /usr/lib/libpgtcl.so

and the libray is there.

Can you help me.

Thanks

Hector Morales
Guatemala C.A.



Re: [GENERAL] Problem with pgaccess

От
Bruce Momjian
Дата:
This is a problem with your X server authorization configuration.  Try
xhost command.

> Hi  , i am novate in postgres and i want run de pgaccess but when i run
>
> bash$ pgaccess
>
> return the follow errors
>
> Xlib: connection to "0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Application initialization failde: couldn't  connect to display "0.0"
> Error in startup script: invalid command name "image"
> .
> .
> .
>
> when i redirect de Display with
>
> bash$ export DISPLAY=<hostname>:0.0;
>
> where hostname is my machine.   The same error.
>
> 2. When a run pgaccess with other user not postgres, isn't load
> "libpgtcl.so": /usr/lib/libpgtcl.so
>
> and the libray is there.
>
> Can you help me.
>
> Thanks
>
> Hector Morales
> Guatemala C.A.
>
>
>
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026