Operating System - HP-UX
1834413 Members
3041 Online
110067 Solutions
New Discussion

Re: xterm Xt error: Can't open display: %s

 
David Scholz
Frequent Advisor

xterm Xt error: Can't open display: %s

Hi,
I can't start X applications like xterm or others on a HP-UX server. (HP-UX Srv_1 B.11.11 U 9000/800)

I'm connecting with Telnet from a Linux (suse10.2) box to the hp-ux Srv_1 machine. Display is set with
DISPLAY=client:1.0; export DISPLAY and on the client I've done a xhost + Srv_1.

I get another error messages when I start 'xlock' or 'opc' application.
Error: Can't open display: client:1.0
Error: Couldn't find per display information


Are there any special packages I need to install on the linux box to display the CDE applications?
I've installed all QT and XT library provided from suse.

thanks

David
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: xterm Xt error: Can't open display: %s

Hi David,

No additional packages needed that I'm aware, occasionally setting up a font-server on the unix server to serve the dt-interface fonts is required but certainly not likely in the case of xclock.

I'd suggest hostname resolution/lookup needs to be looked at here :

Try adding the FQDN's of the linux and hpux systems involved to their repsective /etc/hosts files and try again.

Also worth checking with nsllookup on both systems that they resolve each other correctly.
David Scholz
Frequent Advisor

Re: xterm Xt error: Can't open display: %s

Tried that but no success. :(

But as always it must be an easy trick available. Any other ideas?

The resolution works fine vice versa, but I've added the hosts to each local /etc/hosts anyway. Just to give it a try..
Steven Schweda
Honored Contributor

Re: xterm Xt error: Can't open display: %s

Why ":1.0"? Why not ":0.0"? How many X
servers are you running there?

"netstat -a" on the X server, look for
listeners at ports 6000, 6001, ...?

> [...] on the client I've done a xhost + Srv_1

Terminology?:
You do "xhost" on the X _server_, where the
display is. The X _client_ is where the
program runs which sends stuff to the X
server to have it displayed.