From: | "Liam DeMasi" <ldemasi(at)acsinc-nj(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: pgaccess |
Date: | 2002-02-22 19:57:35 |
Message-ID: | a5680a$gjf$1@jupiter.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
"Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> wrote in message
news:1014331565(dot)3217(dot)938(dot)camel(at)linda(dot)(dot)(dot)
> On Wed, 2002-02-20 at 20:50, paul simdars wrote:
> >
> > In Xwindow, if I su to root and type pgaccess, the window comes up.
> > When I su to postgres or my regular user account and type pgaccess I get
> > error messages, they start like this :
>
> This is not a pgaccess error; it is because of the way you are using X
> The same would apply if you ran xterm or xeyes.
>
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Client is not authorized to connect to server
> > Application initialization failed: couldn't connect to display ":0"
>
> This is because the new user which you have become does not have
> authority to use your X session. One way to solve it is to do
>
> export XAUTHORITY=~/.Xauthority
>
> as the user who starts X, which will work if you su to root, but not to
> another non-superuser, because that user will not be able to read the
> file.
>
> Alternatively do
>
> xhost +localhost
>
> which should allow any user on localhost to connect to your X session
>
>
> --
> Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
> Isle of Wight http://www.lfix.co.uk/oliver
> GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
>
> "My sheep hear my voice, and I know them, and they
> follow me; And I give unto them eternal life; and they
> shall never perish, neither shall any man pluck them
> out of my hand." John 10:27,28
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
I would like to use pgaccess but i didn't include the "--with-tcl" when i
configured my installation. Is there a way to activate it now?
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-02-22 20:04:18 | Re: libpqxx (proposed new C++ frontend) online |
Previous Message | Andreas Kretzer | 2002-02-22 08:19:40 | Re: RH Linux 7.2 |