! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar think that isn't runing in X if is invocked throw pkexec
Status:
RESOLVED: FIXED

Comments

Description Pablo Lezaeta 2013-09-13 21:03:17 CEST
I try to create a custom action to run thunas as root (because I need it)
but i use 'pkexec thunar'
pkexec throw gnome-polkit, lxpolkit or other implementation work, but thunar report as dysplay: (no string) and fail

so is thunar bug, that think that run thunar throw pkexec is a display: (no string) where this is a lie (runing in X or trow xterm in xfce or gnome)
Comment 1 Robby Workman editbugs 2014-12-03 23:15:24 CET
This should be fixed in the next release of Thunar, I believe, as git master contains this:
commit 8eeed6ba6ed0b1efa2b2b05c0b108da816763069
Author: Eric Koegel <eric.koegel@gmail.com>
Date:   Sat Nov 1 22:13:18 2014 +0300

    Add pkexec policy (Bug #11122)
    
    This adds a pkexec policy file to Thunar. This way if the user
    of a desktop system wants to use thunar to modify files as root
    and has the proper credentials they can.
    pkexec comes from polkit which does about the same thing as
    sudo/gksu except also supports authentication methods like
    fingerprint or smart card readers.
    
    Signed-off-by: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>

Bug #10352

Reported by:
Pablo Lezaeta
Reported on: 2013-09-13
Last modified on: 2014-12-03

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information