How to unlock the login for the root?

In Ubuntu 14.xx and previous versions of Ubuntu, it was possible to log in to the graphical session as root. Now i can't do this anymore. How to unlock the root account?

One way i login to root is by rebooting in to the recovery mode, drop down to command-line login as root and execute startx.

Second way is by switching in to the Command-Line by pressing the Ctrl+Alt+F2 (F3, F4, F5...) keys, login as root and the executing the command startx

But i want to login with the normal login interface. It's a stupid feeling to hack your own computer ;-(


Operating System: KDE neon 5.15
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0
Kernel Version: 5.0.0-custom
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Memory: 6,8 GiB of RAM
  • Why do you want to login as root, to GUI? You can do everything as normal user with sudo. What are you trying to achieve? – ctrl-alt-delor Apr 6 '19 at 12:56
  • Why do I have to justify myself for what I do on my own Computer? – Bandoler Apr 6 '19 at 13:09
  • Which display manager is using KDE neon? It should be the KDE Display Manager but wehre is the config file, and what do i need to add in to, too unlock root login in GUI? – Bandoler Apr 6 '19 at 13:21
  • 1
    I have been using Ubuntu for years and i just realised i never tried logging in as root, wierd! – Atul Apr 6 '19 at 14:34
  • Display manager and desktop environment are independent: You can use any display manager with neon. As for why login as root: I am only pointing out an alternative, if you know all this then yes it is up to you. I regularly login to my containers as root, because I know I will reset them. – ctrl-alt-delor Apr 6 '19 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.