On Sat, Apr 13, 2019 at 11:15:49AM +0200, tlaro...@polynum.com wrote: > So my guess is that Vnc reinject keyboard and mouse events and so need > wsmoused to run (and it is after).
rc.local is not run last, see rc(8): rc.local is a command script to which local boot-time actions can be added. It is (nearly) the last thing invoked by rc during a normal boot. Actually it is: # REQUIRE: DAEMON # PROVIDE: local # BEFORE: LOGIN so it is run after all deamons are stareted and before enabling logins, but no other guarantees. Instead you should add a /etc/rc.d/vnc script (maybe pkgsrc has one already) that does REQUIRE wsmoused Martin