Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No display Name and no $Display...

Status
Not open for further replies.

NitzGuy

Programmer
Jun 9, 2003
28
CA
Hello,
I am trying to install pgaccess on a redhat 7.3 linux server, as far as I know everything is ok but when I fo to run it I get this error message.

Application initialization failed: no display name and no $DISPLAY environment v
ariable
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/pgaccess/main.tcl" line 5)

Can anyone Offer any assistance?
Thanks in advance
Jason Fournier
 
If you are connected though the server console, then do:

export DISPLAY=0.0.0.0:0.0
or
export DISPLAY=127.0.0.0:0.0

If you telnet into the server:
1) You need an X-Windows session.
2) Figure out your IP address (On windows client START>RUN>CMD and type ipconfig to get the address).
3) In telnet session type:

export DISPLAY=111.22.333.44:0.0
where 111.22.333.44 is your IP address.

----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top