Yo,

1. Is it a feature that the DISPLAY environment variable is not set after a 
'su - user' ?

2. Also, the kfmsu2 script fails if the root shell is set to csh instead of 
bash.

The best I could find was to change the su command:

su root -c 'bash -c DISPLAY=$DISPLAY; bash -c "export DISPLAY"; bash -c "kfm 
-sw >/dev/null"'

---
kel

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to