unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).