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

Re: [linux-team] Plusieurs X



On Thu, Jul 01, 1999 at 10:35:22AM +0200, Grégory Noël wrote:

> Comment fait-on pour lancer un X dans chaque console ?
> 
> Je sais que par défaut il veut aller dans le display0 (Alt+F7)
> mais je sais pas quelle est la manip pour que ca change.
> 
> Merci

Voilà :
------------------------cut----------

8.6 Comment démarrer plusieurs sessions X ?
Afin de pouvoir démarrer plusieurs sessions X sur différentes consoles
sans avoir  a spécifier le "display"  a utiliser, ajoutez  a la fin du fichier startx :
CONSOLE='tty'
CONSOLE='basename $CONSOLE'
CONSOLE='echo $CONSOLE | sed s/tty//'
CONSOLE='expr $CONSOLE - 1'
echo "Starting X on display "$CONSOLE
exec xinit $clientargs -- $serverargs :$CONSOLE

---------------------------cut-------------------
[Guide du rootard Version 2.7a, 29 Septembre 1997.]


-- 


J.-F. STRAETEN



---
Mutt 0.93.1i.
Powered by SuSE Linux.
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.