kleindoofi wrote:
hi, i used to start some applics that need root using
su -c "myapplic"
from a non-root Xsession. This does not work anymore with error in .Xauthority and "cannot connect to display :0"
has anybody seen this? I have been through the man pages but no reference on configuring user access.
I'm not sure if this applies to your problem, but I usually do this to run an application as root in a user X session: ~ $ su -l Password: ~ # export DISPLAY=:0 ~ # ksysv& [1] 928 ~ # If I don't export DISPLAY, then I get: ~ $ su -l Password: ~ # ksysv& [1] 937 ~ # [1]+ Exit 1 ksysv ~ # In the above example, I get no error that ksysv couldn't open the display, but some other apps tell me this. -- _____________________ Christopher R. Carlen crcarl@inreach.com Linux 2.2.10