public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel A. McLure" <manuel@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	[thread overview]
Message-ID: <200602091757.55215.manuel@mclure.org> (raw)
In-Reply-To: <5bdc1c8b0602091741t70d4e241m7a7ac69691b6798@mail.gmail.com>

On Thursday 09 February 2006 05:41 pm, Mark Knecht wrote:
> On 2/9/06, Manuel McLure <manuel@mclure.org> 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 <manuel@mclure.org> <http://www.mclure.org>
...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



  reply	other threads:[~2006-02-10  2:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10  0:36 Re: [gentoo-user] Re: CUPS not allowing configuration from browser brettholcomb
2006-02-10  1:04 ` Mark Knecht
2006-02-10  1:22   ` Manuel McLure
2006-02-10  1:41     ` Mark Knecht
2006-02-10  1:57       ` Manuel A. McLure [this message]
2006-02-10  2:34         ` Mark Knecht
2006-02-10  2:40           ` Mark Knecht
2006-02-10  4:23             ` Manuel A. McLure
2006-02-10 19:06               ` Mark Knecht
2006-02-10 22:15                 ` Manuel McLure
  -- strict thread matches above, loose matches on Subject: below --
2006-02-09  3:37 [gentoo-user] " Mark Knecht
2006-02-09 11:38 ` [gentoo-user] " Harry Putnam
2006-02-09 13:02   ` Mark Knecht
2006-02-09 13:18     ` Jean Magnan de Bornier
2006-02-09 13:32     ` Sarpy Sam
2006-02-09 22:12     ` Nick Rout
2006-02-10  0:27       ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602091757.55215.manuel@mclure.org \
    --to=manuel@mclure.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox