1830057 Members
2521 Online
109998 Solutions
New Discussion

xhost is not working

 
CHAKRADHAR_1
Advisor

xhost is not working

Hi all

we ever i,m starting xhost, process is getting hanged.

can anybody let us know what to do to resolve the issue or what do i need to check.
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: xhost is not working

To see which display (X server) you're trying
to affect:

echo $DISPLAY

Perhaps you can't communicate with the
display, or the DNS name look-up is hanging,
or ...
Steven E. Protter
Exalted Contributor

Re: xhost is not working

Shalom again,

Try a connect by IP address, not hostname. If IP works and name does not, its a DNS issue.

DNS can be resolved by checking and changing /etc/resolv.conf or by setting up your own networking in /etc/hosts, depending on the client.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
CHAKRADHAR_1
Advisor

Re: xhost is not working

even when we are excuting with ip address it is getting hang.

can any one tell list of command to verify it .
Steven Schweda
Honored Contributor

Re: xhost is not working

> can any one tell list of command to verify
> it .

Verify what? You may know what you're doing
but we can't see it.

What is your X server (display)? (Is there
an HP-UX system in here somewhere?)

echo $DISPLAY

How is the X server connected to the HP-UX
system? Or is the HP-UX system the X server?
Dave Hutton
Honored Contributor

Re: xhost is not working

Are you doing this from the console by chance? I've always had issues trying to rlogin/telnet/ssh into a server and try to get xhosts to fire up.

Usually its easier on the console. (Or only doable on the console?)
CHAKRADHAR_1
Advisor

Re: xhost is not working

this has been resolved..

there was some problem in user profile.

vender has resolve the problem.

Steven Schweda
Honored Contributor

Re: xhost is not working

> there was some problem in user profile.

Well, _that_ will sure help the next fellow
who has a similar problem.