On Feb 2, 2008 11:49 PM, Ira Abramov <[EMAIL PROTECTED]> wrote:

> howdie gang!
>
> I have two clients with a similar problem: the run a job dispatcher that
> sends their requests to a free node in a compute cluster to run a
> compilation or simulation of the system. Some of those jobs are supposed
> to open an interactive X connection. the display is set right but of
> course one needs authority to access the user's display. right now it
> means the user has to run it with "xhost +" and that's just too
> permissive.


How about copying over the cookie using "xauth nextract ... | ssh ... xauth
nmerge ..." (or whatever is required to pass over the cookie, you get the
idea)?

Also try setting up the XAUTHORITY envariable to point to a .Xauthority file
with the right cookies in it.

--Amos

Reply via email to