From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Message when starting emacs as root Date: Fri, 22 Apr 2011 08:56:04 +1000 Organization: Unlimited download news at news.astraweb.com Message-ID: <87tydrb4e3.fsf@rapttech.com.au> References: <87r58w5dvp.fsf@Compaq.site> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1306267560 10738 80.91.229.12 (24 May 2011 20:06:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:06:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:05:56 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxrY-0004DK-04 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:05:56 +0200 Original-Received: from localhost ([::1]:48177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxrX-0004kL-Gt for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:05:55 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:7+NLCQKvRuHww5pesxyreaoAgXc= Original-Lines: 33 Original-NNTP-Posting-Host: eca5c371.news.astraweb.com Original-X-Trace: DXC=EIgak7lVZnBlVZHQGRZg_EL?0kYOcDh@JN7:H2`MmAUCJoZ66_70GPF]G; 2>V^?kWCCAkl5c@XgkNVBBF\ED4MFBP]IFXVHo?^F Original-Xref: usenet.stanford.edu gnu.emacs.help:186706 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:81036 Archived-At: Cecil Westerhof writes: > When I start Emacs as root –from the command line–, I get the > following message: > (emacs:3279): GLib-WARNING **: In call to g_spawn_sync(), exit > status of a child process was requested but SIGCHLD action was set > to SIG_IGN and ECHILD was received by waitpid(), so exit status > can't be returned. This is a bug in the program calling > g_spawn_sync(); either don't request the exit status, or don't set > the SIGCHLD action. > > GConf Error: Failed to contact configuration server; the most > common cause is a missing or misconfigured D-Bus session bus > daemon. See http://projects.gnome.org/gconf/ for information. > (Details - 1: Failed to get connection to session: Abnormal > program termination spawning command line `dbus-launch > --autolaunch=609bb989b7d80a921f5561274aef47bc --binary-syntax > --close-stderr': ) > > As a non root user I do not get it. It happens since I updated to > openSUSE 10.4, which also update Emacs. I now use: > GNU Emacs 23.2.1 (i586-suse-linux-gnu, GTK+ Version 2.22.1) of 2011-02-22 on build27 I forgot to ask, but why are you runing as root anyway? If you do this on occasion just to edit some files owned by root, you don't need to do this. YOu can edit files owned by root from witin your existing non-root emacs instance using tramp. Much faster, preserves your emacs session and I think safer/more secure. Tim -- tcross (at) rapttech dot com dot au