Обсуждение: pgaccess failed, used to work
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"
Error in startup script: invalid command name "image"
while executing
"image create bitmap dnarw -data {
#define down_arrow_width 15
#define down_arrow_height 15
static char down_arrow_bits[] = {
0x00,0x80,0x00,0x80,0x0..."
(file "/usr/local/pgsql/share/pgaccess/main.tcl" line 5)
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
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"
>Error in startup script: invalid command name "image"
> while executing
>"image create bitmap dnarw -data {
>#define down_arrow_width 15
>#define down_arrow_height 15
>static char down_arrow_bits[] = {
> 0x00,0x80,0x00,0x80,0x0..."
> (file "/usr/local/pgsql/share/pgaccess/main.tcl" line 5)
>
>
>
>________________________________________________
>Get your own "800" number
>Voicemail, fax, email, and a lot more
>http://www.ureach.com/reg/tag
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html
>
looks like your DISPLAY variable is incorrect; this problem is unrelated
to pgaccess. If you continue getting errors like this, set your
DISPLAY to ":0.0". This is _probably_ the correct number. Use the
following command:
export DISPLAY=:0.0
to check, use:
echo $DISPLAY
-- Luke Kale Myers
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