Remote Access to CUPS Server
steve
sfre at roadrunner.com
Wed Jul 2 17:42:33 UTC 2008
On Wed, 2008-07-02 at 12:52 -0400, Kenneth Jacker wrote:
> I am trying to connect via my browser to port 631/ipp on my office
> machine (8.04) from my home machine (7.10). Accessing via
> 'localhost' works fine ...
>
> /var/log/cups/error_log shows this message:
>
> Unable to bind socket for address <ipaddr of home machine>:631
>
> And this is in /var/local/messages:
>
> kernel: audit(1215016128.012:8): \
> type=1502 operation="inode_permission" requested_mask="a::"\
> denied_mask="a::" name="/dev/tty" pid=23860 \
> profile="/usr/sbin/cupsd" namespace="default"
>
> Doing some searching suggest that 'apparmour' might be part of the
> problem. I tired "aa-complain cupsd" as suggested by some postings,
> but that didn't help.
>
>
> I can post part of the /etc/cups/cupsd.conf file if necessary, but
> thought I'd first see if anyone else has successfully done this.
>
> CUPS is nice, but I have always had difficulties configuring it for
> remote access. :(
>
> Thanks for any ideas,
> --
> Prof Kenneth H Jacker khj at cs.appstate.edu
> Computer Science Dept www.cs.appstate.edu/~khj
> Appalachian State Univ
> Boone, NC 28608 USA
>
theres some useful items in the configuration file you may want to look
at, like this snip from mine...
# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress all
DefaultAuthType Basic
good luck
SR
More information about the ubuntu-users
mailing list