Date: Wed, 17 May 2006 14:41:49 -0400 From: John Nielsen <lists@jnielsen.net> To: freebsd-questions@freebsd.org Cc: Barnaby Scott <bds@waywood.co.uk> Subject: Re: Gtk-Warning **: Cannot open display Message-ID: <200605171441.49907.lists@jnielsen.net> In-Reply-To: <446A3F04.9090506@waywood.co.uk> References: <446A2C57.3080401@waywood.co.uk> <446A38B2.20606@daleco.biz> <446A3F04.9090506@waywood.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605171441.49907.lists>