I'm working towards deploying Tiny Core at my work. All of our computers have monitors with a 4:3 aspect ratio except for these EEE Tops we just got in. To automatically set the resolution for the EEE tops without having to use a different image I wrote a small script that checks the output of lspci to determine if the computer is an EEE top and if it is edit .xsession, kill X and then restart it. Everything works like a charm except for startx. When startx is run the screen continuously flashes the Xvesa Resolution Setup page followed by
sh: can't open /de *reaches the end of the screen*
y: No such device or address
This is also exactly what happened when I added /bin/bash to the end of my ~/.ashrc as a failed workaround to switch the default shell to bash.
EDIT: Also wanted to add that if I remove the sections of the script that kill and restart X and then manually do it with alt-ctrl-backspace then startx everything works as it should.