changeset 47086:527c24dbb2b1

(Fx_open_connection): Improve help when X connection fails, xhost is insecure and xauth is better.
author Simon Josefsson <jas@extundo.com>
date Wed, 28 Aug 2002 15:12:00 +0000
parents a881d14145d0
children 756de7be303c
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed Aug 28 12:57:46 2002 +0000
+++ b/src/xfns.c	Wed Aug 28 15:12:00 2002 +0000
@@ -5370,8 +5370,9 @@
       if (!NILP (must_succeed))
 	fatal ("Cannot connect to X server %s.\n\
 Check the DISPLAY environment variable or use `-d'.\n\
-Also use the `xhost' program to verify that it is set to permit\n\
-connections from your machine.\n",
+Also use the `xauth' program to verify that you have the proper
+authoritization information needed to connect the X server.\n\
+An insecure way to solve the problem may be to use `xhost'.\n",
 	       SDATA (display));
       else
 	error ("Cannot connect to X server %s", SDATA (display));