Is there a way to connect multiple monitors/displays to a LXC container?

alpha754293

Member
Jan 8, 2023
96
18
13
I know that with an Ubuntu 20.04 LTS VM, I can use SPICE and have it show multiple monitors/displays with virt-manager and/or virt-viewer.

Is there a way for me to do the same (or something very similar) with an Ubuntu 20.04 LTS LXC container?

Your help is greatly appreciated.

Thank you.
 
how would one connect to an LXC container with SPICE? It doesn’t seem possible from what I understand. It’s not like LXC has a framebuffer device.

That is a great question.

@Moayad
Would you be able to provide some guidance in regards to this?

Your help is greatly appreciated.

Thank you.
 
Hi,

Upon further review and testing, I must correct my previous advice regarding the use of SPICE with LXC containers. You are correct; due to the nature of LXC, which operates more at an operating system level without emulating hardware like a traditional VM. So the only way to achieve your request is to use x2go
 
Hi,

Upon further review and testing, I must correct my previous advice regarding the use of SPICE with LXC containers. You are correct; due to the nature of LXC, which operates more at an operating system level without emulating hardware like a traditional VM. So the only way to achieve your request is to use x2go
Thank you for testing this out for the community.

I greatly appreciate it.