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

Lemmy Support

4662 readers
32 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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
[–] [email protected] 3 points 9 months ago (1 children)

The image for the pictrs service is wrong.
No idea what it should be, but it shouldnt be docker.io/c:0.4.3

[–] [email protected] 1 points 9 months ago (1 children)

Thanks. I get the same error even with pictrs image set to docker.io/asonix/pictrs:0.5.4

[–] [email protected] 2 points 9 months ago (1 children)

I mean, i dont see anything strange.
Maybe just destroy the droplet and start fresh? Or spin up another just to test with?
Are you familiar with installing docker? I always just use docker's convenience script to install it, and never had any problems.
You sure you havent accidentally installed docker desktop instead of docker engine? I dont know if docker has a desktop version for linux.

I keep meaning to figure out rootless mode or swap to podman

[–] [email protected] 1 points 9 months ago

I've never used docker before. It's a strange newfangled technology I don't understand. Back in my day you either used apt-get, or you compiled it yourself. I want to learn, and I thought installing Lemmy would be a good learning opportunity, but I'm finding myself chasing my own tail instead. My docker version is Docker version 24.0.2, build cb74dfc, and google is seeming to indicate that's docker engine. I can't see how docker desktop would be trying to run on ubuntu.