pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Ravi Katkar <Ravi.Katkar@infor.com>
Cc: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: ODBC and configure
Date: Tue, 27 Jul 2010 16:06:41 +0800
Message-ID: <4C4E9391.3040406@postnewspapers.com.au> (raw)
In-Reply-To: <46AC8D44F3AE1F4888F137837D0DF63508853EE010@INHYWEXMB2.infor.com>
References: <46AC8D44F3AE1F4888F137837D0DF63508853EE010@INHYWEXMB2.infor.com>

On 27/07/10 14:48, Ravi Katkar wrote:

>  1.  Downloaded the "odbctest.c" file from website and copied into unix machine
>  2.  Compile and run the file
> Problem:
>      While running odbctest testPSQL earlier it was working fine, but now everytime its giving the below error:
>      odbctest: cannot connect to X server

This isn't a PostgreSQL problem.

Your 'odbctest.c' (where *did* you get that, anyway? What URL?) appears
to be using a GUI toolkit that requires an X11 graphical environment.
That's what "cannot connect to X server" refers to ; it's nothing to do
with the PostgreSQL server.

If you have an X11 server running on your local machine, connect to the
machine odbctest is on using "ssh -X" to enable ssh X11 forwarding. Then
odbctest should run over the SSH X11 tunnel.

Otherwise, compile odbctest without any GUI requirements. Without some
idea of where you got "odbctest.c" and what it is, I can't really help
you with that.

--
Craig Ringer



view thread (6+ messages)  latest in thread

Message-ID: <4C4E9391.3040406@postnewspapers.com.au>
Permalink:  ../4C4E9391.3040406@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4C4E9391.3040406@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: craig@postnewspapers.com.au, Ravi.Katkar@infor.com
  Subject: Re: ODBC and configure
  In-Reply-To: <4C4E9391.3040406@postnewspapers.com.au>
  References: <46AC8D44F3AE1F4888F137837D0DF63508853EE010@INHYWEXMB2.infor.com> <4C4E9391.3040406@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox