[FreeNX-kNX] Fedora Core 6 and Cups 1.2.7 WORKING
Marcel kraan
marcel at kraan.net
Thu Dec 7 06:06:45 UTC 2006
Hello,
I have a working setup on fedora with cups 1.2.7
It's printing testpages via the kcontrol print application
Still some problems redirecting the logfile and other applications
so for testing you have to chown /var/log/cups/error.log
because i have not redirected the logfile? i don't know how.
I think we could remove a lot of cupsd.conf config.
For the rest i copyed all files from cp -r /etc/cups into the userdirectory
Then i have restarted the cups server
/usr/sbin/cupsd -f -c /opt/usr/marcel/.nx/C-b03.webamigo.nl-1000-F7FB057030E808B38BBFFD08A766DA75/cups/cupsd.conf
Strange is that openoffice and other applications does not see the printer?
marcel at b03 marcel]$ set |grep IPP
IPP_PORT=10000
openoffice.org-2.0 -writer
The kcontrol application does not have any problems seeing the printer.
Maybe it's because of my manual job.
I'am going to try to add the new config into the nxnode script
Let me know if you have any comment on this.
I have used this configfile:
MaxLogSize 2000000000
LogLevel debug2
TempDir /opt/usr/marcel/.nx/C-b03.webamigo.nl-1000-F7FB057030E808B38BBFFD08A766DA75/cups/spool/tmp
RequestRoot /opt/usr/marcel/.nx/C-b03.webamigo.nl-1000-F7FB057030E808B38BBFFD08A766DA75/cups/spool
ServerRoot /opt/usr/marcel/.nx/C-b03.webamigo.nl-1000-F7FB057030E808B38BBFFD08A766DA75/cups/
#extra added
Cachedir /opt/usr/marcel/.nx/C-b03.webamigo.nl-1000-F7FB057030E808B38BBFFD08A766DA75/cups/spool/tmp
StateDir /opt/usr/marcel/.nx/C-b03.webamigo.nl-1000-F7FB057030E808B38BBFFD08A766DA75/cups
# Administrator user group...
SystemGroup sys root
# Only listen for connections from the local machine.
Listen localhost:10000
#Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing Off
BrowseOrder allow,deny
# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
BrowseAllow @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
</Location>
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-
Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs
Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After
CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
--
___ _ _ _ ___ _ ___
| _ |_)__ _ /_\ (_)_ _| _ ) /_\ / __|
| _ \ / _` |/ _ \| | '_| _ \/ _ \ (_ |
|___/_\__, /_/ \_\_|_| |___/_/ \_\___|.com
|___/
BigAirBAG BV
Amsterdamseweg 68
1981 LH Velsen Zuid
The Netherlands
VAT/BTW : NL8065.67.831.B01
Chamber of Commerce : 08076232
Phone : +31 654378837
Fax : +31 235513420
Inter : +42 3663172486
More information about the FreeNX-kNX
mailing list