- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Export DISPLAY from PC to Unix Boxs
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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-26-2003 08:21 PM
тАО11-26-2003 08:21 PM
Export DISPLAY from PC to Unix Boxs
I have this problem:
1. Reflex from my PC to a HPUX box1. GUI works fine.
2. Telnet/rlogin from the HPUX box1 to another HPUX box2. Export DISPLAY with HPUX box1 IP. Run "sam" but no display. I tried to run xhost + at HPUX box2 but cannot open display on HPUX box1.
3. I cannot export DISPLAY to my PC IP as the HPUX box2 cannot see my PC. In different subnet.
Please advise what shall I do? Thanks.
- Tags:
- Display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 08:32 PM
тАО11-26-2003 08:32 PM
Re: Export DISPLAY from PC to Unix Boxs
xhost +hostname
export DISPLAY=hostname:0.0
If the PC IP and the hpux machine in different subnet, can you ping from PC to hpux box ? if it can means it can create a connection over to hpux subnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 08:46 PM
тАО11-26-2003 08:46 PM
Re: Export DISPLAY from PC to Unix Boxs
if the "xhost +" is not set correctly you will get an error message saying "can not open display". If "sam" is just not appearing, that shows that the DISPLAY is not set correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 08:50 PM
тАО11-26-2003 08:50 PM
Re: Export DISPLAY from PC to Unix Boxs
Thank you for your generous reply. My PC and the HPUX boxes are in different subnet. That's why I need to telnet to HPUX Box1 and and from there telnet to the HPUX Box2. I tried this commands:
export DISPLAY=PC_IP:0.0
from the HPUX Box1 and GUI works fine.
I tried this again from HPUX Box2 (telnet from HPUX Box1):
xhost +HPUX_BOX1
received message: unable to open display ""
I think the problem starts here. Please advise how to resolve this. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 08:53 PM
тАО11-26-2003 08:53 PM
Re: Export DISPLAY from PC to Unix Boxs
I heard NAT can play the routing role? I have an NAT system setup (LINUX) in the same subnet as the HPUX boxes. I telnet to the NAT, telnet again to the HPUX boxe but still cannot access the GUI. Please confirm. ThYu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 08:57 PM
тАО11-26-2003 08:57 PM
Re: Export DISPLAY from PC to Unix Boxs
If you can login from your PC HP should see your PC.
# who am i -uH
NAME LINE TIME IDLE PID COMMENTS
gorj pts/ta Nov 27 09:56 . 27004 145.x.xx.147
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 09:01 PM
тАО11-26-2003 09:01 PM
Re: Export DISPLAY from PC to Unix Boxs
With regards to NAT, I'm not sure if this is going to help you. Changing the source address through NAT happens after routing. However, if you have a Linux PC that can see both machines and both machines can see it, then you could set up the Linux box as a bridge/gateway so that packets from one subnet can be routed through to the other. If you so this, everything will work fine and it will put a smile on your face.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 09:03 PM
тАО11-26-2003 09:03 PM
Re: Export DISPLAY from PC to Unix Boxs
I could be wrong though but that's how I read it.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 09:03 PM
тАО11-26-2003 09:03 PM
Re: Export DISPLAY from PC to Unix Boxs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 09:08 PM
тАО11-26-2003 09:08 PM
Re: Export DISPLAY from PC to Unix Boxs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 09:29 PM
тАО11-26-2003 09:29 PM
Re: Export DISPLAY from PC to Unix Boxs
For this, you have to edit the sshd_config file to support X11forwarding and run the ssh client on box1 with the -X option. And of course the correct DISPLAY setting on box2, depending on the settings in sshd_config.