Results 1 to 4 of 4

Thread: gedit admin:/// no longer work

  1. #1
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    418
    Distro
    Ubuntu Development Release

    gedit admin:/// no longer work

    Try: gedit admin:///home I see an error:
    Code:
    corrado@corrado-n2-hh-0402:~$ gedit admin:///home
    
    (gedit:12489): GVFS-WARNING **: 17:49:21.210: The peer-to-peer connection failed: Could not connect: Permission denied. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.
    
    ** (gedit:12489): WARNING **: 17:49:21.219: Hit unhandled case 36 (GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set) in parse_error.
    corrado@corrado-n2-hh-0402:~$
    
    Could not open the file “admin:///home”.
    Unexpected error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set
    the error is already known: https://gitlab.freedesktop.org/polki...t/-/issues/136

  2. #2
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: gedit admin:/// no longer work

    I'm experiencing this issue as well in Ubuntu 21.04.
    Is there any work-around?

  3. #3
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: gedit admin:/// no longer work

    Moved to General Help since 21.04 has been released.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  4. #4
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,859
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: gedit admin:/// no longer work

    I've never used "gedit admin:///foo/bar". To edit files wich require root permission, you can use sudoedit:
    Code:
    sudoedit file
    putting the name of the file you want to edit on the command line. This will ask for your password (just like sudo), then it will copy the file to a temporary location, run the default text editor to allow you to edit the file and, after you close the editor, will copy the modified file back. This way, the only tool which runs with root permissions is sudoedit itself.

    The default text editor is defined in the environment variable EDITOR. To set it to gedit, add this line to your .bashrc:
    Code:
    export EDITOR=gedit
    Open a new terminal or source your .bashrc to apply the changes.

Bookmarks

Posting Permissions

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