[SunHELP] $DISPLAY for root

Will Mc Donald sunhelp at sunhelp.org
Mon Aug 13 16:14:18 CDT 2001


I'm sure you're aware "su -" doesn't carry over the environment you're
currently in (plain "su" without the "-" should), it reads the environment
of the new user. Does the new user have any DISPLAY stuff in its .profile
(or whatever's appropriate).

Also, I seem to remember that for dtterms/xterms environment variables setup
in .profile aren't read in, you have to define them in... errr... I *think*
it's $HOME/.xinitrc but as per usual I have no Sun machines handy at home to
double check. It's commented in whatever file is actually is in.

I really need to buy me an Ultra of some descritption next time I have some
cash.

----- Original Message -----
From: "David Baldwin" <dbaldwin at networkinsight.com>
To: <sunhelp at sunhelp.org>
Sent: Monday, August 13, 2001 5:56 PM
Subject: RE: [SunHELP] $DISPLAY for root


> I forgot to mention that this is local.  Logged into cde and open a
> console and su - to anyone else and no $DISPLAY.
> Dave

<snip>




More information about the SunHELP mailing list