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

Re: X en root mais pas en user



* Leopold BAILLY <leo.bailly@infonie.fr> [2005-05-07 23:02] :
> "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".

Il faut donc que la dernière ligne de Jean-Luc soit de la forme :

exec wmaker

pour fonctionner correctement.


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Comment signaler efficacement un bug ?
http://www.chiark.greenend.org.uk/~sgtatham/bugs-fr.html



Reply to: