Operating System - HP-UX
1751854 Members
5539 Online
108782 Solutions
New Discussion юеВ

Re: Appear error message after it runs SAM

 
SOLVED
Go to solution
study unix
Regular Advisor

Appear error message after it runs SAM

Error as attachment !
9 REPLIES 9
study unix
Regular Advisor

Re: Appear error message after it runs SAM

error as attachment!
Bhadresh
Trusted Contributor

Re: Appear error message after it runs SAM

Hi,

There is not attachment.

Regards,
Bhadresh
study unix
Regular Advisor

Re: Appear error message after it runs SAM

attachment!
Bhadresh
Trusted Contributor
Solution

Re: Appear error message after it runs SAM

Hi,

Set display environment variable. Have a look at following thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1225841

Regards,
Bhadresh

Michal Kapalka (mikap)
Honored Contributor

Re: Appear error message after it runs SAM

hi,

set the display variable in you enviroment,

export DISPLAY=IP_adress:0.0

IP_adress = computer that runs the Xserver, it could your personal PC.

mikap
study unix
Regular Advisor

Re: Appear error message after it runs SAM

Hi All,
Question is solved,Thanks!

BTW, how to revert SAM between TUI and GUI through setting DISPLAY ?
Michal Kapalka (mikap)
Honored Contributor

Re: Appear error message after it runs SAM

hi,

(unset DISPLAY; sam )

(unset DISPLAY; kcweb)

mikap
study unix
Regular Advisor

Re: Appear error message after it runs SAM

hi mikap,
thanks for your support, but I only know less unix knowleage , if you can explain more details, thanks again!
Dennis Handly
Acclaimed Contributor

Re: Appear error message after it runs SAM

>study unix: I only know less unix knowledge

If you export DISPLAY, then sam will use the GUI. If you unset DISPLAY it will use the TUI.

>(unset DISPLAY; sam )

This syntax says create a subshell and unset DISPLAY, then run sam, then when it exits the subshell, DISPLAY has the same value.