Start SAM in TUI from CDE session

how can i start sam in TUI mode from a CDE session.
i'm using hp-ux 11iv3
i tried to start SAM from a terminal from CDE session but each time i try to start it System Managment Homepage starts , so i telneted to server from a pc to start sam in TUI mode is there any other way to set my SAM to TUI mode
thanks

Have you tried to unset in your terminal window the DISPLAY variable?

NOTE: The smh command is available only in HP-UX 11i v3 February 2007 release and later.
The procedures in this section are applicable to HP-UX 11i v3 systems. In HP-UX 11i v1 and
HP-UX 11i v2 systems, the sam command remains the primary interface.

Starting HP SMH GUI
Follow this procedure to open the HP SMH GUI using the smh command:

  1. Log in to the system.
  2. Set the DISPLAY environment variable.
  3. At the command prompt, enter sam or smh.
    The application opens in the default web browser.

Follow this procedure to open the HP SMH GUI using a web browser:

  1. Open a web browser.
  2. In the address bar, enter the complete host name and the port number, for example,
    hostname.com:2301
  3. Log in to HP SMH GUI by entering your user name and password.

Starting HP SMH TUI
Follow this procedure to open the HP SMH TUI:

  1. Log in to the system.
  2. At the command prompt, enter sam or smh.
    The SMH TUI opens.

Text-based HP SMH supports only the C (English) locale. HP recommends that you set your
locale variables, such as LANG and LC_ALL, to C. Most functional areas in web-based HP SMH
support multi-byte locales.