From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F7Neb-0003Ce-10 for garchives@archives.gentoo.org; Fri, 10 Feb 2006 02:04:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1A23KrB030522; Fri, 10 Feb 2006 02:03:20 GMT Received: from leng.mclure.org (015.191-78-65.ftth.swbr.surewest.net [65.78.191.15]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1A1vvI0024961 for ; Fri, 10 Feb 2006 01:57:57 GMT Received: from localhost (localhost [127.0.0.1]) by leng.mclure.org (Postfix) with ESMTP id E66E4D24328 for ; Thu, 9 Feb 2006 17:57:56 -0800 (PST) Received: from leng.mclure.org ([127.0.0.1]) by localhost (leng.mclure.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31460-04 for ; Thu, 9 Feb 2006 17:57:55 -0800 (PST) Received: from ulthar.internal.mclure.org (ulthar.internal.mclure.org [10.128.1.2]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by leng.mclure.org (Postfix) with ESMTP id 9BE47D24326 for ; Thu, 9 Feb 2006 17:57:55 -0800 (PST) From: "Manuel A. McLure" Organization: mclure.org To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: CUPS not allowing configuration from browser Date: Thu, 9 Feb 2006 17:57:55 -0800 User-Agent: KMail/1.8.3 References: <20060210003634.HQOK23303.ibm67aec.bellsouth.net@mail.bellsouth.net> <43EBEAC2.8060708@mclure.org> <5bdc1c8b0602091741t70d4e241m7a7ac69691b6798@mail.gmail.com> In-Reply-To: <5bdc1c8b0602091741t70d4e241m7a7ac69691b6798@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602091757.55215.manuel@mclure.org> X-Virus-Scanned: amavisd-new at mclure.org X-Archives-Salt: a2368ca4-21c3-4b6a-bc5a-02fca9d45cd6 X-Archives-Hash: eb1e5b57ca27c47febb3d5f824924001 On Thursday 09 February 2006 05:41 pm, Mark Knecht wrote: > On 2/9/06, Manuel McLure wrote: > > Mark Knecht wrote: > > > Hi Brett, > > > Yes, I zapped it and tried restarting it but I get complaints. > > > > Try > > > > pgrep cupsd > > > > and see if there's a PID listed. If so, do > > > > pkill cupsd > > /etc/init.d/cupsd zap > > /etc/init.d/cupsd start > > Good so far: > > mark@lightning ~ $ su - > Password: > lightning ~ # pgrep cupsd > 8015 > lightning ~ # pkill cupsd > lightning ~ # /etc/init.d/cupsd zap > lightning ~ # /etc/init.d/cupsd start > * Starting cupsd ... [ > ok ] lightning ~ # > > I then go to http://localhost:631 and choose Manage Printers. I see > both printers which are on the network. One is on my son's FC2 > machine, and is currently default. I also see the printer on the Mac. > I clock on the Mac printer's 'Set as default' button. I'm taken to a > page that says: > > Forbidden > You don't have permission to access the resource on this server. > > This doesn't happen on the 'Print Test page' button. That one > correctly sends a test page to each printer. However all other buttons > result in the message above. The used to allow me to type in a > password and do what I needed. > > I'm still quite concerned that the cupsd config files are hosed. As > I've said there is nothing in the printers.conf file except a couple > of header lines. Wait - are these printers physically on this machine? Or are they on a CUPS server on another box? You can only manage local printers using localhost:631 - if they're on a remote box you'll have to do remotebox:631 to manage them. As a test, try the "Add Printer" button at the bottom of the list of printers. If that asks you for a username/password, then that's what the problem is. I'm supposing that during all of this you've exited and restarted your browser at least once - otherwise the browser may be sending expired credentials. Note that if you don't have any local printers, you don't need to run cupsd to access them. All you need is to enter the hostname of your CUPS server in the ServerName parameter in /etc/cups/client.conf. Any cups-aware app will use the printers advertised by that server. -- Manuel A. McLure KE6TAW ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list