- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Display environment variable incorrect
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
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
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-16-2001 09:52 AM
тАО01-16-2001 09:52 AM
Display environment variable incorrect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2001 10:42 AM
тАО01-16-2001 10:42 AM
Re: Display environment variable incorrect
Typically a D system came with a 700/9X type terminal. If this is the case then it won't be able to support any of the GUI versions of SAM or other tools.
But judging from your messages, the system thinks it has a GUI capable monitor running CDE. If you just have a command prompt and no GUI then you can do a 'export DISPLAY=' to get rid of the display name. Then do a 'export TERM=hp' to set the term type to something more useful. This should at least get you to where you can run SAM.
You may want to check your .profile or .?shrc and see if any of that information is hard coded so it gets set by default when you log in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2001 12:32 PM
тАО01-16-2001 12:32 PM
Re: Display environment variable incorrect
Sarah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2001 03:40 PM
тАО01-16-2001 03:40 PM
Re: Display environment variable incorrect
# ksh
# export DISPLAY=
this should work .. Lou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2001 11:20 PM
тАО01-16-2001 11:20 PM
Re: Display environment variable incorrect
You may have 2 different kinds of GUI, one attached to the server (screen, keyboard and mouse) or a separate workstation/PC.
In the first case, setting the DISPLAY to :
${HOSTNAME}:0.O
should work ! Make sure your $HOSTNAME is set.
Type 'uname -n' as this will tell you what your server considers as its name...
Full command is:
export DISPLAY=${HOSTNAME}:0.0
In the second case (remote workstation/PC), you'll have to set the DISPLAY variable to the name of your workstation/PC
This will tell the X11 server that all graphical display has to be redirected to another host.
When typing the command 'who -u' once logged in, the last field of the line with your login name should show you where you're coming from.
If this doesn't work, give us the details of the following commands:
# echo $DISPLAY
# who am i
# who -u
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2001 07:59 AM
тАО01-17-2001 07:59 AM