[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Share emacs --daemon between 2 users of same host
From: |
João Távora |
Subject: |
Share emacs --daemon between 2 users of same host |
Date: |
Wed, 05 Dec 2018 16:23:35 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
Hi,
What is the recommended way to get 2 (or more) users, say A and B, of
the same *nix host, to simulteously connect to the same emacs daemon,
each using his own emacsclient?
1. If server-use-tcp is nil, user A starts an emacs daemon which creates
a /tmp/emacs<uid>/server socket. A connects to it fine. But user B
can't pass that as -s to his emacsclient because of insufficient
permissions. This is even if A chown/chmods the socket to be more
permissive.
2. If server-use-tcp is t, the same user A now creates a
~/.emacs.d/server/server file. Again, A connects fine, but B can't pass
thjat as -f to his emacsclient because of insufficient permissions. But
even if A chown/chmods its, there is some code that still forbits it.
Is this at all possible? I read here[1] that is and that you even get
two simultenous cursors if two users are in the same buffer.
Thanks,
João
1:
https://www.reddit.com/r/emacs/comments/7d6hv0/real_time_collaboration_in_emacs/dpvhjvu
- Share emacs --daemon between 2 users of same host,
João Távora <=