livecd-bashrc: Avoid a startx race by restricting to tty1
authorW. Trevor King <wking@tremily.us>
Mon, 4 Mar 2013 02:33:02 +0000 (21:33 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 4 Jun 2013 16:21:45 +0000 (12:21 -0400)
commit60261ce2886debc3f7e3e6a7e87cf618c879ebc4
tree52b14942c4beb5e99ef3feb0cb949f96f81fbdf9
parentf7a69cd746f3fba12a0251de66ef119ae64c21e9
livecd-bashrc: Avoid a startx race by restricting to tty1

Otherwise several virtual consoles may notice the existence of
/etc/startx, and spawn simultaneous X servers.  This way we only spawn
a single X server, regardless of timing.

A better solution here is probably to add a "start" or "x-server"
service to /etc/init.d/, but that's more work than I'm up to at the
moment.
livecd/files/livecd-bashrc