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

Re: Simple little basic config questions



On Thu, 30 Oct 2003 at 01:16 GMT, Haines Brown penned:
>> > I tried: "set DISPLAY teufel:0.0; export DISPLAY" /root/.profile, but
>> > it. My sytax probably wrong. Can I substitute "localhost" here for
>> > "teufel"?  
>> 
>> If you're logged in as a normal user, what does
>> 	env | grep DISPLAY
>> show you?
> 
> Monique, it displays as it should: :0.0. My problem only with root.
> 
> Haines
> 
Please don't CC me.  (If somehow my sig isn't clear enough, please let
me know how I can make it so.)

Anyway, the point of my question and your answer:  since your normal
user successfully uses the setting of DISPLAY=:0.0 , I suggest trying

...

Oh wait a minute.  I just looked at my .bashrc, etc and think I've
noticed the problem.

Try simply doing this:

DISPLAY=:0.0
export DISPLAY

(note that I don't use "set" at all)

Since :0.0 works, I don't see any real reason to use teufel explicitly,
but if your hostname is properly set up, it shouldn't be a problem.

And finally, please don't cc me =)

-- 
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: