[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Paternalistic D-Bus Restrictions (was Re: 'Applications, Accessories, Root Terminal' fails silently)



On Sun, Jun 14, 2009 at 11:59:56AM -0400, Patrick Wiseman wrote:
...
> >> This is a design restriction in D-Bus."
> >> [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518390]  Well,
> >> that's just stupid, especially for experienced users like myself; I
> >> NEED to be able to use gnome-terminal as root.  I don't want a hackish
> >> workaround, I just want it to work as it always has.  Is there ANY way
> >> to make D-Bus less restrictive?
> >
> > Well, does this problem happens if user uses sudo mode for gksu.
> >
> > Application-> System Tools-> Configuration Editor:
> > /apps/gksu/sudo-mode
> 
> Makes no difference; 'gksu gnome-terminal' fails without a message.
> 
> > Also question is what happens if you enter followings in terminal.
> >
> >  $ su -c   gnome-terminal
> >  $ sudo    gnome-terminal
> >  $ sudo -H gnome-terminal

Hmmm ... so this 
 
> All fail with "Failed to contact the GConf daemon; exiting."

are coming not from gksu but from gnome-terminal.

How about 

  $ su -c   xterm
  $ sudo    xterm
  $ sudo -H xterm

If this works, this bug needs to be assigned to gnome-terminal.

It should drop privilidge to use $SUDO_USER for sudo or $USERNAME for su
which ever is not root before accessing GConf.

> Apparently, dbus will accept changes in a system-local.conf file, so
> I'll see if I can figure out what I need to do in there.

This path may work but is not generic solution for all of us to live with.

> Patrick
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: