How to make CUPS GUI available to other hosts?

NoOp glgxg at sbcglobal.net
Wed Nov 17 22:23:20 UTC 2010


On 11/16/2010 04:21 PM, Masao Kitamura wrote:
> I'm trying to make the CUPS GUI available on a server (no monitor).
> 
> So, I'm testing on a desktop installation where I know the GUI works like this:
> 
> http://localhost:631
> 
> Next, I'm trying to access that same desktop box from another machine's brower:
> 
> http://the.other.box.that.works:631
> 
> The cupsd.conf file on the working machine looks like this:

I' just tested by first looking at the cupsd.conf and then turning on
allow remote administration via the gui
(System|Administration|Printing|Server|Settings|'Allow remote
administration'). Used http://<ipofothersystem>:631
These areas are the most obvious that changed:

Before:
<Location /admin>
  # Restrict access to the admin pages...
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Restrict access to the configuration files...
  Order allow,deny
</Location>

After:
<Location /admin>
  # Allow remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow @LOCAL
</Location>

Note the 'Allow @LOCAL'.

Probably the easiest way for you is to do the same on your machine with
a gui and do a diff of the cupsd.conf file before and after.





More information about the ubuntu-users mailing list