Operating System - HP-UX
1833301 Members
2942 Online
110051 Solutions
New Discussion

xterm returns error: "Error: Couldn't find per display information"

 
SOLVED
Go to solution
Shweta_3
Occasional Advisor

xterm returns error: "Error: Couldn't find per display information"

Hello,
Similar question has surfaced before in this forum, however none of the answers got me the solution.

Scenario:
On HP machine "hpmach"
export DISPLAY=linuxmac:0.0
On machine: linuxmac, xhost +hpmach is set.

"xclock" works correctly, opening the clock on the linux machine.
However, xterm returns with error
$xterm
Error: Can't open display: hpmach:0.0
Error: Couldn't find per display information

Since "xclock" works well, we eliminate any setup problem with Xserver on linuc machine or any other permission issue.

Is there any other action required for "xterm"?

Thank You
3 REPLIES 3
Muthukumar_5
Honored Contributor
Solution

Re: xterm returns error: "Error: Couldn't find per display information"

Yes. You can not use hostname with DISPLAY parameter.

Try to put as,

export DISPLAY=:0.0

hth.
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: xterm returns error: "Error: Couldn't find per display information"

have you looked into these threads ?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=676028
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=370247

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Shweta_3
Occasional Advisor

Re: xterm returns error: "Error: Couldn't find per display information"

Thanks a lot. I over-looked a trivia.
The DISPLAY does require an IP address and not hostname.