You are not logged in.

#1 2006-10-07 16:09:21

david_e
Member
From: Italy
Registered: 2006-08-28
Posts: 83

[solved] CUPS works, but I can't print

I am tring to configure Arch so it can print.

My printer is attacched to an Ubuntu CUPS server that I configured on another computer. 
I have configurated CUPS in this computer and added the network shared printer and the PDF printer in it. Everything seems to work in the html CUPS manager: I am able to correctly print the test page with both the printers (the real and the virtual one). But when I try to manage CUPS with the gnome-cups-manager I get this error:

(gnome-printer-view:3846): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

** (gnome-printer-view:3846): WARNING **: IPP request failed with status 1280

** (gnome-printer-view:3846): WARNING **: IPP request failed with status 1280

and none of my applications seems to see neither the real nor the virtual printer so I am not able to print anything but the test page from the html manager!  :x

The strange fact is that when at first I tested the printer by directly plugging it to this computer via USB everithing was working fine and I was able to use both the printer and the pdf-printer from every gnome application... now the printer is no longer plugged in this computer and nothing works: not even the virtual printer!

I have looked in the forum and on google but I found nothing...

Is there anything I should do to make gnome see my CUPS printers?

*** EDIT ***
I also have an error message in a window with:

The CUPS server could not be contacted.

Offline

#2 2006-10-07 16:57:08

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: [solved] CUPS works, but I can't print

edit: here's something from another forum, not sure how helpful it is in solving it, but at least it's pretty clear it's an X/gnome permissions problem:

That means that root's launched programs doesn't have the authorisation to connect to your current X session. It's only a matter of exporting/setting the X cookies, but if you don't want to dig in deeper, there are wrappers for su and sudo out there. On Debian there's sux (http://sourceforge.net/projects/sux/ and the old page http://fgouget.free.fr/sux/) or gksu (http://www.nongnu.org/gksu/). You'll probably find something similar on Fedora.
http://gnomesupport.org/forums/viewtopi … bde9d7dd9d

Offline

#3 2006-10-07 19:07:27

david_e
Member
From: Italy
Registered: 2006-08-28
Posts: 83

Re: [solved] CUPS works, but I can't print

Thanks for the reply.

Actually the problem is not really gnome-cups-manager: I can go without it. The problem is my programs don't see the printer...

If I run gnome-cups-manager without the root account I don't have the error message:

(gnome-printer-view:3846): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

but it doesn't work either.

Offline

#4 2006-10-08 12:28:18

david_e
Member
From: Italy
Registered: 2006-08-28
Posts: 83

Re: [solved] CUPS works, but I can't print

Solved! big_smile

I simply had to remove the client.conf file.

Offline

Board footer

Powered by FluxBB