> Erf désolé, je me suis mal exprimé, le grep sert à rechercher une chaine
> (nolisten donc) dans tous les fichiers de /etc, de manière récursive (-r). 
> Ça ne change pas la configuration de ton serveur X, ça permet de savoir dans 
> quel fichier est cette satanée option.
> Une fois que tu as trouvé le fichier, tu l'édites, tu vires "nolisten tcp" 
> ainsi que le "-" devant 
> s'il existe, tout ceci après avoir bien pris soin de faire une sauvegarde de 
> ton fichier, et 
> après enregistrement du fichier sans l'option, il faut relancer le serveur X 
> pour que les changements soient pris en compte.  
---------------------------
# grep nolisten /etc/* -R
Fichier binaire /etc/X11/X concorde
/etc/X11/xinit/xserverrc:exec /usr/bin/X11/X -dpi 100 -nolisten tcp
/etc/X11/xdm/Xservers:# - SECURITY NOTE: Always pass the "-nolisten tcp" option 
to the X
/etc/X11/xdm/Xservers:#   to remove the "-nolisten tcp" option for SSH's 
benefit.
/etc/X11/xdm/Xservers:# :0 local /usr/bin/X :0 vt9 -depth 15 -nolisten tcp
/etc/X11/xdm/Xservers:# :1 local /usr/bin/X :1 vt10 -depth 8 -nolisten tcp
/etc/X11/xdm/Xservers:# :0 local /usr/bin/X :0 vt7 -nolisten tcp
pc1:/home/antoine# nmap 192.168.0.4 -p 6000

J'ai donc mis un # devant les lignes du fichier /etc/X11/xdm/Xservers
redémarré XFree :

Starting Nmap 4.53 ( http://insecure.org ) at 2008-06-12 11:55 CEST
Interesting ports on 192.168.0.4:
PORT     STATE  SERVICE
6000/tcp closed X11

et pareil ...


> 
> The information in this e-mail is confidential. The contents may not be 
> disclosed or used by anyone other then the addressee. Access to this e-mail 
> by anyone else is unauthorised.
> If you are not the intended recipient, please notify Airbus immediately and 
> delete this e-mail.
> Airbus cannot accept any responsibility for the accuracy or completeness of 
> this e-mail as it has been sent over public networks. If you have any 
> concerns over the content of this message or its Accuracy or Integrity, 
> please contact Airbus immediately.
> All outgoing e-mails from Airbus are checked using regularly updated virus 
> scanning software but you should take whatever measures you deem to be 
> appropriate to ensure that this message and any attachments are virus free.
> 

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à