1753935 Members
9504 Online
108811 Solutions
New Discussion

Re: SAM is not working

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor
Solution

Re: SAM is not working

Thye fastest way to run sam or smh is to make sure the variable DISPLAY is not set. Do this:

unset DISPLAY

Then run sam or smh. It will come up in character mode. If DISPLAY is set, you must have already installed an Xwindow server such as eXceed or Reflection/X or some other X11 windows tool and configure it to work on your PC. Then there are issues with X11 forwarding, Xauthority and even network routers that can block Xwindows protocol.

You can do everything in the character mode interface (CUI) that you can in the fancy GUI but you may be struggling with X11 for a while. Note that at 11.31, the Xwindow desktop (and therefore the XDMCP code) is not installed by default. I would leave it that way. There is no reason to run code on your HP-UX server that replaces your PC's desktop with an archaic interface. If you get your Xwindow emulator working, always verify with the simplest commands:

export DISPLAY=:0
(don't forget the .0)
/usr/bin/X11/xclock

(a small clock will be displayed) Close this window and you can run smh in GUI mode.


Bill Hassell, sysadmin
genkimaruchan
New Member

Re: SAM is not working

Hi there

Maybe you can try this one

Verify of HPSMH ;autostart url` mode is ON by executing the command

# smhstartconfig

In case the autostart url mod is OFF, stop hpsmh by:

# /sbin/init.d/hpsmh stop

turn the autostart url mode by:

# smhstartconfig -a on -b off

Restart hpsmh

# /sbin/init.d/hpsmh start

Hope it works!

Thanks and Regards