Anjan Borthakur wrote:
>
> hi,
> i am trying to run pgaccess(/usr/bin/pgaccess).
> when i type pgaccess at the shell prompt i get display problems.
> if i open /usr/bin/access it invokes /usr/bin/wish.
> i correct the display problem by setting DISLAY environment variable.
> but after that if i run wish from the shell prompt i get the foolowing
> mesage:_X11TransocketINETConnect: Can't connect : errno = 111
> couldn't connect to display localhost:0.0
>
> as for pgaccess, the error given is about :image
> 5th line of /usr/bin/pgaccess.
It's not a PgAccess problem. It's a problem related to your X
configuration.
First of all, if DISPLAY variable isn't right that means that somethings
already wrong there.
in bash try
xhost +
export DISPLAY=localhost:0.0
Best regards,
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA