Results 1 to 3 of 3

Thread: I'm pretty sure gnomesu is broken

  1. #1
    Join Date
    Apr 2010
    Location
    Chicago, IL
    Posts
    171

    Default I'm pretty sure gnomesu is broken

    For example, the gparted application menu item doesn't work; using it means that there is almost no filesystem support. The only way to get it to work is to open a terminal, run 'su -', and then open it from there.

    As another example, I tried creating a nautilus script to open files as root with a command like this:

    Code:
    for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
        gnomesu -c "gnome-open '$uri'"
    done
    When I try using it, it just fails. Typing out the command in the terminal gives this (tested on a text file):

    Code:
    No protocol specified
    (gedit:13672): Gtk-WARNING **: cannot open display: :0
    I'm pretty sure the problem is that it's granting privileges, but not using the full root environment, or something along those lines.

    I'm using libgnomesu 1.0.0. Any suggestions?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: I'm pretty sure gnomesu is broken

    Strange, same libgnomesu, GNOME 3, and 'gnomesu gedit filename' simply opens the file in gedit with root permissions.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: I'm pretty sure gnomesu is broken

    On 2011-05-30 00:36, Knurpht wrote:
    >
    > Strange, same libgnomesu, GNOME 3, and 'gnomesu gedit filename' simply
    > opens the file in gedit with root permissions.


    Why would be it strange that gnome 3 behaves differently than gnome 2?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •