0

I have autologin with lightdm and i make some command to run automatically in openbox autostart, but it not work until i click mouse/keyboard/touchscreen

Also i check sometime it started after few minutes (around 1 minute 35 seconds, 00:02:15, e.t.c.)

OS: Debian 10 installed packages: lightdm, openbox, xorg

  • Get rid of lightdm, just use openbox and put exec openbox-session in your $HOME/.xintrc, then use startx when you want a GUI. – slashmais Nov 19 '19 at 06:59
  • I remove: apt remove lightdm, then create new not exist file $HOME/.xintrc and add command exec openbox-session, but still not work – Sergey Shamanayev Nov 24 '19 at 06:12
  • do: sudo apt install openbox obconf menu then try again. (for more info look at https://wiki.debian.org/Openbox). Alternatively there must be something wrong in our autostart, add a copy to your question – slashmais Nov 24 '19 at 07:01
  • Something wrong with last remove ligtdm. Now i remove end get console on boot. But i need autologin and autostart openbox – Sergey Shamanayev Nov 25 '19 at 12:42
  • I do autologin to console like describe here https://unix.stackexchange.com/questions/401759/automatically-login-on-debian-9-2-1-command-line and then do startx in ~/.profile

    But problem is still there, need to wait some time or do intput user action.

    – Sergey Shamanayev Nov 26 '19 at 04:36
  • I have the same problem. Is your CPU is AMD? It seems to me that autologin normally work (without delay), but does not start the X-server until you press a few keys. – anyone anyone Jan 09 '20 at 17:32
  • I have CPU is Intel – Sergey Shamanayev Jan 18 '20 at 20:58

1 Answers1

0

See: autologin and xinit

also look at this (ignore that the title says "without display manager")

slashmais
  • 551