From owner-freebsd-questions Fri Apr 27 4:22:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from seatle.vredesdorp.nl (seatle.demon.nl [195.173.228.191]) by hub.freebsd.org (Postfix) with ESMTP id DF4F537B424 for ; Fri, 27 Apr 2001 04:22:29 -0700 (PDT) (envelope-from rotan@cs.pdx.edu) Received: (from rotan@localhost) by seatle.vredesdorp.nl (8.11.1/8.11.1) id f3RBMvr85404 for freebsd-questions@FreeBSD.ORG; Fri, 27 Apr 2001 13:22:57 +0200 (CEST) (envelope-from rotan@cs.pdx.edu) X-Authentication-Warning: seatle.vredesdorp.nl: rotan set sender to rotan@cs.pdx.edu using -f Date: Fri, 27 Apr 2001 13:22:52 +0200 From: "Robert T.G. Tan" To: freebsd-questions@FreeBSD.ORG Subject: su in X Message-ID: <20010427132252.A85216@cs.pdx.edu> Mail-Followup-To: freebsd-questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-mutt: Heterozygous Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When running xterm, su to root, and fire up an X application the following: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s Tnx, rotan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message