Ir al contenido
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Inicia sesión
  • Nederlands English (US) Español (AR)
  • Contáctanos
  • Inicio
  • Blog
  • Empleos
  • Contáctanos
Cafayate.Net
  • 0
  • 0
    • Inicio
    • Blog
    • Empleos
    • Contáctanos
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Inicia sesión
  • Contáctanos

Multiple Desktop Environments with LXC

  • Todos los blogs
  • Tech Blog
  • Multiple Desktop Environments with LXC
  • 5 de marzo de 2021 por
    Administrator

    This repository contains a Debian source package which you can build and install on your host to make it piss simple to run multiple LXC instances with graphical desktop environments in parallel on a single host. Each LXC instance will occupy a separate virtual terminal (VT), so you can switch between them using Ctrl-Alt-Fn keys. Each instance also shares direct access to the graphics hardware and other privileges for performance and flexibility.

    This is no security measure, but a way to share an expensive resource like a laptop computer. Think of isolated work and private environments, or multiple users.

    Quick start on a Ubuntu 14.04 host

    git clone https://github.com/ustuehler/lxc-desktop && cd lxc-desktop
    sudo apt-get install ubuntu-dev-tools debhelper
    dpkg-buildpackage -uc -us
    sudo dpkg -i ../lxc-desktop_*_all.deb
    sudo apt-get -f install
    

    If you want to speed up the creation and updating of the host system and desktop containers using apt-cacher-ng(8), simply install the lxc-desktop-cache package.

    sudo dpkg -i ../lxc-desktop-cache_*_all.deb
    sudo apt-get -f install
    

    Now you’re ready to create the first desktop container:

    sudo lxc-create -n container -t ubuntu-desktop
    sudo lxc-start -n container -d
    

    Within a few seconds you should get a graphical Ubuntu Desktop login screen on the next available virtual terminal.

    Adding packages

    The template only installs the ubuntu-desktop package by default, a very, very minimal desktop environment. You may want to add additional packages when you create the container.

    sudo lxc-create -n container -t ubuntu-desktop -- \
      --packages=ubuntu-gnome-desktop,chromium-browser
    

    Run lxc-create -n container -t ubuntu-desktop -- --help for template usage instructions.

     

    https://github.com/ustuehler/lxc-desktop

    en Tech Blog
    Make Odoo run on port 80 with Nginx.

    Diseñado para empresas

    Somos un equipo de personas apasionadas cuyo objetivo es mejorar la vida de todos a través de productos revolucionarios. Creamos grandes productos para resolver sus problemas empresariales. Nuestros productos están diseñados para pequeñas y medianas empresas dispuestas a optimizar su rendimiento.

    Contáctenos

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Síganos
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)