Created attachment 165285 [details] replace ":0.0" to "unix:0.0" By default slim call: XOpenDisplay(":0.0") XOpenDisplay first try IPv4, then IPv6 and unix socket. But if sysctl set: net.inet.tcp.blackhole=2 # Do not send RST on segments to closed ports or net.inet.tcp.blackhole=1 then XOpenDisplay wait 30 seconds. So after slim start it show black screen ~60 seconds. Recommended slim config contain: xserver_arguments -nolisten tcp vt09 so XOpenDisplay will always wait/fail to connect by tcp. Patch replace ":0.0" to "unix:0.0", so slim will always use unix sockets. PS: Also here tip for config to increase xorg priority: default_xserver /usr/bin/nice xserver_arguments -n -15 /usr/local/bin/X -nolisten tcp vt09
I've tested the patch and it works well. Now we defaults to "-nolisten tcp", so this should not cause any problems. Please commit it.
A commit references this bug: Author: vsevolod Date: Thu Feb 4 18:08:22 UTC 2016 New revision: 408067 URL: https://svnweb.freebsd.org/changeset/ports/408067 Log: - Force use unix sockets PR: 206050 Submitted by: rozhuk.im at gmail.com Approved by: maintainer Changes: head/x11/slim/Makefile head/x11/slim/files/patch-const.h
Committed, thank you!