Aaron Epps wrote:
> After a clean install of Nevada b86, I setup a user account, logged in, 
> opened a terminal, ran "su -" to change to root and then ran the following 
> command...
> 
> # /usr/sadm/bin/smc &
> 
> The application failed to start, complaining about the DISPLAY environment 
> variable. Anyone seen something like this before? I don't have the exact 
> error message, will get it and reply to this post with it later. Do I simply 
> have to do something like
> 
> set DISPLAY=:0

Yes - that's pretty much the way X has worked on all Linux & Unix'es
for the past 20 years.   You need to set the DISPLAY environment
variable to :0, using either:
        DISPLAY=:0 ; export DISPLAY
        setenv DISPLAY :0
depending on what shell you use (bourne style or csh style).

You'll also need to, in a shell running as  you:
        xhost +si:localuser:root
to give root permission to display on your screen.

-- 
        -Alan Coopersmith-           [EMAIL PROTECTED]
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to