- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check my display
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
тАО06-13-2007 01:46 PM
тАО06-13-2007 01:46 PM
how to check my display
i use the following command to check display,
but it show error, may i know where to set the Parameter.
tmp# echo $display
sh: display: Parameter not set.
thanks
Regards
ng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 01:49 PM
тАО06-13-2007 01:49 PM
Re: how to check my display
export DISPLAY=ip_address_or_hostname:0.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 01:49 PM
тАО06-13-2007 01:49 PM
Re: how to check my display
they do about "display".
What are you trying to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 05:55 PM
тАО06-13-2007 05:55 PM
Re: how to check my display
"display" is not equal to "DISPLAY".
# echo $DISPLAY
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 06:24 PM
тАО06-13-2007 06:24 PM
Re: how to check my display
echo $DISPLAY
sh: DISPLAY: Parameter not set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 06:31 PM
тАО06-13-2007 06:31 PM
Re: how to check my display
to set it. If you need more than that, you
may need to explain what you're trying to do.
If you're sitting at a VT100 terminal, the
DISPLAY setting may not matter much. What
_are_ you doing? Sitting at an HP-UX
workstation? Sitting at a Windows system?
Sitting at a Macintosh?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 06:32 PM
тАО06-13-2007 06:32 PM
Re: how to check my display
If it isn't set, you must export it like Clay suggested.
This thread has some info how to automatically set it up from who(1):
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1134133
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 07:39 PM
тАО06-13-2007 07:39 PM
Re: how to check my display
Unless you explicitly set your DISPLAY environment variable, the output of echo $DISPLAY will always give you message "display: Parameter not set."
You can set your display either in your .profile:
e.g.
export DISPLAY=localhost:0.0
or to another host that is running/emulating the X-display:
e.g.
export DISPLAY=Server_with_graphics_display:0
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 09:06 AM
тАО06-14-2007 09:06 AM
Re: how to check my display
Type the command: set
Then you see all your variables.
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 11:36 AM
тАО06-14-2007 11:36 AM
Re: how to check my display
These are not the droids you want. :-)
The correct comand is env(1), for exported variables. Or typeset -x.