1752423 Members
5453 Online
108788 Solutions
New Discussion юеВ

Re: SMH Issue

 
itrc55
Regular Advisor

SMH Issue

Hi,

 

i am using smh -r command to give other root user full access to a SMH, but when i try to use SMH from test user i facing this message.

 

# smh
DISPLAY variable is not set. Starting the Text User Interface. Please wait...
the directory  /etc/sam/rsam must have the permission -rwx------  Exiting!

and when i set the display i facing this error message. Now when i set the display i can't log in to SMH from root

 

# export DISPLAY=my_laptop_IP:0.0

 

# smh
/opt/hpsmh/lbin/samweb[140]: /opt/hpsmh/display: Cannot create the specified file.
Looking for a usable running browser...  it's take a few minutes
/usr/contrib/bin/X11/xlsclients:  unable to open display "192.168.1.5:0.0"
ERROR: Unable to open display "192.168.1.5:0.0"
       Please paste the URL "http://uxserver:2301/" into a browser window.

and this is also happen when i try to use firefoxon root or other users

# firefox

/opt/firefox/firefox[221]: /.firefox-license: Cannot create the specified file.
Starting Firefox ...
(firefox-bin:1622): Gtk-WARNING **: cannot open display:

 

Please your support.

Thanks

6 REPLIES 6
itrc55
Regular Advisor

Re: SMH Issue

Hi,

# cd /etc/sam
# ll
total 176
dr-------- 2 root bin 96 Mar 7 18:12 custom
-r--r--r-- 1 bin bin 3072 Mar 7 18:15 reg_da.db
-r--r--r-- 1 bin bin 247 Mar 7 18:19 reg_dirs.db
-r--r--r-- 1 bin bin 5449 Mar 7 18:15 reg_files.db
-r--r--r-- 1 bin bin 35903 Mar 7 18:15 reg_tm.db
-r--r--r-- 1 bin bin 51 Feb 16 2007 rmfiles.excl
-r--r--r-- 1 bin bin 46 Feb 16 2007 rmgroup.excl
-rw-r--r-- 1 root sys 54 Mar 7 18:12 rmuser.excl
drwx------ 4 root sys 96 Jul 12 08:14 rsam

and i try to change the permission to 777 but the same issue.

Thanks
Dennis Handly
Acclaimed Contributor

Re: SMH Issue

>I try to change the permission to 777 but the same issue.

 

The message said it had to be 700:

the directory  /etc/sam/rsam must have the permission -rwx

itrc55
Regular Advisor

Re: SMH Issue

Hi,

but it's already have this permission
drwx------ 4 root sys 96 Jul 12 08:14 rsam

Thanks
Dennis Handly
Acclaimed Contributor

Re: SMH Issue

>ERROR: Unable to open display "192.168.1.5:0.0"

 

Have you done xhost on that system?

 

>but it's already have this permission

 

Hmm, then that message isn't very helpful.

How about the permissions and ownership of: /etc/sam

itrc55
Regular Advisor

Re: SMH Issue

Hi,

Have you done xhost on that system?

same issue for xhost on HP-UX box, and this ip for my laptop 192.168.1.5. and i using ssh on putty

How about the permissions and ownership of: /etc/sam ?
root sys 96 Jul 12 08:14 rsam

Thanks
Dennis Handly
Acclaimed Contributor

Re: SMH Issue

>same issue for xhost on HP-UX box, and this IP for my laptop 192.168.1.5.

 

You need to do this on your laptop, somehow.


>root sys 96 Jul 12 08:14 rsam

 

The permissions?  ll -d /etc/sam