- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to run SAM
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-21-2004 10:33 PM
01-21-2004 10:33 PM
When I try to run SAM from my PC, I get the following message :-
The DISPLAY environment variable is set to "151.170.84.1:0.0:0", but
the current configuration won't allow sam to run on that display.
The DISPLAY environment variable may be incorrect, or, if you are
running sam remotely, you may need to allow the remote system
to access your local X server by typing
/usr/bin/X11/xhost +mimas
on your local machine.
Do you want to proceed using the terminal version of sam?
(yes or no) [yes]
This has occurred since the ip address of my machine was changed during company relocation. Can anyone explain why ?
Thks
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:36 PM
01-21-2004 10:36 PM
Re: Unable to run SAM
try
# export DISPLAY=
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:38 PM
01-21-2004 10:38 PM
Re: Unable to run SAM
I do this and get :-
The DISPLAY environment variable is set to "151.170.84.1:0.0:0", but
the current configuration won't allow sam to run on that display.
The DISPLAY environment variable may be incorrect, or, if you are
running sam remotely, you may need to allow the remote system
to access your local X server by typing
/usr/bin/X11/xhost +mimas
on your local machine.
Do you want to proceed using the terminal version of sam?
(yes or no) [yes] no
so exporting manually doesn't appear to work. Is there a file where this is configured ?
Thks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:39 PM
01-21-2004 10:39 PM
Re: Unable to run SAM
ipconfig
and set the DISPLAY as
#DISPLAY=
#export DISPLAY
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:42 PM
01-21-2004 10:42 PM
Re: Unable to run SAM
That works but I will have to issue these commands each time I log into the server. Is there anyway this can be done automatically ?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:48 PM
01-21-2004 10:48 PM
Re: Unable to run SAM
As I said - you need to fix either /etc/hosts on the server or your PC's entry in DNS. That will cure it permanently.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 10:51 PM
01-21-2004 10:51 PM
Re: Unable to run SAM
However ip can be made static in the TCP/IP properties of your system as well.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 12:28 AM
01-22-2004 12:28 AM
Re: Unable to run SAM
in order to do it automatically just insert into $HOME/.profile of user (it can be root or anybody else):
TTY=`who am i | awk '{print $2}'`
WHO=`who -u | grep $TTY| awk '{print $8}'`
DISPLAY="$WHO":0.0
export DISPLAY
When you login from a PC into HP-UX system, DISPLAY variable should be set to
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 12:32 AM
01-22-2004 12:32 AM
Re: Unable to run SAM
Thanks for your replies. I have discovered that my PC Network has DHCP enabled for my PC and therefore have asked for a reserve address for my PC within the database. Hopefully this may solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 12:36 AM
01-22-2004 12:36 AM
Re: Unable to run SAM
my last post could suggest you an option to solve your problem. Whatever the IP address has your PC, HP-UX system should recognize it.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 12:42 AM
01-22-2004 12:42 AM
Re: Unable to run SAM
I hadn't considered that you might be running DHCP. In that case, a solution like Ettore suggested might be the best answer.
Good luck,
Pete
Pete