]> git.lyx.org Git - features.git/commitdiff
Update cygwin script.
authorEnrico Forestieri <forenr@lyx.org>
Tue, 3 Mar 2015 17:17:37 +0000 (18:17 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 3 Mar 2015 17:17:37 +0000 (18:17 +0100)
Recent versions of the cygwin X11 server come with a startup script
that explicitly uses '-nolisten tcp' for improved security. This means
that mentioning a host part in the DISPLAY variable precludes correct
operation. So, leave blank the host part such that only local connections
are attempted. Even if a user can override this setting in the own
~/.lyxprofile, novice users (and even experienced ones, at first) would be
probably confused by the "Error: Can't open display: localhost:0" message
and thus it is better to make this work out of the box.

development/cygwin/lyxprofile

index afa21beb41825f1d32d9080a1cc2c1ebe302d370..f61e941001c11fd13e5f2c05e6534787d3988736 100644 (file)
@@ -16,7 +16,7 @@ export HOME
 export LANG=C.UTF-8
 
 # Set up Hostname/IP address where LyX can find an X-server.
-export DISPLAY=localhost:0.0
+export DISPLAY=:0.0
 
 # ========================================================
 # Below this line you should not change anything if you're