Bug 413299 - Login fails for root
Summary: Login fails for root
Status: RESOLVED UPSTREAM
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasmaquick (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-22 00:35 UTC by Bo Weaver
Modified: 2020-01-31 20:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Weaver 2019-10-22 00:35:45 UTC
SUMMARY

After running the latest updates when attempting to login to the Plasma desktop using the root user the login appears to function and then goes back to the login screen.  When a bad password is entered a proper bad password is shown.  When logging in as a normal user the login functions fine.

STEPS TO REPRODUCE
1. Attempt to login as root from the desktop login.  Screen blinks and returns to login screen
2. 
3. 

OBSERVED RESULT

Journalctl shows some problem with the QtQuick functions during the login reading the main.uml during root login.  This doesn't happen with a normal user account.

Changing to the MATE desktop root login works just fine and all applications function fine.

tty logins as root work fine.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2019-10-22 06:43:04 UTC
Which main.qml?
Comment 2 Bo Weaver 2019-10-22 06:56:21 UTC
(In reply to Kai Uwe Broulik from comment #1)
> Which main.qml?

/usr/share/sddm/themes/breeze-akey/Main.qml

After loading the file the error says "Cannot create children for parent that is in a different thread.  Sorry I can't get all the text at the moment I am sending this from another machine.

Even when changing the theme from something other than Breeze Akey I get the same result no login with the root account except from MATE or tty.
Comment 3 Nate Graham 2020-01-31 19:38:37 UTC
This sounds like an issue with SDDM. Please report upstream at https://github.com/sddm/sddm/issues/

Thanks!
Comment 4 Bo Weaver 2020-01-31 20:11:06 UTC
Don't worry about it.  After using KDE for over 20 years I have changed to LXDE and LDDM.  I fully understand securing a application from noobs but hard wiring "no root access" in the binary is just not right.  If you want your DE just for noobs fine.  I'll just go with a DE that I can configure for my own needs.