4

I was able to to do it on 17.04, but i guess the display manager has changed

I know it is not recommended. But it eases a lot of things for me.

  • This should work: askubuntu.com/a/369013, just remember Ubuntu 17.10 uses gdm3. – pomsky Oct 22 '17 at 22:23
  • I knew you would be the first to comment lol @pomsky . But no it didn't work... but thanks for pointing it out that it used gdm3 – Sam Thomas Oct 22 '17 at 22:59
6

This link points it out for Debian, but instead of daemon.conf just edit custom.conf. Everything else is the same.

In a nutshell, first run

sudo vim /etc/gdm3/custom.conf

Under [security] type AllowRoot=true so that it looks like

[security]
AllowRoot=true

Save and exit. Then run

sudo vim /etc/pam.d/gdm-password

Within this file you have comment out the line containing

auth required pam_succeed_if.so user != root quiet_success

so that it looks like this

#auth required pam_succeed_if.so user != root quiet_success

Save the file and exit and reboot.

  • This answer worked for me. – Michael Jan 12 '18 at 4:35
  • @Michael Upvote it then :) – Sam Thomas Jan 16 '18 at 20:24
  • Too late, already did :) it seems some poor soul voted you down for some reason. Thanks for the answer anyways! – Michael Jan 16 '18 at 22:53
  • 1
    Also a) in /root/.profile, change "mesg n || true" to "tty -s && mesg n || true". b) pam restriction above is in /etc/pam.d/gdm-autologin and gdm-fingerprint if using autologin or fingerprint scanner. This is with 18.04. – Aelian Dec 9 '18 at 8:18
  • 1
    Thank you so much. Finally it works for me after searching for all links over google – Deca Mar 20 at 9:14

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.