Here are my two solutions for the xauth problem. Both of these methods rely on xauth (user based authorization) as opposed to xhost (host based authorization).
Let's say I'm running X as hessu and I need to su and run some X programs. hessu% echo $DISPLAY :0.0 hessu% su - <type root's password> # export DISPLAY=:0 # export XAUTHORITY=/home/hessu/.Xauthority # xterm & Using ssh works also and is simpler too: hessu% ssh -l root localhost <type root's password> # xterm & As shown above ssh sets DISPLAY and xauth cookies automagically. // Heikki -- Heikki Vatiainen * [EMAIL PROTECTED] Tampere University of Technology * Tampere, Finland -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

