aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 9aca50d6..aecf4b65 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -680,6 +680,9 @@ fi
# Delete X locks
rm -f /tmp/.X*-lock
+# Delete VNC & X locks
+rm -rf /tmp/.X*-unix
+
# Delete Postgres sockets
rm -f /tmp/.s.PGSQL.*