Operating System - HP-UX
1826502 Members
1798 Online
109692 Solutions
New Discussion

Re: Display not authorized

 
Raul del Castillo
Contributor

Display not authorized

I have granted access to everyone in my system with the X11 command: xhost +.
But eachtime I try to display on it ( display option) I get always the same response:

Xlib: connection to "my_node:0.0" refused by server
Xlib: Client is not authorized to connect to Server

How can I change this configuartion?
4 REPLIES 4
federico_3
Honored Contributor

Re: Display not authorized

Have you exported the DISPLAY before running:
xhost +



regards,

federico
Rita C Workman
Honored Contributor

Re: Display not authorized

Did you remember to

export DISPLAY=host:0.0

Just a thought,
Andreas Voss
Honored Contributor

Re: Display not authorized

Hi,

you could create the file:
/etc/X0.hosts
and add all hostnames in it.

Regards
Alex Glennie
Honored Contributor

Re: Display not authorized

Does the output from : ps -ef ? grep X (on your local system) show : /usr/bin/X11/X : 0 -auth ........ ? or just /usr/bin/X11/X : 0 ?