Donc j'essaye de n'avoir qu'un seul écran en lançant Urban Terror sur un second serveur X, via ce code :
Code : Tout sélectionner
#!/bin/bash
DISPLAY=:0.0
#xinit /usr/bin/xrandr --output LVDS1 --off --output HDMI1 --mode 1680x1050 :1
#xrandr -display :1.0 --output LVDS1 --off
xinit /usr/bin/urbanterror $* -- :1
On voit dans le code les 2 essais pour utiliser xrandr sur le second serveur X avant de lancer Urban mais rien n'y fait

Comment faire svp ?
Merci
La sortie xrandr au cas ou :
Code : Tout sélectionner
$ xrandr -q
Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
1280x800 60.2*+ 50.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 473mm x 296mm
1680x1050 60.0*+
1600x1000 60.0
1280x1024 75.0 60.0
1440x900 59.9
1280x960 60.0
1152x864 75.0
1024x768 75.1 60.0
832x624 74.6
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
Code : Tout sélectionner
xrandr --output LVDS1 --off --output HDMI1 --mode 1680x1050 --output VGA1 --off --output DP1 --off