Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Wayland GUI in an Unpriviliged LXC container (proxmox)

Wayland GUI in an Unpriviliged LXC container (proxmox)

Scheduled Pinned Locked Moved Selfhosted
selfhosted
3 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    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.

    mordikan@kbin.earthM 1 Reply Last reply
    10
    • A [email protected]

      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.

      mordikan@kbin.earthM This user is from outside of this forum
      mordikan@kbin.earthM This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      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.

      A 1 Reply Last reply
      2
      • mordikan@kbin.earthM [email protected]

        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.

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups