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

Re: ssh and X forwarding



On 2006-03-28 12:28:20 -0800, Marc Shapiro wrote:
> When I run nmap localhost I see the following two lines at the end of 
> the listing:
> 
> 6000/tcp open  X11
> 6001/tcp open  X11:1
> 
> The other lines all make sense to me, but why are these there?  I do 
> have two X sessions running, so that, I assume, explains why there are 
> two lines and not just one, but my question is "Why are there any such 
> lines?"  I do not run xdm, gdm, kdm, or any other display manager.  I 
> boot to a console session and use startx to initiate X when I need it.

If you have two X sessions running, this is normal: X11 is a
socket-based client-server protocol (even locally). There are
no relations with display managers.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: