From owner-freebsd-bugs Fri Apr 20 15: 0: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7946F37B43F for ; Fri, 20 Apr 2001 15:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3KM02M94476; Fri, 20 Apr 2001 15:00:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 20 Apr 2001 15:00:02 -0700 (PDT) Message-Id: <200104202200.f3KM02M94476@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: User & Subject: Re: i386/26739: I can't seem to open files through console as a super user! Reply-To: User & Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/26739; it has been noted by GNATS. From: User & To: sucho2@vt.edu Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/26739: I can't seem to open files through console as a super user! Date: Sat, 21 Apr 2001 00:59:26 +0300 What about using xhost ? xhost +localhost will work I think. Boris Georgiev On Fri, Apr 20, 2001 at 02:08:15PM -0700, sucho2@vt.edu wrote: > > >Number: 26739 > >Category: i386 > >Synopsis: I can't seem to open files through console as a super user! > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Fri Apr 20 14:10:03 PDT 2001 > >Closed-Date: > >Last-Modified: > >Originator: Sung N. Cho > >Release: FreeBSD 4.3-RC4 > >Organization: > Dept. of Physics, Virginia Polytechnic Institute & State University > >Environment: > FreeBSD 198.82.247.66 4.3-RC4 FreeBSD 4.3-RC4 #0: Fri Apr 20 16:14:32 EDT 2001 > sncho@198.82.247.66:/usr/src/sys/compile/MYKERNEL i386 > >Description: > I am at the moment using XFree86 4.03. When I try to run say, gedit > or any other programs as a super user from console, I get connection to > ":0.0" refused by server! Here's exactly what's on my screen. > > > %su > Password: > 198# gedit > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > > Gtk-WARNING **: cannot open display: :0 > 198# > > Any way I can change in xserver setting so I can open editors as a super user? > > Thank you. > > > Yours sincerely, > Sung N. Cho, > Friday, April 20, 2001. > >How-To-Repeat: > Log in to gnome or any othe desktop or window managers as a regular user. > Then open terminal or console. Try to run any programs, say gedit or kedit > as a super user. > >Fix: > > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message