on Thu, Jan 18, 2001 at 09:13:45PM -0700, Ray Percival ([EMAIL PROTECTED]) 
wrote:
> When I try to launch a X application as root it tells me the
> client can not connect to the server. It is a stock 2.2 X install
> does anyone have any thoughts on the subject? Thanks Ray

Alternative to methods suggested:

   $ xauth merge ~<user>/.Xauthority

...will add all entries from the given user's .Xauthority file to root's
.Xauthority file.  This is IMO preferable to linking a file providing
direct root access to an unpriviledged user's file.

Note that you failed to mention several important details of what your
are doing, namely:

  - You'd started the session as a non-root user.
  - You'd su'd to root either without the '-' flag (including this
    initializes root's environment, excluding it retains the user
    environment), or with it and subsequently set root's $DISPLAY
    environment variable.  (I presume this).

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpJLkZpFQvoa.pgp
Description: PGP signature

Reply via email to