1834163 Members
2880 Online
110064 Solutions
New Discussion

Re: Xlib display refused

 
Warner Wong
New Member

Xlib display refused

I obtained a new 2nd handed HP 712 workstation & was attempting to display a software graphical application via the line below:

export DISPLAY=192.168.10.72:0.0

The response was:
Xlib: connection to "192.168.10.72:0.0" refused by owner

I'd checked the file /var/adm/inetd.sec; it does not deny anything? What else could it be?
2 REPLIES 2
Simon Hargrave
Honored Contributor

Re: Xlib display refused

Execute the following command on the workstation: -

xhost +

This will allow other servers to run applications on that X server.

You can also do xhost +yourserver to allow just a particular server, whereas the first instance allows anyone.
Fred Ruffet
Honored Contributor

Re: Xlib display refused

host 192.168.10.72 is refusing X connection. To enable, use "xhost +" on 192.168.10.72. This will unlock access to X display to this host, from any machine. To restrict from one machine, issue "xhost +myhost" (where myhost is the machine running the graphical app).

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)