Bug 869268
| Summary: | notify-send fails as root | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> | |
| Component: | libnotify | Assignee: | Dan Mashal <dan.mashal> | |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 18 | CC: | bugs.michael, davidz, jmccann, mclasen | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 872540 (view as bug list) | Environment: | ||
| Last Closed: | 2013-03-02 03:43:58 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 872540 | |||
|
Description
Marko Myllynen
2012-10-23 12:50:49 UTC
# su mclasen -c "notify-send test" works fine here. What error are you seeing ? I don't see anything, i.e., no notification, no error, but strace output reveals: "The name org.freedesktop.Notifications was not provided by any .service files" And it can be seen also that notification-daemon is not running altough the package is installed. This is on freshly installed F18 + all available updates installed. Please let me know if you need any additional details or logs. Thanks. gnome-shell is providing org.freedesktop.Notifications on the session bus. Isn't gnome-shell running ? (In reply to comment #3) > gnome-shell is providing org.freedesktop.Notifications on the session bus. > Isn't gnome-shell running ? It is. Selected GNOME desktop during installation but no add-ons, then all defaults till the first login to discover that notify-send fails for root but not for the testuser. Putting SELinux in Permissive doesn't help. Thanks. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Problem is reproducible with Rawhide (20130224). Haven't checked F18. All of the following doesn't manage to send any notification: $ su - Password: # notify-send blubb # su mygnomeuser -c "notify-send blubb" # Only the currently logged in GNOME user can send notifications. *** This bug has been marked as a duplicate of bug 915346 *** |