all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Message when starting emacs as root
Date: Fri, 22 Apr 2011 08:56:04 +1000	[thread overview]
Message-ID: <87tydrb4e3.fsf@rapttech.com.au> (raw)
In-Reply-To: 87r58w5dvp.fsf@Compaq.site

Cecil Westerhof <Cecil@decebal.nl> 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


  parent reply	other threads:[~2011-04-21 22:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21  6:15 Message when starting emacs as root Cecil Westerhof
2011-04-21 22:54 ` Tim X
2011-04-21 22:56 ` Tim X [this message]
2011-04-21 23:20 ` Glenn Morris

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

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

  git send-email \
    --in-reply-to=87tydrb4e3.fsf@rapttech.com.au \
    --to=timx@nospam.dev.null \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.