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

RE: xdmcp



-----Original Message-----
From: antoine@starinux.org [mailto:antoine@starinux.org] 
Sent: jeudi 12 juin 2008 11:28
To: debian-user-french@lists.debian.org
Subject: Re: xdmcp

> # nmap localhost -p 6000
> Starting Nmap 4.53
> Interesting ports on localhost.localdomain (127.0.0.1):
> PORT       STATE    SERVICE
> 6000/tcp  closed   X11
> Le port 6000  ferme X11
> Et comment le rendre "open" ?
-------------------------
> grep nolisten /etc/* -R
> un peu trash, mais ça devrait être efficace.
> En résumé, X et Xorg ont une option "-nolisten tcp" qui permet de fermer ce port, 
> donc on supprime l'option de celles fournies au lancement du serveur, et le port sera ouvert. 
--------------------
grep nolisten /etc/* -R
puis
nmap localhost -p 6000
PORT       STATE    SERVICE
6000/tcp  closed   X11

pareil ...

--
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.

++


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.


Reply to: