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

Bug#539186: nolisten switch in /etc/X11/xinit/xserverrc ignored



On Wed, Oct 14, 2009 at 08:09:18 +0100, Anthony Campbell wrote:

> After some research on google I used this command to find which process
> was using port 6000:
> 
> Starting Nmap 5.00 ( http://nmap.org ) at 2009-10-14 07:43 BST
> Interesting ports on localhost (127.0.0.1):
> Not shown: 992 closed ports
> PORT     STATE SERVICE
> 22/tcp   open  ssh
> 25/tcp   open  smtp
> 111/tcp  open  rpcbind
> 113/tcp  open  auth
> 143/tcp  open  imap
> 515/tcp  open  printer
> 993/tcp  open  imaps
> 6000/tcp open  X11
> 
> I therefore realised it was X11 that was listening on this port. I found
> two ways of getting round this: either do ssh before starting X, or
> start X with the --nolisten switch.
> 
> The above switch is there in /etc/X11/xinit/xserverrc but it does not
> seem to have any effect.
> 
How is X started?  What's /proc/`pidof X`/cmdline?

Cheers,
Julien



Reply to: