1847694 Members
6407 Online
110265 Solutions
New Discussion

SAM not getting opened

 
Gops_1
Regular Advisor

SAM not getting opened

SAM cannot be started from a subshell started by SAM. Type "exit" to
exit the shell and return to SAM.


(/opt/home/x57750)$
The DISPLAY environment variable is set to "202.61.10.15:0.0", but
the current configuration won't allow sam to run on that display.

The DISPLAY environment variable may be incorrect, or, if you are
running sam remotely, you may need to allow the remote system
to access your local X server by typing

/usr/bin/X11/xhost +pnmp2s

on your local machine.

Do you want to proceed using the terminal version of sam?
(yes or no) [yes]

and the y gets display in loop.

What would be problem.

Thanks
gV
3 REPLIES 3
Yogeeraj_1
Honored Contributor

Re: SAM not getting opened

hi gV,

try the following:

# export DISPLAY=
# sam

(this should a character-mode sam)

revert!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
V. Nyga
Honored Contributor

Re: SAM not getting opened

Hi,

give the command 'xhost +' at the system where you want to start SAM.
Else try to set the display to :0.0

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
YAQUB_1
Respected Contributor

Re: SAM not getting opened

To use SAM on the X Window System, the DISPLAY environment variable must be set correctly to reflect the display on which you want SAM to appear. The value of the DISPLAY variable should be hostname :0.0, where hostname is the name returned when you type the /usr/bin/hostname command. The DISPLAY environment variable is typically set and exported in the user's environment file at login.

To view your current environment variable values, type env. This is how to set the correct values for the DISPLAY variable, depending on your shell:

POSIX, Korn or Bourne shells------export DISPLAY= hostname :0.0 (Environment Variable)-------.profile or .dtprofile (Environment File)

C shell------export DISPLAY= hostname :0.0 (Environment Variable)------.login (Environment File)