Re: Simple little basic config questions
On Wed, 29 Oct 2003 13:04:42 -0700,
"Monique Y. Herman" <spam@bounceswoosh.org> wrote in message
<[🔎] slrnbq07aq.s83.spam@home.bounceswoosh.org>:
> On Wed, 29 Oct 2003 at 18:34 GMT, Haines Brown penned:
> > I have more elementary configuration questions arising from my
> > transition from RedHat to debian. Sorry to be a pest.
> >
> > I think this may be is a debian question because user can start the
> > FileRunner file manager, but not root. When root tries, it gets the
> > error:
> >
> > Application can't initialize because it lacks display name and no
> > $DISPLAY environment variable.
...
> You're probably using 'su -' to get to root, right?
>
> Two quick fixes: one, just use 'su' so that it keeps the original
> user's environment. Two, explicitly set your display to whatever it's
> normally set to for your users in root's .bashrc or .profile.
>
> Not having the display set can cause an amazing variety of errors,
> depending on the application. Don't worry about debugging the
> tk_patchLevel thing until you know that your display is set properly.
>
..I always 'ssh -X root@box' (or 'ssh -X root@127.0.0.1' on localhost),
but I suspect this is not the Debian way.
--
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
Reply to: