Operating System - HP-UX
1846566 Members
1615 Online
110256 Solutions
New Discussion

Re: Display problem with non-root users

 
SOLVED
Go to solution
Burhan I. Koni
Advisor

Display problem with non-root users

Dear all
I have HP-UX 11i server. I am trying to use the display from applmgr user (in oracle applications) but I get the following error:
$ export DISPLAY=Fin02:0.0
$ xclock
Xlib: connection to "Fin02:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: Fin02:0.0

but this test on xclock succeeds with root user

Regards
2 REPLIES 2
Hein van den Heuvel
Honored Contributor
Solution

Re: Display problem with non-root users

On fin02 check out the x host permission configuration. For hpux this is managed y xhost. Read all about it with 'man xhost'.
For the purpose of experiment open up the box completely with 'xhost +'. When you see your test work (congrats on using xclock! this removes any doubts about a client coding problem) then refine as needed. That is probably: xhost -; xhost +applmgr

Hein.
Burhan I. Koni
Advisor

Re: Display problem with non-root users

Thanks
problem solved.


Regards
Burhan Koni