From owner-freebsd-questions Fri Apr 27 7:24:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.acns.ColoState.EDU (eagle.acns.colostate.edu [129.82.100.90]) by hub.freebsd.org (Postfix) with ESMTP id CFA7937B422 for ; Fri, 27 Apr 2001 07:24:39 -0700 (PDT) (envelope-from broestls@holly.ColoState.EDU) Received: from holly.ColoState.EDU (holly.acns.colostate.edu [129.82.100.76]) by eagle.acns.ColoState.EDU (AIX4.3/8.9.3/8.8.8) with ESMTP id IAA36682; Fri, 27 Apr 2001 08:24:38 -0600 Received: from localhost (broestls@localhost) by holly.ColoState.EDU (AIX4.3/8.9.3/8.8.8) with ESMTP id IAA312020; Fri, 27 Apr 2001 08:24:38 -0600 Date: Fri, 27 Apr 2001 08:24:37 -0600 (MDT) From: Sean Broestl To: "Robert T.G. Tan" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: su in X In-Reply-To: <20010427132252.A85216@cs.pdx.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG switch back to your normal account, and type "xhost + localhost". That should be all you need. -Sean Broestl http://www.counterstricken.org On Fri, 27 Apr 2001, Robert T.G. Tan wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message