Autologin for X Setting GUI login, in /etc/systemd/system the symlink default.target should point to /lib/systemd/system/graphical.target instead of multi-user.target
[I think if you've set autologin in the agettty thing it never gets here] For GUI autologin see /etc/lightdm/lightdm.conf about 50% of the way through the file under [Seat:*] autologin-user=root in /etc/pam.d/lightdm-autologin (if not present you're all set) under # Allow access without authentication, change auth required pam_succeed_if.so user != root quiet_success to auth required pam_succeed_if.so user = root quiet_success [just drop the !] On 7/22/18, Alan Corey <alan01...@gmail.com> wrote: > OK, took a while to find this gem again. In > /lib/systemd/system/getty@service > > In the [Service] section, replace > > ExecStart=-/sbin/agetty --noclear %I $TERM > with > ExecStart=-/sbin/agetty --noclear -a root %I $TERM > > That's it, very simple. Affects all virtual consoles and X after startx > > For X, if you're using lightdm there's a different method, that's > upstairs. I have a Pi with the touch lcd screen which does autologin > as root, had to change a PAM file to do it (in Raspbian). > > > > On 7/22/18, Mark Morgan Lloyd <markmll.debian-...@telemetry.co.uk> wrote: >> On 22/07/18 15:15, Gene Heskett wrote: >>> On Sunday 22 July 2018 10:11:04 Mark Morgan Lloyd wrote: >>> >>>> On 22/07/18 14:00, Gene Heskett wrote: >>>>> I have a bunch of locale related errors too. >>>>> Was a stretch-minimal install by ayufan, has xfce for desktop >>>>> >>>>> What am I missing? >>>> >>>> The traditional command for that was tzconfig, but these days it will >>>> tell you to run dpkg-reconfigure something... >>>> >>>> WARNING: the tzconfig command is deprecated, please use: >>>> dpkg-reconfigure tzdata >>> >>> Worked a treat, thank you. >> >> It's regrettable that dpkg-reconfigure doesn't have something like a >> --list command which summarises the packages to which it may be applied, >> or even a --search which works by analogy with apt-cache etc. >> >> -- >> Mark Morgan Lloyd >> markMLl .AT. telemetry.co .DOT. uk >> >> [Opinions above are the author's, not those of his employers or >> colleagues] >> >> > > > -- > ------------- > No, I won't call it "climate change", do you have a "reality problem"? - > AB1JX > Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach