[PATCH xts] Set XT_DISPLAYHOST for remote connections
Peter Harris
pharris at opentext.com
Wed Jan 2 14:38:22 PST 2013
Some tests segfault if XT_DISPLAY is set and XT_DISPLAYHOST is not.
Signed-off-by: Peter Harris <pharris at opentext.com>
---
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"};
--
1.7.2.5
More information about the xorg-devel
mailing list