Subject: Re: bug#16064: 24.3.50; emacsclient fails on remote X session

From: Stefan Monnier <[email-masked]>
Date: Thu, 05 Dec 2013 19:43:23 -0500

> $ emacsclient -c
> Waiting for Emacs...
> *ERROR*: Display :1123 can't be opened
> $ emacs
> <works correctly>
> $ echo $DISPLAY
> :1123

My crystal ball tells me that "echo $XAUTHORITY" in the above shell
session does not give you the same answer as M-: (getenv "XAUTHORITY") RET

IOW it's a pain in the ass introduced by gdm3.  Please complain loudly,
so that maybe at some point they'll see that the "solution" they chose
is worse than the problem they tried to fix.

> When `emacsclient -c' is executed on the remote xterm, a local shell
> prints:
> No protocol specified

My crystal ball stayed mute for this one, sorry,

        Stefan