Hi.

I'm having some difficulties with env variables. I got the /etc/profile
and all stuff OK. I noticed a while ago that if I wanted a su session to
read those files, I had to do a "su -". So far, so good.

The problem is, this "su -" don't pass env variables set by the normal
user. I think in particular of the DISPLAY variable : even if I put 

export DISPLAY=localhost:0.0
xhost +

in my /home/nico/.bash_profile, and then "su -", I can't launch an X
program in the su session.

What can I do to solve this ? It's quite annoying :-(

\bye

-- 

Nicolas FRANCOIS                      |  /\ 
http://nicolas.francois.free.fr       | |__|
                                      X--/\\
We are the Micro$oft.                   _\_V
Resistance is futile.               
You will be assimilated.         darthvader penguin
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to