[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simple little basic config questions



On Wed, 29 Oct 2003 at 21:53 GMT, Haines Brown penned:
>> > 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?
> 
> Yes, you are quite right. 
>  
>> explicitly set your display to whatever it's normally set to for your
>> users in root's .bashrc or .profile.
> 
> I tried: "set DISPLAY teufel:0.0; export DISPLAY" /root/.profile, but
> it. My sytax probably wrong. Can I substitute "localhost" here for
> "teufel"?  
>  
> Haines
> 

If you're logged in as a normal user, what does
	env | grep DISPLAY
show you?

-- 
monique
PLEASE don't CC me.  Please.  Pretty please with sugar on top.
Whatever it takes, just don't CC me!  I'm already subscribed!!



Reply to: