- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Xhost Problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2003 01:53 AM
01-05-2003 01:53 AM
#export DISPLAY=192.6.2.134:0.0
# xhost +
I get this error
xhost: unable to open display "192.6.2.134:0.0"
If I am at the Unix box I could ping anything outside, I also could ping the w2k external nic card, but can not ping the internal nic card 192.6.2.2. I don???t know what the problem is? If anyone could help.. My advance thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2003 02:46 AM
01-05-2003 02:46 AM
Re: Xhost Problem
Check your client-ipadres,
# who -um
# export DISPLAY=ipadres:0.0
or
# export DISPLAY=`who -um | awk '{print $NF}':0.0`
Hope it helps.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2003 06:30 AM
01-05-2003 06:30 AM
Re: Xhost Problem
So, you do the "export DISPLAY=XXXX" on the UNIX server, and "xhost +" on the Windows box. You should then be able to launch an XTERM (or similar) on the UNIX box, and have it display on the Windows box.
The ping problem in your last paragraph sounds like a different problem. Check your routing tables on that one. Post back if you don't find the problem.
Good luck,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2003 11:29 AM
01-05-2003 11:29 AM
SolutionLong back I worked on Reflection X.
xhost + is supposed to be run on the box that is running the X-server. In this case, you should run xhost+ on the w2k server not on the telnet session of your UNIX server.
I guess, xhost+ is enabled by default on Reflection if I remember correctly. If your Reflection X server is running, then it is enough for you to just export DISPLAY on the unix server and then run the X-window application from it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2003 01:41 PM
01-05-2003 01:41 PM
Re: Xhost Problem
do an ifconfig lan0 or lan1 to get the ip addy for the above instructions.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2003 04:43 PM
01-05-2003 04:43 PM
Re: Xhost Problem
# export DISPLAY=192.6.2.134:0.0 (the IP address is for the NT internal client. As I mentioned before the server has 2 nic cards the internal card for the server is 192.6.2.2 Where the External card has an external IP address as well as the UNIX server.)
I can ping the UNIX server from NT client (192.6.2.134) but I cannot ping the NT server internal nic or any internal clients from the Unix server.
Also when I type either of the following commands on the reflection telnet session opened on the NT client I get
# xhost +
Error: Can't open display: 192.6.2.134:0.0
Error: Couldn't find per display information
# xclock
Error: Can't open display: 192.6.2.134:0.0
Error: Couldn't find per display information
I think the x command does not come back to the NT client because the Unix has an external IP and the NT has an Internal IP.I am thinking the problem could be with routing traffic from external to Internal but I am not sure. I really appreciate all your help guys. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 01:43 AM
01-06-2003 01:43 AM
Re: Xhost Problem
I beleive the reason you are getting xhost: unable to open display errors in the hpterms is probably because the hpterm is not being run under a CDE session or equivalent window manager and as such has no X session to have a display exported to ... NB a terminal session on its own does not support X.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 04:40 PM
01-06-2003 04:40 PM
Re: Xhost Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 12:31 AM
01-07-2003 12:31 AM