Skip site navigation (1) Skip section navigation (2)

Re: pgaccess failed, used to work

From: Holger Marzen <holger(at)marzen(dot)de>
To: Eric Webber <streethockey(at)ureach(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: pgaccess failed, used to work
Date: 2002-02-14 06:45:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-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(at)ureach(dot)com
> pgaccess &
> [1] 19239
> [root(at)gims X11]# Application initialization failed: couldn't connect to display ""

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 - 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.


In response to

pgsql-interfaces by date

Next:From: Markus WagnerDate: 2002-02-14 12:42:41
Subject: serious problems with BOOL and Access
Previous:From: Eric WebberDate: 2002-02-14 01:04:24
Subject: pgaccess failed, used to work

pgsql-general by date

Next:From: Manuel Duran AgueteDate: 2002-02-14 10:29:36
Subject: Strange problem with inserts.
Previous:From: Tom LaneDate: 2002-02-14 05:01:47
Subject: Re: Problem with null dates in 7.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group