all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* sudo emacsclient
@ 2009-10-26 17:03 Harry Putnam
  2009-10-26 17:35 ` Thierry Volpiatto
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Harry Putnam @ 2009-10-26 17:03 UTC (permalink / raw)
  To: help-gnu-emacs

How can I make emacslcient as handy to use as:

  sudo vim /etc/some.conf

Do I have to start a daemon as root?

I'd like to start the daemon from user account but be able to access
it like:
   sudo emacsclient -s name file

But trying that produces this error:
 sudo emacsclient -s name file
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: error accessing socket "/tmp/emacs0/gen"

ps shows the server running:

 ps wwaux|grep emacs.*\-daemon
 reader  [...] emacs --daemon=name





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

end of thread, other threads:[~2009-10-26 22:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 17:03 sudo emacsclient Harry Putnam
2009-10-26 17:35 ` Thierry Volpiatto
2009-10-26 18:30 ` Richard Riley
     [not found] ` <mailman.9516.1256581844.2239.help-gnu-emacs@gnu.org>
2009-10-26 19:03   ` Teemu Likonen
2009-10-26 20:21     ` Richard Riley
2009-10-26 20:55       ` Andreas Politz
2009-10-26 21:22         ` Richard Riley
2009-10-26 21:45           ` Andreas Politz
     [not found]       ` <mailman.9527.1256590642.2239.help-gnu-emacs@gnu.org>
2009-10-26 22:21         ` Colin S. Miller

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.