Re: Logging on to X as root?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Apr 28, 2003 at 05:02:20AM -0500, David Krider wrote:
> I'm still curious, though, about the reason that the other way seemingly
> *can't* work. Why won't a simple `su -' to root let me run an X
> application, even though I export a DISPLAY variable and `xhost +' on
> the user side? I want to understand what Debian is doing here.
Avoid xhost. Use su -m instead to pass your current environment to
your new one (thus your XAuth matches.)
- --
.''`. Baloo Ursidae <baloo@ursine.dyndns.org>
: :' : proud Debian admin and user
`. `'`
`- Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+rZO+J5vLSqVpK2kRAqdyAJ9sNfrJmoOM9mPsJBqOAKvXGsIOEQCePoPX
+lg1q7LAoM6/V+j0iLYOT7E=
=AVJ3
-----END PGP SIGNATURE-----
Reply to: