Overslaan naar inhoud
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Aanmelden
  • Nederlands English (US) Español (AR)
  • Contact
  • Startpagina
  • Blog
  • Vacatures
  • Contact
Cafayate.Net
  • 0
  • 0
    • Startpagina
    • Blog
    • Vacatures
    • Contact
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Aanmelden
  • Contact

Multiple Desktop Environments with LXC

  • Alle blogs
  • Tech Blog
  • Multiple Desktop Environments with LXC
  • 5 maart 2021 in
    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

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

    Ontworpen voor bedrijven

    We zijn een team van gepassioneerde mensen met als doel levens te verbeteren met vernieuwende producten. We ontwikkelen geweldige oplossingen voor al je zakelijke uitdagingen. Onze producten zijn ontworpen voor kleine tot middelgrote bedrijven die hun prestaties willen optimaliseren.

    Neem contact op

    Plantexel
    Pedernera
    Salta Capital 
    Argentina

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