Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 71

Thread: Using pkexec

  1. #61
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Using pkexec

    Short and simple:
    Code:
    :~$ pkexec gedit
    ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
    Authentication is needed to run `/usr/bin/gedit' as the super user
    Authenticating as: ****...****,,, (****...****)
    Password: 
    ==== AUTHENTICATION COMPLETE ===
    gdk_mir_display_open
    Failed to connect to Mir: Failed to connect to server socket: No such file or directory
    (gedit:8984): Gtk-WARNING **: cannot open display: 
    :~$ pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
    ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
    Authentication is needed to run `/usr/bin/env' as the super user
    Authenticating as: ****...****,,, (****...****)
    Password: 
    ==== AUTHENTICATION COMPLETE ===
    In second case GEdit works like it is supposed to. In first it did not show up. So, nothing new at that front except that „Mir“ is there, at least, as...
    Code:
    :~$ dpkg -l|grep mir
    ii  libmirclient8:amd64                                   0.8.0+14.10.20141010-0ubuntu1                     amd64        Display server for Ubuntu - client library
    ii  libmirclient8driver-mesa:amd64                        0.8.0+14.10.20141010-0ubuntu1                     amd64        Display server for Ubuntu - client platform library for Mesa
    ii  libmircommon2:amd64                                   0.8.0+14.10.20141010-0ubuntu1                     amd64        Display server for Ubuntu - shared library
    Last edited by zika; October 25th, 2014 at 11:53 AM.

  2. #62
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Using pkexec

    works as expected here in xubuland, at least for the policies we supply

  3. #63
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Using pkexec

    Quote Originally Posted by ventrical View Post
    We're suppossed to be testing pkexec.

    Regards..
    Oh ok guess I forgot.

  4. #64
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Using pkexec

    Quote Originally Posted by Cavsfan View Post
    Oh ok guess I forgot.
    Thats ok ... I know what you are saying . Leafpad is alright! I like it too.

    regards..

  5. #65
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Using pkexec

    pkexec gedit is fine here (14.10 release upgraded to vivid
    Ex. from terminal, ie. no nothing unexpected, root gedit opens as normal
    $ pkexec gedit /etc/fstab
    doug@doug-Lenovo-IdeaPad-Y510P:~$
    Any issues arising would be from the policy not being installed with the package, not anything to do with vivid (in regards to gedit & policykit nothing has changed from 14.10
    screen1 - auth dialog
    scr. 2 typical root gedit window (w/ integrated menus as root doesn't support global

    So nothing broken or changed...
    Attached Images Attached Images

  6. #66
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Using pkexec

    Quote Originally Posted by Elfy View Post
    works as expected here in xubuland, at least for the policies we supply
    Absolutely no issues atm.

  7. #67
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Using pkexec

    I added
    Code:
    pkexec synaptic
    to /usr/share/applicaions/synaptic.desktop, as I finally got tired of typing:

    Code:
    sudo -H synaptic
    all the time. it works as it should so far.

  8. #68
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Using pkexec

    I added /usr/bin/synaptic-pkexec to Super+S as I'm lazier
    Last edited by Elfy; October 25th, 2014 at 04:45 PM.

  9. #69
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Using pkexec

    I'm not sure which one of us is lazier, one click and type password as opposed to two key presses and type password. Attachment 257452 I have synaptic in my Unity launcher.

  10. #70
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Using pkexec

    draw

Page 7 of 8 FirstFirst ... 5678 LastLast

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
  •