Public bug reported:

Binary package hint: gparted

When gparted is run as a non-root user, it quits immediately without
displaying any graphical user interface elements. Running it from the
command line reveals this error message as the sole output:

Inhibit all polling failed: Only uid 0 is authorized to inhibit the
daemon

Unless gparted is modified to use PolicyKit (or to automatically invoke
gksu, su-to-root, or the like), it seems to me that it ought to display
an error graphically when it is run with inadequate credentials.

Furthermore, even when run from the command-line, gparted never
explicitly states that it needs to be run as root. The error it does
display suggests that it does...but only to a user who knows that
inhibiting polling is essential to gparted's usability, and that the
superuser has uid 0.

There is a significant mitigating factor: gparted is typically run from
a menu, which actually executes the command "gksu gparted". But results
of a web search suggest that inexperienced users of gparted frequently
fail to realize that it needs to be run as root, and frequently don't
figure it out themselves (even when they run it from a terminal see the
error message).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gparted 0.6.2-1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Mon Jan  3 14:07:04 2011
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406)
ProcEnviron:
 LANGUAGE=en_US.utf8
 LANG=en_US.utf8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gparted

** Affects: gparted (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

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

Title:
  running gparted as non-root user displays no graphical error message

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to