hi,
that's true, however is there any way how to get the information which user is running the current X session? since it is needed for the xauth command... with single user machines this is not problem, but with machines shared by many people...ok, this works. after su, i enter this command and then X apps work again. is there any way how this could be 'automated'?xauth -f /home/user/.Xauthority extract - $DISPLAY | xauth merge - where "user" is the user that logged on to xdm. This will extract the user's authorization cookie for the current display and merge it into root's authority file. Then root should be able to access the display until user logs out again. (I tested this with kdm, but I assume it works for xdm as well.)You can put the command into /root/.bashrc, then it is executed whenever you do "su".
regards, -- Lubos _@_" http://www.lubos.vrbka.net