On Sun, May 04, 2008 at 08:27:05AM +0200, NN_il_Confusionario wrote: > On Sat, May 03, 2008 at 02:06:22PM -0400, Paul Cartwright wrote: > > On Sat May 3 2008, Marc Shapiro wrote: > > > alias startx='startx -- :0 vt07' > > > alias startx='startx -- :1 vt08' > > > alias startx='startx -- :2 vt09' > > so, you don't automagically start the X server on bootup, > > if you REALLY want automatic startx consider this: > > in /etc/inittab > > 2:23:respawn:/bin/login -f user2 </dev/tty2 >/dev/tty2 2>&1 > 3:23:respawn:/bin/login -f user3 </dev/tty3 >/dev/tty3 2>&1 > 4:23:respawn:/bin/login -f user4 </dev/tty4 >/dev/tty4 2>&1 > > (which must _replace_ the 2:... 3:... and 4:... lines in /etc/inittab) > > and then > > at the end of ~user2/.bash_profile > [ `tty` = /dev/tty2 ] && exec startx -- :0 vt07 > > at the end of ~user3/.bash_profile > [ `tty` = /dev/tty3 ] && exec startx -- :1 vt08 > > at the end of ~user4/.bash_profile > [ `tty` = /dev/tty4 ] && exec startx -- :2 vt09 > > But you should also carefully consider: is it a really good idea to have > one (or more) automatically started X session ?
Or simpler: run gdm on those three consoles (with auto-login). And get actually an error-handling that actually works. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]