Date: Fri, 08 Jan 2016 23:48:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206050] x11/slim: force use unix sockets Message-ID: <bug-206050-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206050 Bug ID: 206050 Summary: x11/slim: force use unix sockets Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: rozhuk.im@gmail.com CC: henry.hu.sh@gmail.com Flags: maintainer-feedback?(henry.hu.sh@gmail.com) CC: henry.hu.sh@gmail.com Created attachment 165285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165285&action= =3Dedit 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=3D2 # Do not send RST on segments to closed ports or net.inet.tcp.blackhole=3D1 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206050-13>