From owner-freebsd-questions@FreeBSD.ORG Wed May 17 18:43:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3281216B875 for ; Wed, 17 May 2006 18:43:24 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9850843D58 for ; Wed, 17 May 2006 18:43:09 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k4HIh0QN088206; Wed, 17 May 2006 11:43:00 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 17 May 2006 14:41:49 -0400 User-Agent: KMail/1.9.1 References: <446A2C57.3080401@waywood.co.uk> <446A38B2.20606@daleco.biz> <446A3F04.9090506@waywood.co.uk> In-Reply-To: <446A3F04.9090506@waywood.co.uk> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605171441.49907.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Barnaby Scott Subject: Re: Gtk-Warning **: Cannot open display X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 18:43:24 -0000 On Tuesday 16 May 2006 17:07, Barnaby Scott wrote: > Kevin Kinsey wrote: > > Barnaby Scott wrote: > >> So, I installed Firefox from ports, having made sure everything was > >> bang up to date. Evrything seemed to go perfectly well, but lo and > >> behold, first attempt to use it and I get this: > >> > >> (firefox-bin:582): Gtk-Warning **: Cannot open display > >> > >> What the..? > >> > >> I have searched for this problem and found plenty of references > >> similar error messages, but none of it seems to apply in my case. I am > >> not trying to run Firefox as root, I am not doing it from a remote > >> terminal, I am not standing in a bucket of water, I have the computer > >> plugged in. > > > > I think these are Good Things(tm), 'though I have been able to operate > > a browser whilst standing in a bucket of water. > > > > Q: Are you running an X display at the time this message is given, > > or are you attempting to run Firefox from the console? > > > > Kevin Kinsey > > I have tried both. It is running from the console that gives the message > quoted - if I am running an X display at the time it fails with no > message at all. This is a Firefox oddity. It needs to be run as root one time after it is installed (or [sometimes] upgraded). Do this from an xterm: cd su cp .Xauthority /root firefox Assuming the browser window comes up, you can just close it. You should be able to run it as a regular user afterwards. JN