this post was submitted on 04 Jul 2025
20 points (91.7% liked)

Selfhosted

46677 readers
2344 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi all, I’ve recently got a proxmox server up and running, and cutting my teeth on it setting up some services (thanks to everyone who responded to my earlier post!). One thing I’m struggling with currently, and it’s admittedly not straightforward, is getting a graphical session up and running.

What I have working so far is an arch based lxc container, with gpu pass through. nvidia-smi on the lxc reports as usual, and so that seems to be working fine.

Upon installing a graphical session, say cinnamon, with lightdm, however, I can’t seem to open any display. I can have a virtual terminal available via the proxmox ui, and though I haven’t tried, I’m sure I could ssh in just fine as well. For what it’s worth, I have a display connected to the host system; the host does not have any graphical sessions. I’d like for the time being to use this host display, and have passed through /dev/fb0.

What I haven’t tried is running a pure x11 based session. I’d really prefer to use a Wayland session with cinnamon, but if necessary I can try to get an x11 session running. I additionally have not installed any vnc servers.

The errors I tend to get when trying to start cinnamon center on not being able to get a session ID, not being able to connect or open a display, and not being able to connect or find a dbus session.

Lightdm says it is running as a service on systemctl status lightdm.

Anyone have any ideas for how to get a session going graphically? I’m not sure how to even pass a tty to the connected monitor from the lxc.

Thanks for any help or guidance — if I do figure this all out, I plan to make a guide for future folks.

top 2 comments
sorted by: hot top controversial new old
[–] Mordikan@kbin.earth 4 points 1 day ago (1 children)

I ran into this issue just recently. Wayland, trying to run i3wm, using lightdm. Once booted, lightdm greeter did not load and only a black screen displayed. I was still able to VNC into the device using tigervnc.

The issue appeared to be lightdm not supporting (or supporting well maybe) Wayland. I ended up switching from lightdm to gdm and installing hyprland on that machine.

[–] AliasAKA@lemmy.world 1 points 1 day ago* (last edited 15 hours ago)

Oh interesting. I’ll give gdm a try and see if that gives any joy. Thanks for this tip, will return tomorrow with update on this particular change

Update: alas, no dice for this change.