Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why # xhost + doesn't work

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
CA
In solaris 2.6,

I issued /usr/openwin/bin/xhost +
it return
/usr/openwin/bin/xhost: unable to open display ""

when I export DISPLAY=hostname:0.0
then issue:
/usr/openwin/bin/xhost +
the CRT hasn't reaction.

Who can solve this ?

Thanks
 
hi
First set your display environment variable to
DISPLAY=<hostname>:0.0 and then do xhost +<hostname>
It will work.
vedha
 
Hi,

if you are logging on from the console, then run
DIPLAY=localhost:0.0
export DISPLAY

this should work.The command doesn't seem to work well on the console if you use hostname:0.0

cheers s-)
sunil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top