Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAM

Status
Not open for further replies.

suntech

IS-IT--Management
Mar 21, 2002
7
US
I have never used HP unix and I'm trying to invoke SAM. I telnet to the server from my PC and according to the instructions I was given, I have to set the display using setenv (c shell) which I did. I enter the following commands:

csh
setenv TERM vt220
setenv DISPLAY xxx.xx.xxx.xxx:0.0 (xxx being my ip address)
cd /usr/sbin
sam

This is the message I get:

The DISPLAY environment variable is set to "xxx.xxx.xxx.xxx:0.0",(xxx being my ip address) 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 +ahsmta01

on your local machine.

I looked on the system that I am telneting to and there is no such file as /usr/bin/X11. Is this the problem?
 
Since you are telnetting, I would assume you don't have an X server program (such as Exceed or ReflectionX). If this is the case, you can't use the SAM GUI display. However, you should still be able to use SAM's text interface. Don't set the DISPLAY variable (or "unset DISPLAY"), and try again.
 
I tried using Exceed, but I couldn't connect. Is it a different setup for HP other than the Host Type? I tried this setup:

Start Method of REXEC (TCP/IP)
Program Type- X Window
Host Type: HP
Command: /usr/openwin/bin/xterm -ls -display @D -e /usr/sbin/sam &
 
Do you have a /usr/openwin/bin directory? You mentioned you didn't have a /usr/bin/X11 directory, so you may not have any X components on your server.

Regardless of this, the text version of SAM should work - just make sure DISPLAY is not set.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top