On Feb 17, 2009, at 4:40 AM, Chris Henderson wrote:
I am trying to start the GUI /usr/sbin/smc over SSH. But I get error:
"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."

I am doing ssh -X usern...@server and then "su" to become root and type: smc

On the server's sshd_config I have:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

On the client's sshd_config

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

hi Chris,

you can try setting in the client's /etc/ssh_config (the ssh client config file) the following:
ForwardAgent yes
ForwardX11 yes

then try running ssh without the -X option:
$ ssh -l myuser remoteserver

don't "su" immediately and try to list the DISPLAY environment variable:
$ env | grep DISPLAY

do you see the DISPLAY variable set to some value ? if you do try running:
$ /usr/openwin/bin/xclock

do you see the clock ?

hope this helps,


greetings,

Stoyan


_______________________________________________
Solaris-Users mailing list
Solaris-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to