On Sun, Jun 16, 2002 at 10:55:15PM -0400, ttv wrote: | Hi, when I su as root, I can't run X apps ... Solution 1 : Don't "su -". If you don't put the '-' on there, su will inherit the current process' environment and maintain xauth Solution 2 : # cp ~user/.Xauthority ~/ Copy your normal user's .Xauthority file to root's home directory. That gives it the "magic" cookie showing the X server it has permission to connect. -D -- Reckless words pierce like a sword, but the tongue of the wise brings healing. Proverbs 12:18 http://dman.ddts.net/~dman/
Attachment:
pgpQ_sWqAkY9y.pgp
Description: PGP signature