This problem has been occupying me on or off for weeks.
What the object of the exercise is:
To start the BBB in console and use a .service file to start Xorg and my applications
without starting openbox or a Window Manager.
Beaglebone Black Rev:c
Debian 9 Image 2018-10-07
Console only no gui.
Then installed Xorg ,openbox
Created a smartplug.service file in /lib/systemd/system
which contains the following.