From owner-freebsd-questions@FreeBSD.ORG Thu Aug 20 13:02:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30078106568C for ; Thu, 20 Aug 2009 13:02:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C7F368FC43 for ; Thu, 20 Aug 2009 13:02:32 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n7KD2SCd070080; Thu, 20 Aug 2009 07:02:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n7KD2Sb8070077; Thu, 20 Aug 2009 07:02:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 20 Aug 2009 07:02:28 -0600 (MDT) From: Warren Block To: Marc Fonvieille In-Reply-To: <20090820123041.GA1239@gothic.blackend.org> Message-ID: References: <200908201343.07634.tijl@ulyssis.org> <20090820123041.GA1239@gothic.blackend.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Thu, 20 Aug 2009 07:02:28 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Flash10 with 8.0-BETA2 and Firefox 3.5.2 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: Thu, 20 Aug 2009 13:02:33 -0000 On Thu, 20 Aug 2009, Marc Fonvieille wrote: > On Thu, Aug 20, 2009 at 06:12:23AM -0600, Warren Block wrote: >> On Thu, 20 Aug 2009, Tijl Coosemans wrote: >> >>> On Thursday 20 August 2009 03:41:05 Warren Block wrote: >>>> On 8.0-BETA2 with www/linux-f10-flashplugin10 and www/firefox35 >>>> installed. >>>> >>>> As per the Handbook, a soft link in /usr/local/lib/browser_plugins to >>>> /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so. >>>> nspluginwrapper -a -i runs normally. >>>> >>>> linprocfs mounted, and nspluginwrapper -l shows >>>> /usr/local/lib/browser_plugins/libflashplayer.so. >>>> >>>> But about:plugins shows nothing but the "default plugin". >>>> >>>> Is something else necessary? >>> >>> I think you ran nspluginwrapper as root. If you run it as a normal >>> user it puts the wrapped plugin in ~/.mozilla/plugins where Firefox >>> picks it up. If you run it as root it puts it in >>> /usr/local/lib/browser_plugins. Firefox 2.x and some other browsers >>> scan this directory, but newer versions don't for some reason. You have >>> to create a symlink in /usr/local/lib/firefox3/plugins/ to the >>> npwrapper plugin in /usr/local/lib/browser_plugins/ >> >> That works! >> >> I had first run nspluginwrapper -a -i as normal user, then as root. >> > > The Handbook says: > > -- > Once the right Flash port, according to the FreeBSD version you run, is > installed, the plugin must be installed by each user with > nspluginwrapper: > > % nspluginwrapper -v -a -i > -- > > So you should not run it as root. Let me clarify: I did not run it as root until after it didn't work as a normal user. Or at least I thought I didn't. Now, having removed the link in /usr/local/lib/firefox3/plugins and making sure that npwrapper.libflashplayer.so was not present in /usr/local/lib/browser_plugins, nspluginwrapper and Flash as a normal user works. -Warren Block * Rapid City, South Dakota USA