diff options
| author | Simon Josefsson | 2002-08-28 15:12:00 +0000 |
|---|---|---|
| committer | Simon Josefsson | 2002-08-28 15:12:00 +0000 |
| commit | bf770132a94fb1faa69f3b4e84a2570a6289b1d8 (patch) | |
| tree | 7e45a786b81d6a955864b8c514046592b7756303 /src | |
| parent | 2c37653c705b67fd6228d9331e66eec20c757ccf (diff) | |
| download | emacs-bf770132a94fb1faa69f3b4e84a2570a6289b1d8.tar.gz emacs-bf770132a94fb1faa69f3b4e84a2570a6289b1d8.zip | |
(Fx_open_connection): Improve help when X connection
fails, xhost is insecure and xauth is better.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c index caa54d97e2c..882d641e226 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -5370,8 +5370,9 @@ terminate Emacs if we can't open the connection. */) | |||
| 5370 | if (!NILP (must_succeed)) | 5370 | if (!NILP (must_succeed)) |
| 5371 | fatal ("Cannot connect to X server %s.\n\ | 5371 | fatal ("Cannot connect to X server %s.\n\ |
| 5372 | Check the DISPLAY environment variable or use `-d'.\n\ | 5372 | Check the DISPLAY environment variable or use `-d'.\n\ |
| 5373 | Also use the `xhost' program to verify that it is set to permit\n\ | 5373 | Also use the `xauth' program to verify that you have the proper |
| 5374 | connections from your machine.\n", | 5374 | authoritization information needed to connect the X server.\n\ |
| 5375 | An insecure way to solve the problem may be to use `xhost'.\n", | ||
| 5375 | SDATA (display)); | 5376 | SDATA (display)); |
| 5376 | else | 5377 | else |
| 5377 | error ("Cannot connect to X server %s", SDATA (display)); | 5378 | error ("Cannot connect to X server %s", SDATA (display)); |