Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Bernhard J. Mayr <bernhard.mayr-inHgEGHbV50HHpVT4fDKIKxOck334EZe <at> public.gmane.org>
Subject: Re: x2go printing
Newsgroups: gmane.linux.terminal-server.x2go.user
Date: Thursday 17th January 2013 08:35:33 UTC (over 3 years ago)
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
> [email protected]
> 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
[email protected]
 
CD: 21ms