1832201 Members
2672 Online
110039 Solutions
New Discussion

Re: XServer

 
Mike Burk
Advisor

XServer

I am trying to display a java app on a 10.2 box over the network that is running on an 11.0 box. I get "connection refused by server" I have run /usr/bin/X11/xhost + but I still get the error?
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: XServer

check your display variables andalso that hostname/ip address resolution resolves correctly & both ways.

for testing dont use the java gui use xclock ... it comes with a -display option too .... does this work ?

Can you post the exact full syntax of the error + contents of /var/dt/Xerrors if timestamp looks relevant ?

ps -ef | grep X on both systems ?

Have you su'd at anytime ?
Mike Burk
Advisor

Re: XServer

The display variable is setup correctly, I tried Xclock and it also bombs. I have su'ed on these boxes. When I run the xhost + command I am logged on locally as root, the command runs and then I get a message that states that I need to be logged on locally to disable or enable security?
Alex Glennie
Honored Contributor

Re: XServer

could this be user based Xaccess control as opposed to host based ..... any problem with posting the above info ?

if ps -ef | grep X comes back with a -auth string one or more of the hosts is running X with user auth enabled.

could try sharing the .xauthority files ?

Whats in Xerrors ?
Wodisch
Honored Contributor

Re: XServer

Hello Mike,

when you "su" you loose your DISPLAY variable!
Set it pointing to the display you are sitting in front
of and do not forget to append ":0.0" to the IP-address
or hostname.

HTH,
Wodisch