Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #230091

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

From Yvan Masson <yvan@masson-informatique.fr>
Newsgroups linux.debian.user
Subject graphical session in LXC automatically started at boot and reachable via VNC/RDP/X2GO
Date 2020-12-29 22:10 +0100
Message-ID <BrupI-2vn-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

graphical session in LXC automatically started at boot and reachable  via VNC/RDP/X2GO Yvan Masson <yvan@masson-informatique.fr> - 2020-12-29 22:10 +0100
  Re: graphical session in LXC automatically started at boot and  reachable via VNC/RDP/X2GO Georgi Naplatanov <gosho@oles.biz> - 2020-12-29 22:30 +0100
  Re: graphical session in LXC automatically started at boot and          reachable via VNC/RDP/X2GO Linux-Fan <Ma_Sys.ma@web.de> - 2020-12-30 00:20 +0100
    Re: graphical session in LXC automatically started at boot and  reachable via VNC/RDP/X2GO Yvan Masson <yvan@masson-informatique.fr> - 2020-12-30 20:40 +0100
      Re: graphical session in LXC automatically started at boot and          reachable via VNC/RDP/X2GO Linux-Fan <Ma_Sys.ma@web.de> - 2020-12-30 23:50 +0100
        Re: graphical session in LXC automatically started at boot and  reachable via VNC/RDP/X2GO Yvan Masson <yvan@masson-informatique.fr> - 2020-12-31 09:30 +0100
          Re: graphical session in LXC automatically started at boot and          reachable via VNC/RDP/X2GO Linux-Fan <Ma_Sys.ma@web.de> - 2020-12-31 14:20 +0100

csiph-web