I installed the Ubuntu MINI.ISO on VMWare with OpenBox and would like to set my user on autologin, but I don't want to install lightdm, cause I think I don't need it. All solutions I read until now use lightdm. Is there a way without it? FYI: I'm a enthusiastic linux rookie... Thanks folks.

Edit: for a better understanding: this machine does not need any desktop apps like office tools or web browser etc. It's only purpose is to start as fast as possible without breaks for user data input or s.th. else and show a graphical application written in GTKsharp. Perhaps OpenBox is not the right GUI, I'm thankful for suggestions to solve that topic.

  • What components did you install? Did you install a desktop environment? If so, what desktop environment? If not, what do you mean by "autologin"? – AlexP Jul 5 '18 at 5:50
  • I installed Ubuntu 16.04 LTS "Xenial Xerus" without any GUI and after that openbox from a terminal. I now want to skip the login prompt automatically with my stored userdata – Ralf Jul 5 '18 at 5:56
  • Desktop not Server. Would it help to switch to Ubuntu 18.04 "Bionic Beaver" ? but without gnome installed I think GDM will not be available? Talking about those mini installations: help.ubuntu.com/community/Installation/MinimalCD – Ralf Jul 5 '18 at 6:13
  • Install a display manager (such as LightDM) if you want to autologin. – AlexP Jul 5 '18 at 7:49
  • Not very contructive... As I wrote, I would like to avoid lightdm, cause the purpose of that system is to be as lean as possible and to boot as fast as possible. Will think it over thanks. – Ralf Jul 5 '18 at 9:03

Solved this issue:

  • Install slim

apt get install slim

  • edit /ect/slim.conf

default_user "name of user to login"

auto_login yes

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.