ksmserver from x11/plasma5-plasma-workspace bind ip to *
When create jail using ezjail, it complain.
Is that possible to config it?
I don't find a way to do it anywhere.
I just want ksmserver bind to specified ip which can be config
I'm not sure if it is possible. You might have more luck, asking upstream directly.
- 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:
Date: Mon Apr 15 10:22:55 UTC 2019
New revision: 499012
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.
Fixed in plasma5-plasma-workspace-5.15.4_1, thanks for reporting!