[X2Go-User] x2go printing

Bernhard J. Mayr bernhard.mayr at elexis-austria.net
Thu Jan 17 09:35:33 CET 2013


Hi Mike!

I am using a Ubuntu 12.04 running on the server and I connect to a LXDE
Desktop environment. CUPS and X2Go Server are running on the same machine.

The file permissions are ok. Although the directory is called backend
(without the ending 's'). Though I didn't create any directories
manually, I think this should be ok.

Thanks, Bernhard

Am 17.01.2013 00:19, schrieb Mike Gabriel:
> Hi Bernhard,
>
> On Mi 16 Jan 2013 12:47:40 CET "Bernhard J. Mayr" wrote:
>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] GPL Ghostscript 9.05: **** Could
>> not open the file "/tmp/3-administrator-cupsjob16857.pdf" .
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] /usr/bin/x2goprint: Can't move
>> /var/spool/x2goprint/administrator-50-1358335004_stDLXDE_dp17_3-administr$
>>
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] End of messages
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state=3(idle)
>> D [16/Jan/2013:12:38:57 +0100] [Job 3]
>> printer-state-message="/usr/lib/cups/filter/commandtops failed"
>> D [16/Jan/2013:12:38:57 +0100] [Job 3] printer-state-reasons=none
>>
>> Seems to be a problem with directory-permissions? Do I have to grant any
>> privileges?
>>
>
> What distro are you using???
>
> The file permissions of /usr/lib/cups/backends/cups-x2go should be
> 0700:root:root. Is that the case? CUPS will execute a backend with
> that permissions with root privileges. If the privs are different, the
> backend will run as user lp:lp, which will not work as x2goprint uses
> the su command and expects root privileges.
>
> Note: if you run CUPS and X2Go Server on a different machine, then
> cups-x2go has to be installed on the CUPS machine and
> x2goserver-printing is needed on X2Go Server(s). For multi-host
> printing, you also need a line in /etc/sudoers (that should be on the
> wiki somewhere).
>
> Mike
>
> PS: if any of this information is not in the wiki, please find a good
> place in the wiki to add this piece of documentation. Thanks!
>
>
>
>
>
> _______________________________________________
> X2Go-User mailing list
> X2Go-User at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-user


-- 
####################################################################
Das Projekt elexis-austria hat den Constantinus Award 2012 gewonnen!
www.constantinus.net/award
####################################################################
----
Dr. Bernhard J. Mayr, MBA
elexis austria | Open-Source Software für die Arztpraxis
Projektkoordinator

Tulpenweg 10
4600 Wels, Austria
+43(0)660 31 96 763
bernhard.mayr at elexis-austria.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20130117/45c6831f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x28F2D3D5.asc
Type: application/pgp-keys
Size: 2696 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20130117/45c6831f/attachment.key>


More information about the x2go-user mailing list