Why does hosting Lemmy require a display?

3 years ago by Grail (capitalised) to c/lemmy_support

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?

load all comments
mindlessLump 7 points 3 years ago

I think there is some info missing. You’re using SSH to access the server where you are running the docker image? Why does your server have X server installed?

I have no experience running Lemmy. It could be the Lemmy instance includes X server to run some kind of GUI? Seems strange.

path: 0 7684255, hotness: undefined, score: 7, children: 1
Grail 3 points 3 years ago

My server is running the default ubuntu image from Oracle Cloud. I don't think it has X server installed.

path: 0 7684255 7686383, hotness: undefined, score: 3, children: 0
lemmy_support

@lemmy.ml

login for more options
5112
1594
84

Support / questions about Lemmy.

Matrix Space: #lemmy-space

go to feed...