busy4me / busyman

🐙 busy commands set - to manage "Busyman" 🌐
https://busyman.org
Apache License 2.0
2 stars 1 forks source link

unable connect to socket: Connection refused (111) VNC server does not start #2

Closed porczynski closed 3 years ago

porczynski commented 3 years ago

VNC Server doesn't start in Vitualbox Windows host but in Linux host it's fine 😬

After smooth installation by initiv, after reboot, the VNC server not starting and we see the message "unable connect to secket: Connection refused (111)". When I export machine to the Linux host, the VNC server starting ok. ...it shouldn't matter what the host is. 🤔

porczynski commented 3 years ago

It looks like the VNC server didn't start for the first time only. After manual second reboot, VNC server starts normaly. Check why

porczynski commented 3 years ago

LAB:

porczynski commented 3 years ago

BUG: initiv script durring the intallationprocess changes /etc/systemd/system.conf where the parameter DefaultTimeoutStartSec is changed to 10s. Default Debian value is 90s. ` _* TIP: 10s seems too low value for slower machines._vncserver` service needs more time to start

porczynski commented 3 years ago

/usr/bin/initiv

974 DefaultTimeoutStartSec=90s 975 DefaultTimeoutStopSec=90s ... 995 DefaultTimeoutStartSec=90s 996 DefaultTimeoutStopSec=90s

porczynski commented 3 years ago

commit https://github.com/busy4me/busy/commit/e894076603431cd1f0fb487393cd10a5da7e0e9a