Timothy Metz wrote:
Since we have a current thread on X-Sessions......
How can I enable root to run programs on another user's xsession? You know, the connection refused by display 0:0 crap....
Strangely enough all security measures seem to be crap until one is bitten, one of the reason's that M$ is so user friendly. I personally don't like xhost, apart from it being rather crude it also affects tk's send function. Assuming that your user name is kalle and your home is /home/kalle then the following will always work provided that /home/kalle isn't remote mounted: In bourne shell DISPLAY=:0 XAUTHORITY=/home/kalle/.Xauthority export DISPLAY XAUTHORITY I usually use sudo and I set these variables automatically when I become root. /Michael -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/