unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Hikaru Ichijyo <ichijyo@macross.sdf.jp>
To: help-gnu-emacs@gnu.org
Subject: Re: [SOLVED] Re: GNU emacs on Ubuntu 14.04 LTS
Date: Fri, 02 Oct 2015 04:40:04 -0500	[thread overview]
Message-ID: <8xx8u7l8v7v.fsf@village.keycorner.org> (raw)
In-Reply-To: f5464cb6-52f0-4105-96a1-a7ee36d168cb@googlegroups.com

Alexandre Oberlin <alxobr@gmail.com> writes:

> Yes, you are right, X was unavailable because of this:
> With the coming 14.04 release sux (wrapper around su which will
> transfer your X credentials) is no longer included in Ubuntu. (I think
> it is being removed because it is being pulled from Debian, because of
> no maintenance of the original code.)
> source
> http://askubuntu.com/questions/428284/what-is-a-good-alternative-to-the-sux-command
> where an alternative to using the obsoleted sux is given.
> The problem is then solved, thanks.

Rather than using sux or some other method to run the entire Emacs as
another user like root, try Tramp mode:

C-x C-f /sudo::/etc/whatever-you-want

That way, your Emacs session runs as you, and only the bare minimum
needed for root permissions is using sudo.  (You can also do
"/su::/etc/whatever" if you're on a machine with a real root account.)

-- 
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
					--Thomas Paine


  parent reply	other threads:[~2015-10-02  9:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 14:14 GNU emacs on Ubuntu 14.04 LTS Alexandre Oberlin
2015-09-30 14:52 ` Javier
2015-09-30 14:57   ` Alexandre Oberlin
2015-09-30 23:26   ` alxobr
2015-10-01 13:03     ` Dan Espen
2015-10-01 15:01       ` [SOLVED] " Alexandre Oberlin
2015-10-01 15:15         ` Dan Espen
2015-10-02  9:40         ` Hikaru Ichijyo [this message]
2015-10-01 20:07 ` Bob Proulx

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=8xx8u7l8v7v.fsf@village.keycorner.org \
    --to=ichijyo@macross.sdf.jp \
    --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).