all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Changing the MIT-MAGIC-COOKIE-1 used by emacs --server
@ 2009-03-24 11:06 Sascha Wilde
  2009-03-24 11:33 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Sascha Wilde @ 2009-03-24 11:06 UTC (permalink / raw
  To: emacs-devel

Hi *,

The problem in short:

- start an X11 server with -auth
  (which is what most display-managers or startx do nowadays)
- start `emacs --server'
=> `emacsclient -c' can create a new X11-frame
- quit the X11 server (but leave the emacs server)
- start a new X11 server with -auth
=> `emacsclient -c' can't create a new frame anymore

I guess the problem is due to the changed authorization information
(cookie).  Is there a way to tell the emacs server to use new
authorization data for a given display?  

I made a naive attempt by 
(setenv "XAUTHORITY" "/path/to/new/xauth-file")
but this didn't work...

cheers
sascha
-- 
Sascha Wilde
We're Germans and we use Unix. That's a combination of two 
demographic groups known to have no sense of humour whatsoever.
  -- Hanno Mueller in de.comp.os.unix.programming




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-25 11:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 11:06 Changing the MIT-MAGIC-COOKIE-1 used by emacs --server Sascha Wilde
2009-03-24 11:33 ` Stefan Monnier
2009-03-24 16:44   ` Sascha Wilde
2009-03-24 16:59     ` Sascha Wilde
2009-03-25  1:11     ` Stefan Monnier
2009-03-25  1:15       ` Samuel Bronson
2009-03-25  1:57         ` Stefan Monnier
2009-03-25  9:07       ` Sascha Wilde
2009-03-25 11:54         ` Sascha Wilde

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.