Have you try:
DISPLAY=localhost:0.11;export DISPLAY

On Thu, Feb 19, 2009 at 4:47 AM, Chris Henderson <[email protected]> wrote:
> 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
>



-- 
<><><><><><><><><><><><><><><><><><>
                              Regards: Romeo Ninov
       http://rninov.host-bg.info
<><><><><><><><><><><><><><><><><><>
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to