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?

1 point

all i know is… that ssh can have configuration turned on for x11 forwarding.

permalink
report
reply
3 points

The problem is likely Ubuntu not Lemmy or not even the Lemmy setup process.

You seem to not have a dbus session going which you should by default even with SSH. It sounds like it might be falling back to trying to get it from X11 and fails that too (obviously).

So, just Ubuntu being Ubuntu.

permalink
report
reply
5 points

As others have already said, Lemmy does not require a display.

You might want to try the Ansible method of setting up a Lemmy instance. I personally found it much easier.

permalink
report
reply
-3 points

use wayland then

permalink
report
reply
6 points

It doesn’t. No idea what you’ve done.

permalink
report
reply

Lemmy Support

!lemmy_support@lemmy.ml

Create post

Support / questions about Lemmy.

Matrix Space: #lemmy-space

Community stats

  • 138

    Monthly active users

  • 1.2K

    Posts

  • 5.7K

    Comments

Community moderators