18
submitted 7 months ago by Grail@aussie.zone to c/lemmy_support@lemmy.ml

I'm trying to set up my own Lemmy server with Docker. I think I have everything set up, but I'm getting an error Cannot autolaunch D-Bus without X11 $DISPLAY. This error kind of makes sense, because I'm SSHing into my server and have not forwarded D-Bus connections, so $DISPLAY is undefined. But why does a Lemmy server need a display in the first place? Is this a bug and a display isn't actually needed? If I set $DISPLAY to whatever, will it still run okay?

you are viewing a single comment's thread
view the rest of the comments
[-] conorab@lemmy.conorab.com 2 points 7 months ago

Ah my bad. Memmy didn’t display the code block in your OP or this post. I see it on the web version.

That error might be less about needing X11 and more about wanting D-Bus. Since D-Bus isn’t running, it’s trying to start it by itself using X11, which also doesn’t work.

Does the error actually make Lemmy quit out?

FWIW I have a sanitised copy of my Lemmy k8s config on Gitlab that might help: https://gitlab.com/conorab/k8s-lemmy

[-] Grail@aussie.zone 1 points 7 months ago

I haven't even got Lemmy running yet, I'll still trying to compose Docker.

this post was submitted on 19 Feb 2024
18 points (84.6% liked)

Lemmy Support

4634 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS