1847545 Members
3594 Online
110265 Solutions
New Discussion

Re: SAM Problem.

 
Juan Manuel López
Valued Contributor

SAM Problem.

Hi,
On a new machine, when I try to start sam, show me the message: The display is invalid , or something like this.
I am sure that I have not set any display variable, can anybody tell me what I am doing wrong ?
Thanks in advance.
Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
13 REPLIES 13
Mateja Bezjak
Respected Contributor

Re: SAM Problem.

Hi Juan,

Try running "xhost +" and then exporting the display "export DISPLAY=xxxx:0.0"
Oliver Charni
Trusted Contributor

Re: SAM Problem.

Have you tried to set a DISPLAY-Varialble and to export it and then running SAM ?

regards
if it smell's funny on the outside, it's worse on the inside
Tom Geudens
Honored Contributor

Re: SAM Problem.

Hi,
If you execute a
#unset DISPLAY
and try sam again, does it work ?

Hope this helps,
Tom
A life ? Cool ! Where can I download one of those from ?
T G Manikandan
Honored Contributor

Re: SAM Problem.

Just do a
DISPLAY=:0.0;export DISPLAY

if c shell

setenv DISPLAY ipaddress:0.0

Here ipaddress ---->the ipaddress of the machine on which you are trying to open the SAM.

Thanks
Juan Manuel López
Valued Contributor

Re: SAM Problem.

What I want is to use SAM on text mode on my hp terminal, so does not work. WHY ?
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Juan Manuel López
Valued Contributor

Re: SAM Problem.

I am execute " unset DISPLAY ", so does not work.
please, Help !.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Tom Geudens
Honored Contributor

Re: SAM Problem.

Hi,
... do not panic :-) ... we will help !
Can you post the result of the follwing :
#echo $TERM
#echo $DISPLAY

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Juan Manuel López
Valued Contributor

Re: SAM Problem.

Echo $TERM = hp
Echo $DISPLAY = does not show anything.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Mateja Bezjak
Respected Contributor

Re: SAM Problem.

Hi Juan,

Can you post the whole output of "export" command.

Thanks. Regards,
Mateja
Juan Manuel López
Valued Contributor

Re: SAM Problem.

As I understand, to use the SAM on text mode, I have to unset DISPLAY and then will go to text automaticaly.
On my system, it does not work, and I do not know why.
I have got " export TERM=hp " on my root .profile, so when sam is trying to start, show me the message " invalid display " or something like that.
That??s my problem, SAM does not start on my HP.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Tom Geudens
Honored Contributor

Re: SAM Problem.

Hi,
mmm, strange ...
Try the following :
#export TERM=hpterm
#sam

If that does not do the trick, try using a telnet to the server. Can you start sam from the telnet session ?

Regards,
Tom

A life ? Cool ! Where can I download one of those from ?
Ruediger Noack
Valued Contributor

Re: SAM Problem.

Please post your output from:
ksh -x /usr/sbin/sam

Ruediger
Vijeesh CTK
Trusted Contributor

Re: SAM Problem.


hi

If ur using graphic console
for starting sam in text mode unset the DISPLAY
then
#export TERM=dtterm
#sam

sam will start in text mode

CTK