Hello, all. I'm stumbling through how to have a central cups server provide cups-x2go printing for multiple X2Go Servers. It seems the cups-x2go backend looks to the cups-x2go.conf file to specify the X2Go Server and only accommodates a single server. We want it to service hundreds or more.
I see that the cups-x2go backend takes "cups-x2go job-id user title copies options [file]" as arguments. My current endeavor is to query the sessions database for the user to find the server but that presents the problem of when a user may have sessions on multiple servers. Is there any way to pass (even by hacking the code) the hostname of the originating X2Go Server as an argument? That would eliminate the need for the database call and make it more foolproof. Thanks - John
PS - it looks like I've been able to move the x2gocleansessions processing to a central process for cleaning up hundreds of X2GoServers in a VServer 1-to-1 environment. As soon as I steer clear, I'll post the patches and documentation - John
On Tue, 2010-03-09 at 04:10 -0500, John A. Sullivan III wrote:
Hello, all. I'm stumbling through how to have a central cups server provide cups-x2go printing for multiple X2Go Servers. It seems the cups-x2go backend looks to the cups-x2go.conf file to specify the X2Go Server and only accommodates a single server. We want it to service hundreds or more.
I see that the cups-x2go backend takes "cups-x2go job-id user title copies options [file]" as arguments. My current endeavor is to query the sessions database for the user to find the server but that presents the problem of when a user may have sessions on multiple servers. Is there any way to pass (even by hacking the code) the hostname of the originating X2Go Server as an argument? That would eliminate the need for the database call and make it more foolproof. Thanks - John
PS - it looks like I've been able to move the x2gocleansessions processing to a central process for cleaning up hundreds of X2GoServers in a VServer 1-to-1 environment. As soon as I steer clear, I'll post the patches and documentation - John <snip> To create passwordless database login, we can use a .pgpass file but what user will need this file when run from cups-x2go? Is it the cups user? Thanks - John
On Tue, 2010-03-09 at 05:06 -0500, John A. Sullivan III wrote:
On Tue, 2010-03-09 at 04:10 -0500, John A. Sullivan III wrote:
Hello, all. I'm stumbling through how to have a central cups server provide cups-x2go printing for multiple X2Go Servers. It seems the cups-x2go backend looks to the cups-x2go.conf file to specify the X2Go Server and only accommodates a single server. We want it to service hundreds or more.
I see that the cups-x2go backend takes "cups-x2go job-id user title copies options [file]" as arguments. My current endeavor is to query the sessions database for the user to find the server but that presents the problem of when a user may have sessions on multiple servers. Is there any way to pass (even by hacking the code) the hostname of the originating X2Go Server as an argument? That would eliminate the need for the database call and make it more foolproof. Thanks - John
PS - it looks like I've been able to move the x2gocleansessions processing to a central process for cleaning up hundreds of X2GoServers in a VServer 1-to-1 environment. As soon as I steer clear, I'll post the patches and documentation - John <snip> To create passwordless database login, we can use a .pgpass file but what user will need this file when run from cups-x2go? Is it the cups user? Thanks - John <snip> A bit of debugging shows that it is root. Almost there - John