Installer un serveur Gmod(Problème avec xvfb)
Forum Programmation : Installer un serveur Gmod(Problème avec xvfb)
Bonjour,
J'ai suivi un tutorial pour installer gmod:
http://wiki.garrysmod.com/wiki/?titl...dicated_Server
Tout va bien, j'ai reussi à installer wine en faisant : apt-get install wine.
Mais je n'arrive pas à lancer xvfb (serveur virtuel x permettant le lancement de hldsupdatetools) je l'ai installer en suivant ceci :
# apt-get install xvfb // installation de xvfb
# apt-get install xfonts-base // polices de base nécessaires au lancement de xvfb
Si tout s'est bien passé, il doit être possible delancer xvfb avec un :
# /usr/bin/X11R6/bin/Xvfb -screen scrn1 800x600x16 :99 &
La commande ps -e qui liste les processus en cours doit faire apparaître Xvfb.
Quand j'execute ma commande ps -e aucun signe de xvfb .
Alors forcément quand j'essaye de démarrer l'installation de hldsupdatetool.exe sa donne logiquement ceci:
# wine hldsupdatetool.exe
Invoking /usr/lib/wine/wine.bin hldsupdatetool.exe ...
err:reg:SCSI_getprocentry SCSI type line scan count error (fscanf returns 1, expected 2)
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.
Wine exited with a successful status
Je suis sous debian 4.0 etch avec une superplan 2008 (4go de ram et 2 X 2.33ghz niveau cpu)
Merci de m'aider à remédier au problème,
salut,
vu que tu le mets sur le display 99 (Xvfb ... :99) essaie de mettre la valeur de la variable d'environnement $DISPLAY à 99.
env DISPLAY=99 wine hldsupdatetool.exe
J'ai essayer ta solution Omar, j'ai toujours le même résultat...
quand je tape la commande /usr/bin/X11R6/bin/Xvfb -screen scrn1 800x600x16 :99 &. Cela fait apparaitre : [1] 6369
-bash: /usr/bin/X11R6/bin/Xvfb: Aucun fichier ou répertoire de ce type
C'est tout ce que je peut dire pour le moment...
Ah bah s'il ne voit pas Xvfb aussi c'est normal que tu puisses pas l'installer...
En fait, c'est possible qu'en fonction de ta distribution ça ne soit pas installé au même endroit.
Essaie de rechercher Xvfb pour voir où il est installé
find / -name Xvfb -print
Voici le résultat :
find / -name Xvfb -print
/usr/bin/Xvfb
Ok, donc au lieu de taper
# /usr/bin/X11R6/bin/Xvfb -screen scrn1 800x600x16 :99 &
tape
# /usr/bin/Xvfb -screen scrn1 800x600x16 :99 &
Message édité par OmaR le 05-10-2008 à 16:24:21
Le repertoire n'était pas bon :
Alors j'ai taper la commande : /usr/bin/Xvfb -screen scrn1 800x600x16 :99 &.
J'ai obtunu ceci:
filename argument required
.: usage: . filename [arguments]
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/ns361463.ovh.net:99
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
error opening security policy file /etc/X11/xserver/SecurityPolicy
ns361463
home/foserv# Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Je retape la commande initial : /usr/bin/Xvfb -screen scrn1 800x600x16 :99 &.
Il me dit :
-bash: .: filename argument required
.: usage: . filename [arguments]
Fatal server error:
Server is already active for display 99
If this server is no longer running, remove /tmp/.X99-lock
and start again.
Alors je me dit que c'est bon et je reessaye de refaire marcher hldsupdatetool en précisant le display :
env DISPLAY=99 wine hldsupdatetool.exe
Toujours le même chose, make sur server x is running...
Voila aprés multiple recherche cela donne ceci :
DISPLAY=:99 wine hldsupdatetool.exe
Invoking /usr/lib/wine/wine.bin hldsupdatetool.exe ...
err:reg:SCSI_getprocentry SCSI type line scan count error (fscanf returns 1, expected 2)
fixme:advapi:GetFileSecurityW (L"C:\\windows\\temp\\GLF44a.tmp" ) : returns fake SECURITY_DESCRIPTOR
Et le curseur se met tout à gauche comme si charger quelque chose j'ai vérifier en faisant ps aux :
root 17882 0.0 0.0 4104 1236 pts/0 S+ 17:51 0:00 /bin/sh /usr/bin/wine hldsupdatetool.exe
root 17887 0.0 0.0 5468 2068 pts/0 S+ 17:51 0:00 xmessage -xrm *.Command.background
arkgrey -xrm *.Command.foreground:black -xrm *.Text.back
root 17890 0.0 0.0 4104 476 pts/0 S+ 17:51 0:00 /bin/sh /usr/bin/wine hldsupdatetool.exe
root 17891 5.0 0.2 2654384 8532 pts/0 S+ 17:51 0:00 hldsupdatetool.exe
root 17892 0.0 0.0 3492 592 pts/0 S+ 17:51 0:00 tee /tmp/wine.log.j17888
root 17895 4.0 0.0 3936 1632 ? Ss 17:51 0:00 /usr/lib/wine/wineserver
root 17896 0.1 0.1 2648532 5816 ? Ss 17:51 0:00 c:\windows\system32\explorer.exe /desktop
Voilà ..
Par contre après je peux plus trop t'aider, là c'était dans mes capacités jusqu'à présent, maintenant je ne sais plus quoi te dire ! désolé
Il y a 400 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.
