|
From: | Mathias Verbeke |
Subject: | Re: GNU Parallel Bug Reports Xauth problem with parallel |
Date: | Mon, 2 Dec 2013 21:41:14 +0100 |
What you are seeing is 2 different issues.On Mon, Dec 2, 2013 at 2:10 PM, Mathias Verbeke <address@hidden> wrote:
> Dear all,
>
> I'm trying to set up parallel (version 20121122) using different servers in
> a cluster. When I run the "doubleit" example from the man pages locally
> (with "-S :"), it works as expected. However, when I try to ssh to the
> servers, I get:
>
> ---
>
> Warning: No xauth data; using fake authentication data for X11 forwarding.
>
> /usr/bin/xauth: error in locking authority file
> /home/myusername/.Xauthority
>
> bash: doubleit: command not found
>
> ---
>
> What could be wrong here?
The .Xauthority problem is due to you exporting X to the remote host.
You probably have something in your .ssh/config like this:
Host *
ForwardX11 yes
And you probably ssh to multiple servers that share the same homedir.
As this is done in parallel the servers with fight over ~/.Xauthority.
The solution is to remove the Forwarding from .ssh/config or use 'ssh
-x'.
- o -
The second problem is due to you not transmitting the function to the
remote machines using --env.
But it is actually a good idea to expand the man-page example with the --env.
/Ole
[Prev in Thread] | Current Thread | [Next in Thread] |