First before anything I have installed a Ubuntu 16.10After I installed it I have a tty1 open. I have installed Xorg and xfwm4 (X Window Manager)If I do following:tty1: logintype: startxtty2: logintype: export DISPLAY=:0type: chromium-browsertty1: (Chromium Browser will be there andopen)How can I automate such a thing without doing it manually every time? It should happen after login, but only if user login is happened in TTY1. I don't want reserve the other TTYs.
Running commands on user login?
linux;ubuntu;tty;display;window