apt install lightdm
Some crucial steps include:
CREATE USER 'eprints'@'localhost' IDENTIFIED by 'changeme';
GRANT ALL PRIVILEGES ON *.* TO 'eprints'@'localhost' WITH GRANT OPTION;
Database Superuser Username [root] ?
where you'll input “eprints” (not “root”) as set above in your mysql setup.