ghans wrote:startx starts xinit , and xinit executes whatever is in your
.xinitrc ( a hidden file in your home directory).
So modify your .xinitrc to execute your program.
To amplify on this, this is the contents of my .xinitrc file (on a Pi/Raspbian system):
# This file has 5 lines in it (including this one)
xsetroot -solid pink
openbox & exec lxterminal
1) Make sure .xinitrc is executable (chmod +x ~/.xinitrc)
2) Make sure "openbox" is installed (apt-get install openbox)
And some folks need to stop being fanboys and see the forest behind the trees.
(One of the best lines I've seen on this board lately)