* xhost recommendation
@ 2002-07-26 16:31 Simon Josefsson
0 siblings, 0 replies; only message in thread
From: Simon Josefsson @ 2002-07-26 16:31 UTC (permalink / raw)
bash-2.05b$ DISPLAY=foo emacs
emacs: Cannot connect to X server foo.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
bash-2.05b$
"xhost" is a poor recomendation, it is insecure, especially on
multi-user systems or untrusted networks.
I suggest something like the below. Opinions?
--- xfns.c.~1.554.~ 2002-07-25 20:50:32.000000000 +0200
+++ xfns.c 2002-07-26 18:30:03.000000000 +0200
@@ -5344,8 +5344,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));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-26 16:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-26 16:31 xhost recommendation Simon Josefsson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.