Well, that depends:
- What software does your host use instead? Or is it headless?
There are for example solutions available forWayland
as well (just search the forum).
Many methods (for X-forwarding) assume that you want to use a X-Server of the Host inside the container (this is e.g. because of better performance=GPU accerleration).
Your case seems to be the opposite .
According to this:
There is only a tutorial for LXC about running a X-Server inside a container (I haven’t looked at it):
Notice though that you probably also need to have devices like /dev/video
on your host.
If you don’t have these devices, I would search for whether it is possible to run an X-Server on a pure server hardware.
Maybe Virtual machines would also work better in such a case.
Sry no expert .
Assuming this works, then you could use a remote-desktop software like vnc
or ssh -x
etc. to login to your containers desktop.
But maybe someone else has a better idea.