Summary: | x11/plasma5-plasma-workspace: ksmserver bind to *:xxxx | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Sky23eCao <ykklle> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | adridg, jessicaschiera, tcberner, ykklle |
Priority: | --- | Flags: | tcberner:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Sky23eCao
2018-07-14 17:39:43 UTC
I just want ksmserver bind to specified ip which can be config Hi there I'm not sure if it is possible. You might have more luck, asking upstream directly. mfg Tobias - use fstat -p `pgrep ksmserver` to see that it is, in fact, listening to inet and inet6 traffic - I can't figure out how to go from the fstat output to "ksmserver is listening *there*" In any case, here's a (German-language) report of the same https://bbs.archlinux.de/viewtopic.php?id=25645 . Examining the code of ksmserver shows it is using libICE to listen, and it is libICE that is creating those listening sockets. There is a way to avoid listening to tcp, for ICE, but I'm still chasing how that works. A commit references this bug: Author: adridg Date: Mon Apr 15 10:22:55 UTC 2019 New revision: 499012 URL: https://svnweb.freebsd.org/changeset/ports/499012 Log: Fix libICE detection in x11/plasma5-plasma-workspace Looking for _IceTransNoListen in libICE was broken because libICE isn't in the standard linker paths. Use full path instead. This allows ksmserver to switch off TCP-listening in libICE, and so ksmserver no longer opens a port (on all interfaces). This is normal behavior everywhere else. Users needing the old behavior, add --nolocal to ksmserver's flags. Patch has been submitted upstream. PR: 229772 Changes: head/x11/plasma5-plasma-workspace/Makefile head/x11/plasma5-plasma-workspace/files/patch-ksmserver_CMakeLists.txt head/x11/plasma5-plasma-workspace/files/patch-startkde__startkde.cmake Fixed in plasma5-plasma-workspace-5.15.4_1, thanks for reporting! A commit references this bug: Author: adridg Date: Tue May 19 20:19:57 UTC 2020 New revision: 535888 URL: https://svnweb.freebsd.org/changeset/ports/535888 Log: x11/plasma5-plasma-workspace restore lost patch In r525879 the patch repairing the way ksmserver looks for _IceTransNoListen was removed; for whatever reason it never got upstream, didn't apply anymore, but is still relevant. PR: 229772 Reported by: cpercival Changes: head/x11/plasma5-plasma-workspace/Makefile head/x11/plasma5-plasma-workspace/files/patch-ksmserver_CMakeLists.txt |