From 0e274e06d8e65020a972af2102e16c4ff82fdb05 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Thu, 5 Mar 2015 00:01:40 +0100 Subject: [PATCH] Update cygwin script. 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 | 2 +- status.21x | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/development/cygwin/lyxprofile b/development/cygwin/lyxprofile index afa21beb41..f61e941001 100644 --- a/development/cygwin/lyxprofile +++ b/development/cygwin/lyxprofile @@ -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 diff --git a/status.21x b/status.21x index c74e2ce21d..336c98f45d 100644 --- a/status.21x +++ b/status.21x @@ -42,6 +42,9 @@ What's new - Fix some missing symbols in math completer. +- Fix the profile script used on cygwin to comply with the latest cygwin/X + X server which, by default, does not anymore listen to tcp connections. + * DOCUMENTATION AND LOCALIZATION