Date: Sun, 7 Oct 2001 16:11:52 +0300 From: Giorgos Keramidas <charon@labs.gr> To: BSD Freak <bsd-freak@mbox.com.au> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Running XfFree86 4 as root Message-ID: <20011007161152.A24892@hades.hell.gr> In-Reply-To: <eaa9cbeaf113.eaf113eaa9cb@mbox.com.au> References: <eaa9cbeaf113.eaf113eaa9cb@mbox.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
BSD Freak <bsd-freak@mbox.com.au> wrote: > Hiya all, > > I wonder if anyone can help me. I run apps such as mozilla etc as a > normal user fine under XFree86-4 (built from the ports collection). > However when I run a graphical application as root I get the following > message and it aborts: > > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server If you read the manpage of xhost(1) you'll find out why this happens. For the moment, you can just use: % xhost +localhost before you su to root. This should allow programs to work nicely. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011007161152.A24892>