try to setting DISPLAY to the ip of the system you are running the x
client on:0.0

i.e.  export DISPLAY=10.10.10.10:0.0



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Henderson
Sent: Wednesday, February 18, 2009 8:47 PM
To: Solaris-Users mailing list
Subject: Re: [Solaris-Users] [Solaris 10] smc GUI over ssh

On Tue, Feb 17, 2009 at 4:38 PM, Romeo Ninov <[email protected]> wrote:
> Try to export variable on this way:
> DISPLAY=localhost:11.0;export DISPLAY

tried and it gives the same error.

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Chris 
> Henderson
> Sent: Tuesday, February 17, 2009 4:40 AM
> To: [email protected]
> Subject: [Solaris-Users] [Solaris 10] smc GUI over ssh
>
> 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
>
> As root, if I type: echo $DISPLAY I get blank. As normal user (the use

> I ssh as), if I type echo $DISPLAY I also get blank.
>
> The shell for both the normal user and root is /bin/sh
>
> If I try to set display "export DISPLAY=localhost:11.0" or export 
> DISPLAY=localhost I get error: DISPLAY=localhost:11.0: is not an 
> identifier. Also tried "export DISPLAY=client's_ip_address:0" - get 
> the same error.
>
> Before I ssh'd to the server I also tried typing xhost + (on the
> client) with no luck.
>
> sshd has been restarted on both the client and server.
>
> Thanks for any help.
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to