[PATCH xts] Set XT_DISPLAYHOST for remote connections
Aaron Plattner
aplattner at nvidia.com
Fri Jan 4 18:12:52 PST 2013
On 01/02/2013 02:38 PM, Peter Harris wrote:
> Some tests segfault if XT_DISPLAY is set and XT_DISPLAYHOST is not.
>
> Signed-off-by: Peter Harris <pharris at opentext.com>
Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
Which test? I did set DISPLAY=localhost:1 and verified that
XT_DISPLAYHOST ends up set to 'localhost' so
Tested-by: Aaron Plattner <aplattner at nvidia.com>
--
Aaron
> ---
> xts5/bin/xts-config.in | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/xts5/bin/xts-config.in b/xts5/bin/xts-config.in
> index 9e30b5f..ce55618 100755
> --- a/xts5/bin/xts-config.in
> +++ b/xts5/bin/xts-config.in
> @@ -99,6 +99,10 @@ BEGIN
> }
> else
> {
> + $::vars{"XT_TCP"} = "Yes";
> + my @displayhost = split(/:/, $::vars{"DISPLAY"}, 2);
> + $::vars{"XT_DISPLAYHOST"} = $displayhost[0];
> +
> # Not a local display; admin is responsible for placing
> # xtest fonts on the font path before running xts-config.
> $::vars{"XT_FONTPATH"} = $::vars{"XT_FONTPATH_GOOD"};
>
More information about the xorg-devel
mailing list