First before anything I have installed a Ubuntu 16.10
After I installed it I have a tty1 open. I have installed Xorg and xfwm4 (X Window Manager)
If I do following:
- tty1: login
- type: startx
- tty2: login
- type: export DISPLAY=:0
- type: chromium-browser
- tty1: (Chromium Browser will be there and open)
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.