Re: [GENERAL] pgaccess failed, used to work - Mailing list pgsql-interfaces

From Holger Marzen
Subject Re: [GENERAL] pgaccess failed, used to work
Date
Msg-id Pine.LNX.4.44.0202140740470.12252-100000@bluebell.marzen.de
Whole thread Raw
In response to pgaccess failed, used to work  (Eric Webber <streethockey@ureach.com>)
List pgsql-interfaces
On Wed, 13 Feb 2002, Eric Webber wrote:

> pgaccess used to work fine, now I get this, I changed nothing,
>
> have no idea why, anyone else see this.  only thing I did
> was restart X. doesnt matter which user either
>
> regards,
> Eric streethockey@ureach.com
>
> pgaccess &
> [1] 19239
> [root@gims X11]# Application initialization failed: couldn't connect to display "192.168.0.3"

Don't work as root!

It seems that you did a "su" or "telnet" to your local or another
machine and then started pgaccess. Either your DISPLAY variable isn't
correct (it should be something like 192.168.0.3:0 - ipaddress of the
machine where your X-server runs and a display number, eg 0 for the
first X-server) or you forgot to issue a "xhost +xxx" where xxx is the
name or the ip address of the machine running pgaccess.

It is no pgaccess problem. xclock won't work, either. I recommend using
ssh with enabled X11-forwarding, that does the job of setting DISPLAY
and permissions automagically.


--
PGP/GPG Key-ID:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xB5A1AFE1


pgsql-interfaces by date:

Previous
From: Markus Wagner
Date:
Subject: serious problems with BOOL and Access
Next
From: "Liam DeMasi"
Date:
Subject: Re: Postgresql - Access2000