Closed pem-imre closed 1 year ago
X11 shouldn't be necessary, but DBus can be finicky on non-standard setups, and WSL certainly counts as one of them.
I don't have a WSL system to try this on, but here is a discussion that might be helpful: https://www.reddit.com/r/bashonubuntuonwindows/comments/9l46br/asking_wsl_ubuntu_1804_dbus_fix_updated/
This is an issue of DBus on WSL, not specific to scli or signal-cli.
Thank you for the clarification! I happen to have a raspberry pi server on my network that has no X either. Let me test scli on that too before closing this.
Just tested on a raspberry PI without X11, and no errors. So it is really a DBus anomaly specific to WSL2.
On my WSL2 Ubuntu box, with scli 0.7.1 and signal-cli 0.10.11, I get this message whenever I try to send a message:
I see old messages and contacts that were pulled with signal-cli, but can't interact with them.
My environment does not have X11 or a GUI, just command line. Tried setting the DISPLAY env variable to 0.0, but it did not solve the issue, just produced a different error message from dbus-launch: "X11 initialization failed." Is X11 required?