Bonjour,
Je dois lancer des applications graphiques avec Wine sous Debian Squeeze. J’ai donc installé le serveur X Xorg. Tout ça sur un serveur dédié chez OVH, donc par SSH.
Quand je me log en SSH avec l’option -X, ça fonctionne très bien : je lance mon application avec Wine et la fenêtre s’affiche correctement. Le problème c’est que dès que je coupe la session SSH, forcément les fenêtres se ferment (pour un serveur de jeu, c’est assez embêtant).
Je cherche donc à afficher les fenêtres sur le serveur dédié (personne ne les verra, mais on s’en fiche, y’a rien à voir ou à écrire) et non pas à travers SSH afin que quand je me déconnecte les fenêtres restent ouvertes.
Le problème c’est que sans l’option -X de SSH, impossible de démarrer le serveur X. Au lancement de l’application avec Wine, j’obtiens les erreurs suivantes :
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Quand je fais la commande startx, voilà ce que j’obtiens :
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-1-amd64 x86_64 Debian
Current Operating System: Linux ksxxxxxx.kimsufi.com 3.2.13-grsec-xxxx-grs-ipv6-64 #1 SMP Thu Mar 29 09:48:59 UTC 2012 x86_64
Kernel command line: BOOT_IMAGE=/boot/bzImage-3.2.13-xxxx-grs-ipv6-64 root=/dev/sda1 ro quiet
Build Date: 29 October 2011 06:58:14PM
xorg-server 2:1.7.7-14 (Julien Cristau <jcristau@debian.org>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 26 02:36:17 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) MGA(0): [drm] Direct rendering only supported with G200/G400/G450/G550.
SELinux: Disabled on system, not enabling in X server
Voici le contenu de /etc/X11/xorg.conf :
[code]Section “ServerLayout”
Identifier “X.org Configured”
Screen 0 “Screen0” 0 0
InputDevice “Mouse0” “CorePointer”
InputDevice “Keyboard0” “CoreKeyboard”
EndSection
Section “Files”
ModulePath “/usr/lib/xorg/modules”
FontPath “/usr/share/fonts/X11/misc”
FontPath “/usr/share/fonts/X11/cyrillic”
FontPath “/usr/share/fonts/X11/100dpi/:unscaled”
FontPath “/usr/share/fonts/X11/75dpi/:unscaled”
FontPath “/usr/share/fonts/X11/Type1”
FontPath “/usr/share/fonts/X11/100dpi”
FontPath “/usr/share/fonts/X11/75dpi”
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
FontPath “built-ins”
EndSection
Section “Module”
Load “dbe”
Load “glx”
Load “extmod”
Load “dri2”
Load “record”
Load “dri”
EndSection
Section “InputDevice”
Identifier “Keyboard0”
Driver “kbd”
EndSection
Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/input/mice”
Option “ZAxisMapping” “4 5 6 7”
EndSection
Section “Monitor”
Identifier “Monitor0”
VendorName “Monitor Vendor”
ModelName “Monitor Model”
EndSection
Section “Device”
### Available Driver options are:-
### Values: : integer, : float, : “True”/“False”,
### : “String”, : " Hz/kHz/MHz"
### [arg]: arg optional
#Option “SWcursor” # []
#Option “HWcursor” # []
#Option “PciRetry” # []
#Option “SyncOnGreen” # []
#Option “NoAccel” # []
#Option “ShowCache” # []
#Option “MGASDRAM” # []
#Option “ShadowFB” # []
#Option “UseFBDev” # []
#Option “ColorKey” #
#Option “SetMclk” #
#Option “OverclockMem” # []
#Option “VideoKey” #
#Option “Rotate” # []
#Option “TexturedVideo” # []
#Option “Crtc2Half” # []
#Option “Crtc2Ram” #
#Option “Int10” # []
#Option “AGPMode” #
#Option “AGPSize” #
#Option “DigitalScreen1” # []
#Option “DigitalScreen2” # []
#Option “TV” # []
#Option “TVStandard” # []
#Option “CableType” # []
#Option “NoHal” # []
#Option “SwappedHead” # []
#Option “DRI” # []
#Option “MergedFB” # []
#Option “Monitor2HSync” # []
#Option “Monitor2VRefresh” # []
#Option “Monitor2Position” # []
#Option “MetaModes” # []
#Option “OldDmaInit” # []
#Option “ForcePciDma” # []
#Option “AccelMethod” # []
#Option “KVM” # []
Identifier “Card0”
Driver “mga”
VendorName “Matrox Graphics, Inc.”
BoardName “MGA G200eW WPCM450”
BusID “PCI:6:4:0”
EndSection
Section “Screen”
Identifier “Screen0”
Device “Card0”
Monitor “Monitor0”
SubSection “Display”
Viewport 0 0
Depth 1
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 4
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 8
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 15
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 16
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 24
EndSubSection
EndSection[/code]
En gros, pas moyen de démarrer ce fichu serveur graphique… Ça fait plus de 3 heures que j’essaie toutes les solutions possibles…
Auriez-vous une idée du problème ?
Y-aurait-il un autre serveur que Xorg qui serait plus docile ?
Merci de votre aide, parce que là, je sèche ![]()

!