Paul Johnson wrote:
su -m passes your current environment to your new one, thus your Xauth gets passed on to root (and things running from that su can connect to your X display).
Which is nice for running an X app as root, but I notice that some of the extra paths (like /sbin) don't get added to your root environment, which makes it a little more frustrating to actually *do* the sorts of things one would `su' to root to do... It's a tradeoff. dk