From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hikaru Ichijyo Newsgroups: gmane.emacs.help Subject: Re: [SOLVED] Re: GNU emacs on Ubuntu 14.04 LTS Date: Fri, 02 Oct 2015 04:40:04 -0500 Organization: UN Spacy Message-ID: <8xx8u7l8v7v.fsf@village.keycorner.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443783393 26634 80.91.229.3 (2 Oct 2015 10:56:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2015 10:56:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 02 12:56:33 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zhy0u-00008I-6b for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Oct 2015 12:56:32 +0200 Original-Received: from localhost ([::1]:58644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhy0t-0007VW-8t for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Oct 2015 06:56:31 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!news.astraweb.com!border6.a.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:GnBwyzaVA/VJlPHLSVrGq0ux034= Original-Lines: 26 Original-NNTP-Posting-Host: c3c14ea5.news.astraweb.com Original-X-Trace: DXC=U>XAb?SOnYAU8fT?_VL23KL?0kYOcDh@Jl@eKhX@@^eFNUD]k]; EK]N; n^U31oXNSJOihP2Y6hdnJ6e^?9Z0mn List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107464 Archived-At: Alexandre Oberlin 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