User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computers:linux:incus_tips [2024/08/19 14:35] – created wikiadmincomputers:linux:incus_tips [2024/08/23 16:15] (current) wikiadmin
Line 1: Line 1:
 ==== Incus Tips ==== ==== Incus Tips ====
 +With the license changes made by Canonical, I've migrated my virtualization environment over to Incus.
  
 +----
 +
 +=== Remote Display in Incus Container ===
 +
 +I recently needed to include an X11 desktop environment in one of my containers. I wanted to capture this simple solution provided by //nanjj// over at https://discuss.linuxcontainers.org/t/running-x11-software-in-incus-container/18180/6
 +
 +You first want to create a user in the container then install the following:
 +<code>
 +% sudo apt-get install xfce4 xrdp
 +% sudo systemctl start xrdp.service
 +</code>
 +
 +----
 +
 +=== Add Shared Folder ===
 +The following adds a shared folder to an instance. The //shift=true// handles permissions and requires a 6.x linux kernel.
 +<code>incus config device add INSTANCE CONFIG_NAME disk source=FS_PATH_FROM_INCUS_SERVER path=MOUNT_POINT_IN_INSTANCE shift=true</code>

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information