unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: gksu and server
Date: Wed, 05 Dec 2018 18:07:34 +0100	[thread overview]
Message-ID: <877egngaw9.fsf@web.de> (raw)

Hi,

I used to start a graphical Emacs for other user (Debian here btw) from
a running X session with gksu, an su frontend.  Since some days,
starting the Emacs server from such an Emacs instance fails with

  signal(file-error ("Creating directory" "Permission denied" "/run/user/1000/emacs"))
  files--ensure-directory("/run/user/1000/emacs")
  make-directory("/run/user/1000/emacs" t)
  server-ensure-safe-dir("/run/user/1000/emacs")
  server-start(nil inhibit-prompt)

User 1000 is the one owning the X session - i.e. the wrong one.

I dunno what makes the difference.  Does anyone know why this could be
happening?


Thanks,

Michael



             reply	other threads:[~2018-12-05 17:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 17:07 Michael Heerdegen [this message]
2018-12-05 17:31 ` gksu and server tomas
2018-12-05 18:56   ` Michael Heerdegen
2018-12-05 20:20     ` tomas
2018-12-05 17:47 ` Glenn Morris
2018-12-05 18:32   ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877egngaw9.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).