← Back to team overview

gufw-developers team mailing list archive

[Bug 1652857] [NEW] GUI should not run as root, instead should use polkit

 

Public bug reported:

GUFW cannot connect to XServer as root. This is due to new security
policy in XWayland. Log attached.

The current way that GUFW's GUI runs is to login as start and operate as
root. This is a problem if the GUI tries to run with XWayland. On modern
Linux desktops, application GUI's run as the normal user and request
special permissions through other means - polkit for example. This
should be implemented for GUFW as well in order to make it work with
Wayland (XWayland) security model.

More info can be found here -
https://bugzilla.redhat.com/show_bug.cgi?id=1274451

** Affects: gui-ufw
     Importance: Undecided
         Status: New


** Tags: polkit security wayland xwayland

** Attachment added: "gufw cannot open X display as root as per security policy"
   https://bugs.launchpad.net/bugs/1652857/+attachment/4797363/+files/gufw.log

-- 
You received this bug notification because you are a member of Gufw
Developers, which is subscribed to Gufw.
https://bugs.launchpad.net/bugs/1652857

Title:
  GUI should not run as root, instead should use polkit

Status in Gufw:
  New

Bug description:
  GUFW cannot connect to XServer as root. This is due to new security
  policy in XWayland. Log attached.

  The current way that GUFW's GUI runs is to login as start and operate
  as root. This is a problem if the GUI tries to run with XWayland. On
  modern Linux desktops, application GUI's run as the normal user and
  request special permissions through other means - polkit for example.
  This should be implemented for GUFW as well in order to make it work
  with Wayland (XWayland) security model.

  More info can be found here -
  https://bugzilla.redhat.com/show_bug.cgi?id=1274451

To manage notifications about this bug go to:
https://bugs.launchpad.net/gui-ufw/+bug/1652857/+subscriptions


Follow ups