Operating System - HP-UX
1835346 Members
2724 Online
110078 Solutions
New Discussion

Re: Limitation on display value

 
David Wight
Occasional Contributor

Limitation on display value

Is there a limit as to how high the value of the display id can be when running some X applications?

We are using a PC based X server to run X applications on an HP-UX 10.20 host.
If we set the display to be :

:10

all the X applications work.

However, if we set the display to be :

:150

then some applications, for example dtterm, fail with the error:

dtterm fails with:
Error: Can't open display: NAT06.sgjds.telefonica.es:150.0
Error: Couldn't find per display information


It appears to be a problem if the display id is
greater than 99 (ie 3 digits).


Can anyone give me any information regarding this and are there are workarounds.

Thank you

Regards

Sue
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Limitation on display value

Hi David:

This is not a limitation of the X application but rather of your X server (i.e. your PC emulator).

The format of the DISPLAY variable is
hostname:displaynumber.screennumber

where hostname can be the hostname or IP address; displaynumber generally refers to a set of monitors that share a common keyboard and mouse; screennumber (default 0) is used when a monitor is shared among multiple keyboards and mice.

Note that DISPLAY is simply an environment variable to the application's environment; it is up to your PC emulator to do with as it will.

Clay
If it ain't broke, I can fix that.
Alex Glennie
Honored Contributor

Re: Limitation on display value

I strongly suspect this is a hard coded limit on the Xserver as opposed to your applications though I've found no evidence to support this theory.

However why do you need to set the display to anything other than :0.0 ?
Alex Glennie
Honored Contributor

Re: Limitation on display value

hey Clay I'm right behind you man ! except David's now Sue ;)
Wodisch
Honored Contributor

Re: Limitation on display value

Hello David or Sue,

you could configure VNC to use a server-number
of 150, point your "dtterm" to it, and thus see
wether it is the application or the X-server...
but why do you do this? Do you really have one
station where more than 99 old-fashioned
graphics terminals are connected to it, so that
each one has its own X-server process running?
Never seen that :-/

Just my ?0.02,
Wodisch
PS: Ever heard the Johnny Cash song "Boy named Sue"? :-)
Charles Slivkoff
Respected Contributor

Re: Limitation on display value

There was an Xlib defect with high dipslay numbers (for some reason 99 comes to mind) which was fixed a year or two back. Check your patches and make sure you have a recent X11/Motif run-time patch loaded.

Michael Tully
Honored Contributor

Re: Limitation on display value

Hi Sue,

I also recall a bug some time back but cannot
exactly remember what it was. I am surprised you
have so many connections from the one X-server.
Do you have any memory bottlenecks?

BTW Wodisch, I thought the best Johnny Cash song was "Burning Ring of Fire!"

-Michael

Anyone for a Mutiny ?