summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-02-24 20:06:35 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-02-24 20:26:04 +0000
commitf0615bd1eba52583854c17b6c18535741374a07f (patch)
treee4c279e33e4bc663fdc4f896d56fe962aba6cadc
parentb0def775ecf9bbb00e10da355bbf31f2b5f84cec (diff)
Set DISPLAY to ':<displayno>.0', not 'localhost:<displayno>.0'xlaunch-20150224-1
This doesn't work with the 1.17 X server's default of '-nolisten tcp', so we were waiting a few minutes and then killing the server.
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index 717a768..4b81398 100644
--- a/main.cc
+++ b/main.cc
@@ -618,7 +618,7 @@ class CMyWizard : public CWizard
// Construct display strings
std::string display_id = ":" + config.display;
- std::string display = "localhost" + display_id + ".0";
+ std::string display = display_id + ".0";
// Build X server commandline
#if defined (__CYGWIN__)