Re: Clearing SWAP
- From: NN_il_Confusionario <pinkof.pallus@xxxxxxxxxxxxx>
- Date: Sun, 4 May 2008 08:27:05 +0200
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'so, you don't automagically start the X server on bootup,
alias startx='startx -- :1 vt08'
alias startx='startx -- :2 vt09'
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 ?
--
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Clearing SWAP
- From: Tzafrir Cohen
- Re: Clearing SWAP
- References:
- Re: Clearing SWAP
- From: Paul Cartwright
- Re: Clearing SWAP
- Prev by Date: fstab: mounting external hard drive
- Next by Date: Re: Clearing SWAP
- Previous by thread: Re: Clearing SWAP
- Next by thread: Re: Clearing SWAP
- Index(es):
Relevant Pages
|