[FreeNX-kNX] Can not start cups server
Fabian Franz
FabianFranz at gmx.de
Thu Nov 15 13:08:58 UTC 2007
> Hello Fabian,
>
> it seems to work though I get the following message in my
> local /var/log/messages:
That is okay.
> ov 15 11:46:40 akazia cupsd: Unable to open log
> file "/var/log/cups/access_log" - Permission denied
> Nov 15 11:47:13 akazia cupsd: Unable to open log
> file "/var/log/cups/page_log" - Permission denied
You could add AccessLog and PageLog directives to the wrapper script if you want to fix that.
> And on the remote System (version 3.0.0 on a SuSE 9.2) a message pops up
> which tells me:
>
> The printer 'laserjet' coundn't be attached Error
> is '1' /usr/NX/scripts/restricted/nxprinteradd.sh line 105 grep command
> not found lpadmin: add-printer (set model) failded.
> server-error-internal-error
> 'Error Tha cups printer coundn't be added to the system.
>
> Do you have an idea what the cause could be?
Yes, there seems to be an error in the script. However the 2.1.0 script does not use grep to find the lpadmin binary.
Perhaps with a look into the script you can find the bug.
> Is there a chance to set up a fixed printer name in the remote system?
> Currently I get USER_PRINTERNAME_FOURDIGITS sorry I forgot to check
> wether it was the PID or the port.
It is the display.
And as its NoMachines server, there is nothing I can do about that. FreeNx uses a different strategy to have only the printers listed that a user exports.
cu
Fabian
More information about the FreeNX-kNX
mailing list