Ubuntu Intrepid "Too many failed attempts" printing error
There is a known bug in GTK used by Ubuntu Intrepid's 8.10 desktop environment Gnome that causes trouble when printing from a GTK application, such as evince or gedit. The applications do not print and an error occurs: Too many failed attempts. OpenOffice against it, and even the test page tool in cups administration won't show that behavior.
Check your error log:
tail -f /var/log/cups/error_log
E [26/Jan/2009:10:45:13 +0100] Print-Job: Unauthorized
The message "Print-Job: Unauthorized" indicates the problem. Here is how to fix it:
1. Stop the cups daemon to prevent cups from reseting your modifications
sudo /etc/init.d/cups stop
2. Edit your cups configuration with the editor of your choice and comment out these lines
sudo vi /etc/cups/printers.conf
#AuthInfoRequired username,password
EDIT:
To prevent cups to place thoose lines again in your config file you may want to make it immutable with
sudo chattr +i /etc/cups/printers.conf
3. Start cups again
sudo /etc/init.d/cups start
4. Try to print with gedit - it should work now.
Did it work for you? Drop a comment...
Check your error log:
tail -f /var/log/cups/error_log
E [26/Jan/2009:10:45:13 +0100] Print-Job: Unauthorized
The message "Print-Job: Unauthorized" indicates the problem. Here is how to fix it:
1. Stop the cups daemon to prevent cups from reseting your modifications
sudo /etc/init.d/cups stop
2. Edit your cups configuration with the editor of your choice and comment out these lines
sudo vi /etc/cups/printers.conf
#AuthInfoRequired username,password
EDIT:
To prevent cups to place thoose lines again in your config file you may want to make it immutable with
sudo chattr +i /etc/cups/printers.conf
3. Start cups again
sudo /etc/init.d/cups start
4. Try to print with gedit - it should work now.
Did it work for you? Drop a comment...
Comments
I cannot print again??
Thanks,
Jason
Did you stopped the cups service before changing the settings?! That does the trick - at least for me.
Hmm - strange. I'd the effect only when i did not stop the cups service while changing the "printers.conf".
You may want to set the file attribute "immutable" with the "chattr" command to leave changes as they are?
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/283811
Dunno if this will work in every situation, but it may be an easy fix for someone else too, so I thought I'd mention it
Thanks again,
John C
Thank you very much!
(The strange thing is I had no problem printing until today; still don't know why it stopped working)
Thank you.
This fix really did the trick on my Fedora 10. Does anyone know why this happened in the first place? I was able to print just fine until today when I got the error. Is it possible that a Fedora update could break this? Or maybe I am getting this wrong and this is a feature not a bug...
Anyway, thankx!
really man ... THANKS! if you had ads on your site i'd click them :D
Awesome!
Thank you for your help
Thank you so much!
Tuomas