Bug 29754 - MageiaUpdate doesn't work under when started as non-root user under wayland (Plasma-wayland session)
Summary: MageiaUpdate doesn't work under when started as non-root user under wayland (...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 20:35 CET by Buchan Milne
Modified: 2021-12-11 20:25 CET (History)
0 users

See Also:
Source RPM: rpmdrake-6.32-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Buchan Milne 2021-12-10 20:35:27 CET
Description of problem:

The user-facing update tool cannot be started as non-root under a Plasma Wayland session.

I believe it works correctly under a X11 ("Plasma" on sddm) session. We should try and ensure all user-facing tools work correctly under Wayland.

Version-Release number of selected component (if applicable):

rpmdrake-6.32-1.mga8

How reproducible: Always under Plasma Wayland session


Steps to Reproduce:
1. Install plasma-workspace-wayland

2. Click on the mgaapplet notification that there are updates, no window appears as expected.

3. Try and start MageiaUpdate from a terminal emulator:

[bgmilne@buchan-desktop ~]$ MageiaUpdate 
Ignore the following Glib::Object::Introspection & Gtk3 warnings
No protocol specified
Unable to init server: Could not connect: Connection refused
Cannot be run in console mode.

(This pops up the polkit dialog to enter your password before any output in the shell, then after the password is entered, the warnings/errors are printed and it dies)

4. Start MageiaUpdate from a terminal emulator as root (this works):

[bgmilne@buchan-desktop ~]$ su
Password: 
[root@buchan-desktop bgmilne]# MageiaUpdate 
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/share/perl5/vendor_perl/Gtk3.pm line 539.
getting lock on urpmi
retrieved   media_info/MD5SUM
...
Comment 1 Lewis Smith 2021-12-11 20:25:38 CET
Thank you for this thorough report. No need to verify it!

Assigning to the MageiaTools people.

Assignee: bugsquad => mageiatools


Note You need to log in before you can comment on or make changes to this bug.