[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xterm problem
> >Lets try
> >export DISPLAY=0:0.0
>
> Ok so this works. So my next question is how do I fix it?
I don't remember the start of this thread, but if you're talking
about DISPLAY not being set after a "su", it's not broken.
Really! That's the way it works on commercial Unix systems.
> I am guessing that I should add this to my .bashrc?
> and if it is why did it disappear when I upgraded?
You can add it to a startup script, but be careful if your
on a LAN. If you do remote login's onto other *nix boxes,
or you use X-Terminals, your windows may not appear on your
local display as you'd expect.
I wrote a more complicated script in the startup for HPUX
that sets DISPLAY correctly after a "su", but I've never
tried it in Linux. Maybe someday I'll get around to it.
Until then, I'll keep doing it the hard way. (export ...)
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------