From 39d14eae165dd5e0a451d5d2be525505e3838ca8 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sat, 18 Jul 2026 21:42:52 +0200 Subject: [PATCH] 9p: -tcp implies -nodbus for remote deployments --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 7ff001d..2cc9d03 100644 --- a/main.go +++ b/main.go @@ -267,7 +267,8 @@ func runServer(sockPath, pidPath string) { }) // Start D-Bus adapter (best-effort; pure 9P still works without it). - if !*nodbus { + // -tcp implies -nodbus (remote/headless deployments have no session bus). + if !*nodbus && *tcpAddr == "" { dbusAdapter = startDBus(mgr) dbusAdapter.WatchExisting() }