Problem with pgaccess

Started by Héctor Moralesover 26 years ago2 messagesgeneral
Jump to latest
#1Héctor Morales
hector.morales@edisa.com.gt

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.

#2Bruce Momjian
bruce@momjian.us
In reply to: Héctor Morales (#1)
Re: [GENERAL] Problem with pgaccess

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