[PATCH] os: Don't listen to 'tcp' or 'unix' by default. Add '-listen' option.

Mark Kettenis mark.kettenis at xs4all.nl
Sat Sep 13 05:54:27 PDT 2014


> From: Keith Packard <keithp at keithp.com>
> Date: Fri, 12 Sep 2014 11:35:41 -0700
> 
> This disables tcp and unix listen ports by default (the unix port is
> the non-abstract /tmp/.X11-unix port that xcb doesn't use). Then, it
> uses a new xtrans interface, TRANS(Listen), to provide a command line
> option to re-enable those if desired.

Just looked at OpenSSH, and it doesn't use the xtrans code to connect
to the server when doing X11 forwarding, but has its own
implementation instead.  This implementation only supports "unix" and
"tcp" and has no support for abstract sockets.  So I don't think you
want to disable unix listen ports by default even on Linux.


More information about the xorg-devel mailing list