Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Jan 12, 2003 5:48 pm    Post subject: CUPS Problem Reply with quote

When i try to print to my printer DeskJet, which is connected to a different computer, i get this error
Code:
Forbidden
You don't have permission to access the resource on this server.


But it works fine on my laptop, which has the same settings in cups
laptop - cups 1.1.18
desktop - cups 1.1.18
server - cups 1.1.14(didn't upgrade because this error)
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Jan 12, 2003 7:18 pm    Post subject: Reply with quote

Probably there's something wrong with your host(name)

Open a webbrowser: http://localhost:631 (cups web server); choose a printer and move your mouse over the entire row of buttons for one printer, and check the links: probably, one or two buttons do not point towards http://localhost:631, but to http://<yourmachinename>.
That's the origin of the problem I think.

The easiest fix: edit /etc/cups/cupsd.conf
and add: ServerName localhost

Or, in case of network-printing trouble, make sure the Servername is equal to your machine name in /etc/hosts.

I hope you understand what I mean. I'm to tired to write decent sentences I guess :)
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Jan 12, 2003 8:45 pm    Post subject: Reply with quote

Thanks, it seems to work now(test page at least), but why didn't i have to set that up on laptop?
edit
is it because on my laptop in /etc/hosts i have
Code:
127.0.0.1     localhost <compname>

and on my desktop i have
Code:
127.0.0.1     localhost
192.168.1.2    <compname>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum