[X2Go-Dev] [PATCH] xauth file location mismatch in x2gostartagent

Milan Knížek knizek.confy at gmail.com
Sun Feb 19 16:21:56 CET 2012


V Sat, 18 Feb 2012 00:47:38 +0100
Mike Gabriel <mike.gabriel at das-netzwerkteam.de> napsáno:

Hello Mike,

> Hi Milan,
> 
> On Mi 15 Feb 2012 21:23:56 CET Milan Knížek wrote:
> 
> > The attached patch removes the -f $HOME/.Xauthority parameter from
> > the x2goagent command line to resolve the problem. It also removes a
> > redundant '-S' parameter (there is already $SESSION_TYPE there).
> 
> This part has been committed as is:
> http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c4a1ea405879b07d351b6c10da02bb891c02c45b

Thanks.

> > the /usr/bin/x2gostartagent script does not sufficiently specify the
> > location of $XAUTHORITY file for the xauth command, while the
> > command line for starting x2goagent refers to a specific location
> > $HOME/.Xauthority.
> 
> I have modified your patch slightly, could you test my patch if that  
> works for you???
> http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=51771f645ffa60d561e156847dbc79cce6b41d4d

Should we want -xauth parameter for x2goagent (xserver), wouldn't it be
consistent to add the same for xauth commands? (Patch attached.)

P.S. It works for me with the extra patch and also w/o it.

Regards,
Milan
-- 
http://www.milan-knizek.net/
About linux and photography (Czech only)
O linuxu a fotografování
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-f-XAUTHORITY-to-xauth-commands-in-x2gostartagent.patch
Type: text/x-patch
Size: 1593 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120219/3709e838/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120219/3709e838/attachment.pgp>


More information about the x2go-dev mailing list