1833827 Members
2238 Online
110063 Solutions
New Discussion

Re: SAM

 
SOLVED
Go to solution
Indrajit Bhagat
Regular Advisor

SAM

how can we start the SAM in GUI mode.
Can you help me in setting the DISPLAY variable
5 REPLIES 5
Ivan Krastev
Honored Contributor
David Bellamy
Respected Contributor

Re: SAM

In an Xwindow session type "export DISPLAY=xx.xx.xx:0.0" this will set your Display, after that just type in sam
Steven E. Protter
Exalted Contributor

Re: SAM

Shalom,

From a Linux machine

ssh -X hostname sam

This will show sam in gui mode on the Linux box

export DISPLAY=hostnameofclient:0.0
example
export DISPLAY=192.168.0.10:0.0
sam

IF the 192 address is the address of the remote workstation.

The ssh -X or -Y will work from another HP-UX box if you are logged into CDE.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: SAM

You first need to have a X terminal or a PC running an X-emulator such as Reflection X or eXceed -- or a Linux Box with a graphics console. After that, it's very simple.

1) telnet to your UNIX box and login normally.
2) export DISPLAY=mypc:0.0
or export DISPLAY=10.1.2.234:0.0

Use the PC's or X-terminal IP hostname or IP address.

3) sam &
If it ain't broke, I can fix that.
Reshma Malusare
Trusted Contributor

Re: SAM

Hi Indrajit,
use
export display=hostname:0.0
It will take SAM in GUI mode.

Regards
Reshma