-
Notifications
You must be signed in to change notification settings - Fork 407
Can't get dbus working on M1 as guide suggests #2824
Description
Description
Hi, I'm trying to get this working on an M1 machine.
This is my 5th or so attempt but I’m fairly certain it is a clean install (having run brew unlink/brew uninstall for dbus, zathura-pdf-poppler, zathura and girara. This also seems like it might be a dbus problem as the current problem is seemingly only with dbus, but I figured I would try here first as others seem to have resolved their dbus with help from here.
Following the :help vimtex-faq-zathura-macos docs:
-
brew install dbusfinishes successfully -
So does adding
export DBUS_SESSION_BUS_ADDRESS="unix:path=$DBUS_LAUNCHD_SESSION_BUS_SOCKET”to.zshrc, naturally. -
I assume
/usr/local/opt/dbus/share/dbus-1/session.confis substituted by/opt/homebrew/Cellar/dbus/1.14.10/share/dbus-1/session.confin my case, since I’m on an M1, but if that’s true the entry is changed to the following<auth>DBUS_COOKIE_SHA1</auth> -
This is where it starts to go wrong… Upon reloading the shell and running
brew services start dbus, it seemingly starts fine:$ brew services start dbus ==> Successfully started `dbus` (label: org.freedesktop.dbus-session)but upon checking
$ brew services info dbus dbus (org.freedesktop.dbus-session) Running: ✘ Loaded: ✔ Schedulable: ✘which is where it all starts to go wrong. Running
brew services start dbusagain$ brew services start dbus Bootstrap failed: 5: Input/output error Try re-running the command as root for richer errors. Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/s1g/Library/LaunchAgents/org.freedesktop.dbus-session.plist` exited with 5.and
dbus-launchgets me$ dbus-launch dbus-daemon[9336]: Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path. EOF in dbus-launch reading address from bus daemonalso running the
launchctlcommand assudojust gets me:$ sudo /bin/launchctl bootstrap gui/501 /Users/s1g/Library/LaunchAgents/org.freedesktop.dbus-session.plist Bootstrap failed: 5: Input/output error
So yea I’m really at a loss..
Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo
System info:
OS: macOS 14.1 (23B74)
Vim version: NVIM v0.9.4
Has clientserver: true
Servername: /var/folders/m6/nyw0tbd5239gngtm06pzykr00000gn/T/nvim.s1g/GvUYPs/nvim.9533.0
VimTeX project: article
base: article.tex
root: /Users/s1g/Workspaces/BSc/report
tex: /Users/s1g/Workspaces/BSc/report/article.tex
main parser: current file verified
document class: article
packages: adjcalc beramono biblatex blx-case-expl3 collectbox courier epstopdf-base etoolbox expl3 fontenc graphics graphicx iftex ifthen infwarerr keyval kvoptions kvsetkeys listings logreq lstlang1 lstlang2 lstlang3 lstmisc ltxcmds pdftexcmds realboxes titlesec trig url xcolor xkeyval xparse xpatch
compiler: latexmk
engine: -pdf
options:
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
callback: 1
continuous: 1
executable: latexmk
viewer: Zathura
xwin id: 0
qf method: LaTeX logfile