Bug 21997 - invoking MCC from (su -) root terminal presents ncurses drakconf menu, Gnome(wayland) session
Summary: invoking MCC from (su -) root terminal presents ncurses drakconf menu, Gnome(...
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: Mageia 7
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-09 07:52 CET by Ben McMonagle
Modified: 2019-07-07 02:35 CEST (History)
1 user (show)

See Also:
Source RPM: drakconf
CVE:
Status comment:


Attachments

Description Ben McMonagle 2017-11-09 07:52:36 CET
Description of problem: 
When in a root(#) terminal (via using "su -"), when in a gnome (wayland) session, attempting to invoke MCC presents an ncurses drakconf menu. 
This does not happen when using the "su" root(#) terminal, the expected Mageia Control Centre is presented
If invoking MCC from a user terminal ($), after a request for administrator password, the expected Mageia Control Centre is presented.
With all menu launchers the expected Mageia Control Centre is presented.

I have attempted using :  xhost +si:localuser:root 
and: export DISPLAY=:0

these appear to have no effect.


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


How reproducible: every time


Steps to Reproduce:
1. upgrade an up-to-date Mga6 Gnome system to Cauldron, either real hardware or in a Virtual-box machine.
2: reboot and choose Gnome (Wayland) session and login
3.invoke a user terminal and attempt to launch mcc. an administrator password authentification dialogue is presented, enter the admin password and Mageia Control Centre is presented. close the MCC window
4. change to a root(#) prompt using "su", and invoke mcc. the expected Mageia Control Centre is presented. close the MCC window.
5. exit the root(#) terminal, then change back to a root(#) prompt using "su -".
 invoke mcc and the ncurses drakconf menu is presented
Ben McMonagle 2017-11-09 08:35:44 CET

Target Milestone: --- => Mageia 7

Marja Van Waes 2017-11-09 19:07:07 CET

Source RPM: (none) => drakconf
Assignee: bugsquad => mageiatools
CC: (none) => marja11

Comment 1 Ben McMonagle 2019-07-07 02:35:02 CEST
mageia 7 release.

this is how wayland works

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


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