- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set up DISPLAY environment variable
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
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
тАО01-29-2001 05:23 PM
тАО01-29-2001 05:23 PM
How to set up DISPLAY environment variable
I am installing Oracle 8i on L-class Unix box, IP address aa.bb.cc.dd.
I am launching the Oracle Universal Installer from another Unix workstation with IP address ww.xx.yy.zz.
Should I export DISPLAY in which machine? What is the value of the DISPLAY variable?
Do I need to do xhost? Where do I invoke xhost? What is the value to invoke xhost?
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 05:54 PM
тАО01-29-2001 05:54 PM
Re: How to set up DISPLAY environment variable
export DISPLAY=ww.xx.yy.zz:0.0
On the other box,
xhost aa.bb.cc.dd
xhost + disabled access control, clients can connect from any host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 05:56 PM
тАО01-29-2001 05:56 PM
Re: How to set up DISPLAY environment variable
You should also do an xhost. From a terminal on ww.xx.yy.zz (NOT logged into aa.bb.cc.dd) do an '/usr/bin/X11/xhost + aa.bb.cc.dd'
You should now be able to run the Oracle installer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2001 10:45 PM
тАО01-29-2001 10:45 PM
Re: How to set up DISPLAY environment variable
Trying to explain a little bit:
In a X11 environment, you're running in an atypical client/server environment.
The X11 server is the system having the DISPLAY (i.e. screen, keyboard and mouse), the X11 client is the system where you run the graphical application (your L2000, in this case).
This is a bit unusual as the server and client are the other way round, compared to a more conventional client/server application.
You have to tell the client on which server (screen, keyboard, mouse) it will run.
That's the purpose of the DISPLAY environment variable.
export DISPLAY=server:0.0 (from the client side)
The ':0.0' part tells that it's on the first screen, as your server could have more.
You also need to allow your client to display something on the server:
xhost + client (from the server side)
Hoping this will make things a bit clearer,
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2001 09:29 AM
тАО02-05-2001 09:29 AM
Re: How to set up DISPLAY environment variable
Excellent explanation !!
No points assigned !!!!???
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2001 01:24 PM
тАО02-05-2001 01:24 PM
Re: How to set up DISPLAY environment variable
Dan (and the others) might be waiting a while for those points. From the author's profile:
"This member has assigned points to 0 of 26 responses to his/her questions."
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2001 08:03 PM
тАО02-05-2001 08:03 PM
Re: How to set up DISPLAY environment variable
REMOTEHOST=$(who -muR | awk '{print $NF}')
export DISPLAY=${REMOTEHOST%%:0.0}
Note that this works only one hop away. If you telnet to several machines in a row, the value for DISPLAY will be the last system to telnet.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2001 07:30 AM
тАО02-19-2001 07:30 AM
Re: How to set up DISPLAY environment variable
I like the idea of automatically setting the DISPLAY var - and have tried this on my machine, but I can't egt the last bit to work:
REMOTEHOST gets set Ok , but then after the export... line DISPLAY is only set to REMOTEHOST, that is the :0.0 is missing.
Any idea why ?
Cheers, Eddie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2001 07:50 AM
тАО02-19-2001 07:50 AM
Re: How to set up DISPLAY environment variable
think Bill has missed i little thing.
Try this:
export DISPLAY=${REMOTEHOST%%:0.0}:0.0
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2001 08:03 AM
тАО02-19-2001 08:03 AM
Re: How to set up DISPLAY environment variable
Eddie