[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X en root mais pas en user



"Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr> writes:

> Le 07.05.2005 21:01:44, Leopold BAILLY a écrit :
>> Marko Rikko <marko.rikko@free.fr> writes:
>> 

[...]

>> Ce que j'ai fait : arrêt de wdm, startx ; X démarre et s'arrête tout
>> de
>> suite. man xinit et là je commence à comprendre :
>> 
>> "An important point is that programs which are run by .xinitrc should
>> be run in
>> the background if they do not exit right away, so that they don't
>> prevent other
>> programs from starting up.  However, the last long-lived program
>> started
>> (usually a window manager or terminal emulator) should be left in the
>> foreground
>> so that the script won't exit (which indicates that the user is done
>> and that
>> xinit should exit)."
>
> Ça, ça veut dire qu'il faut en général mettre les commandes dans  
> .xinitrc sous la forme :
>
> numlockx &
> xterm &
> wmaker &

Ça veut surtout dire que "le dernier programme doit rester au premier plan sinon
le script se termine et le serveur X avec".

Un corollaire est que si l'on n'a ni .xsession, ni .xinitrc, le serveur X démarre
et s'arrête aussitôt.


Léo.



Reply to: