Bug#913985: thunar: Thunar do not open as root

2022-10-04 Thread Akbarkhon Variskhanov
Control: tags -1 moreinfo unreproducible

On Sat, 17 Nov 2018 19:47:03 -0500 Awtul  wrote:
> I have inserted 'false' instead of 'true' in  
> '/usr/share/polkit-1/actions/org.xfce.thunar.policy'
>
> ( false )
>
> but thunar still won't open as root via 'pkexec'.

As long as the value of this key is nonempty, the application is
allowed access to DISPLAY and XAUTHORITY environment variables (even
if it's set to false, 0 or the likes). When it's empty, `pkexec` will
still offer a dialog and proceed as usual, but the calling program
(Thunar, in our case) won't be able to start due to not having access
to those two environment variables. The diagnostic message will look
like this:

> thunar: Failed to initialize Xfconf: Cannot autolaunch D-Bus without X11 
> $DISPLAY

"Won't open" doesn't say much. Do you have the root account set up?
Does `pkexec` have the setuid set: check with `stat -c %A
/usr/bin/pkexec`? Does it show the dialog at least? Can you enter the
password? Can you run non-GUI or other apps with pkexec? Have you
modified the policy file? You may try `apt reinstall thunar`. This
will return your local modifications to defaults.

The policy was added 7 years ago and hasn't been changed since.

Tagging as unreproducible for now.



Bug#913985: thunar: Thunar do not open as root

2018-11-17 Thread Awtul
Package: thunar
Version: 1.8.2-1
Followup-For: Bug #913985


loginctl

SESSION  UID USER SEAT  TTY
  2 1000 user   seat0

1 sessions listed.

--

loginctl show-session 2 -p Type

Type=x11

--



Bug#913985: thunar: Thunar do not open as root

2018-11-17 Thread Awtul
Package: thunar
Followup-For: Bug #913985

No, I am not running Gnome, I just run Openbox.



Bug#913985: thunar: Thunar do not open as root

2018-11-17 Thread John Scott
Source: thunar
Followup-For: Bug #913985

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I can see that you're on unstable. Do you use GNOME by any chance?
In that case, GUI programs won't run as root on Wayland (#854627).

- -- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-BEGIN PGP SIGNATURE-

iQEzBAEBCgAdFiEEAXEkn09uX7g8Tv8W3qerYfa4vJcFAlvwvzsACgkQ3qerYfa4
vJctWAf/cUx0C0GbzuRCRuGKCcuU/1TrUmRZjgNX2qUIfXQ6sNOMLxJgG3+6+eAk
xoynOchKiylwgosAd4ATfoiRcXkFZTBP9TjAQGQsjy3fEHJ4+A0TPGErvi9z/H39
G/1gkMX01DABBoWh8UvntgumLbC0TraGnbWFxus9IEhNxh/Gx3oI6jr/Ul2z+GlJ
so+3UnkuB/LU8klNTC1/SSx/qh2O9w9X6wc9mZAfXNwRpsaIgETQsMm6cRb7t8yQ
YymIRqjzAlwwcoIRsSHoykj7vkSHkGAqmrIY3TOqg7aJh+x5MjsAwFyVKaKQvHxi
oT+sqAlPQGtuT/e9yURf5L80Y4/lRA==
=pyXS
-END PGP SIGNATURE-



Bug#913985: thunar: Thunar do not open as root

2018-11-17 Thread Awtul
Package: thunar
Version: 1.8.2-1
Severity: important

Dear Maintainer,

I have inserted 'false' instead of 'true' in  
'/usr/share/polkit-1/actions/org.xfce.thunar.policy'

( false )

but thunar still won't open as root via 'pkexec'.

Cheers,
Awtul

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages thunar depends on:
ii  desktop-file-utils  0.23-4
ii  exo-utils   0.12.2-2
ii  libatk1.0-0 2.30.0-1
ii  libc6   2.27-8
ii  libcairo2   1.16.0-1
ii  libexo-2-0  0.12.2-2
ii  libgdk-pixbuf2.0-0  2.38.0+dfsg-6
ii  libglib2.0-02.58.1-2
ii  libgtk-3-0  3.24.1-2
ii  libgudev-1.0-0  232-2
ii  libice6 2:1.0.9-2
ii  libnotify4  0.7.7-3
ii  libpango-1.0-0  1.42.4-4
ii  libsm6  2:1.2.2-1+b3
ii  libthunarx-3-0  1.8.2-1
ii  libxfce4ui-2-0  4.12.1-3
ii  libxfce4util7   4.12.1-3
ii  libxfconf-0-2   4.12.1-1
ii  shared-mime-info1.10-1
ii  thunar-data 1.8.2-1

Versions of packages thunar recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.12.10-1
ii  dbus-x11 [dbus-session-bus]   1.12.10-1
ii  gvfs  1.38.1-1
ii  libcairo-gobject2 1.16.0-1
ii  libpangocairo-1.0-0   1.42.4-4
ii  libxfce4panel-2.0-4   4.12.2-1
ii  policykit-1-gnome [polkit-1-auth-agent]   0.105-7
ii  thunar-volman 0.9.0-1
ii  tumbler   0.2.3-1
ii  udisks2   2.8.1-2
ii  xdg-user-dirs 0.17-1

Versions of packages thunar suggests:
ii  thunar-archive-plugin 0.4.0-2
ii  thunar-media-tags-plugin  0.3.0-2

-- no debconf information