Solarid 10 - DISPLAY problem with GUI based applications when 'su -'
Hi guys,
I have solaris 10 on a workstation sunblade 150.I have problem running smc as root (su) when logged in as regular user. I get following error.
# /usr/sbin/smc &
[1] 878
#
It appears you are attempting to run the graphical
Solaris Management Console from a terminal which does
not have a suitable 'DISPLAY' environment. Please check
your 'DISPLAY' settings and that the user identity of
this terminal has access to the X server of this display.
# echo $SHELL
/sbin/sh
Changing DISPLAY did not help, still the same error:
# DISPLAY = hostname:0; export DISPLAY
# env|grep DISPLAY
DISPLAY=hostname:0
I also can not run xclock getting follwoing error:
xlib: connection to hostname:0.0 refused by server
xlib: client is not authorised to connect to server
error can't display: hostname:0
I also getcommand not found error (for regular userid and root both) when try commandxhost command.
NO luck so far.
Thanks for your help!
Mahima

