1829014 Members
2448 Online
109986 Solutions
New Discussion

SAM GUI FROM CDE

 
SOLVED
Go to solution
Andrew Luis Arruza
Frequent Advisor

SAM GUI FROM CDE

I have just setup a new A500, with HP-UX 11.00 on it.
When I try to use the GUI SAM I am able to get the CDE menu bar, I can go into the Application Manager and I can click on System_Admin and the Sam icon comes up, but when I click on that the screen goes back to the menu bar.
I can successfully bring up Sam from the command line.
I suspect my TERM or the .dtprofile or the .profile is not correct.
I am in as root and my term is set to dtterm.
Never seen this before and any/all help is greatly appreciated. Thanks, Andy
It is, after all, a matter of survival!!
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: SAM GUI FROM CDE

Hi andrew,

Try exporting your Display,

export DISPLAY=workstation_ip:0.0

Hope this helps.

Regds
Alex Glennie
Honored Contributor
Solution

Re: SAM GUI FROM CDE

Copy /usr/dt/appconfig/types//hp.dt to
/etc/dt/appconfig/types//hp.dt

Replace by the language you are using, e.g. C or de_DE.iso88591

- Edit /etc/dt/appconfig//hp.dt
Locate the Sam action:


ACTION Sam
{
LABEL Sam
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/bin/ksh -c ' PATH=/usr/bin/X11:$PATH; ...
}

Correct the line setting PATH:


False: PATH=/usr/bin/X11:$PATH; Correct: PATH=/usr/bin/X11:\$PATH;

After restarting the CDE session you're able to start SAM from the CDE
application manager.

Problem is known as JAGad54229.
Uday_S_Ankolekar
Honored Contributor

Re: SAM GUI FROM CDE

Hi,

You have required to setup display setting.

try running
export DISPLAY=workstation name:0.0
-USA..
Good Luck..
Andrew Luis Arruza
Frequent Advisor

Re: SAM GUI FROM CDE

Alex,
This was the exact problem.
Works fine now! Thanks, Andy
It is, after all, a matter of survival!!