[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

graphical session in LXC automatically started at boot and reachable via VNC/RDP/X2GO



Hi list,

I need to run a graphical software called Noethys that also listens on some TCP port. It:
1. needs to be reachable from the network during work hours
2. needs to be accessible remotely a few times per day, mainly by a Windows workstation on the LAN

I will run this software on a server, preferably in a LXC system container or in last resort in a QEMU/KVM VM (because LXC is lighter on resources and easier to snapshot/backup. The server will automatically boot the morning and shutdown the evening.

Because of 1., the graphical session in the container and the software must start automatically. Then, because of 2., this session must be reachable by something like VNC/RDP/X2GO.

I am facing the following difficulties/questions:
- running a normal X11 server in a container does not work because it would need to access some special files in /dev/, so it needs extra setup in the container and this scares me a bit - however, after installing xrdp and x2go servers in the container, I can successfully connect remotely with these respective protocols without any particular setup. I would really like to find a way to automatically start a X11 session at boot in same way xrdp or x2go do it (I would then stick with this protocol)

Has someone already done something similar? What would be your advice?

Regards,
Yvan


Reply to: