# LXD Built-In GUI

**URL:** https://discussion.scottibyte.com/t/lxd-built-in-gui/270
**Category:** Uncategorized
**Created:** [August 26, 2023, 5:04pm UTC](https://discussion.scottibyte.com/t/lxd-built-in-gui/270 "2023-08-26T17:04:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![scott](https://discussion.scottibyte.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://discussion.scottibyte.com/u/scott)
#### Post date: [August 26, 2023, 5:04pm UTC](https://discussion.scottibyte.com/t/lxd-built-in-gui/270/1 "2023-08-26T17:04:31Z")

</div>

There is a Canonical LXD web interface as of LXD v5.14. I have covered the third party interfaces for LXD including lxdui, LXD Mosaic, and LXD Dashboard. In this tutorial we learn how to configure the new Canonical LXD web interface.

The Canonical documentation on the LXD web UI is [here](https://documentation.ubuntu.com/lxd/en/latest/howto/access_ui/).

Find out which version of LXD that you are running:

```auto
lxc --version

```

If you are running a version older than v5.14, you will need to upgrade LXD. An upgrade will not affect your current containers.

```auto
sudo snap refresh lxd --channel=latest

```

As of August 2023, the latest version is v5.15.

```auto
lxc --version

```

To enable the LXD web UI:

```auto
sudo snap set lxd ui.enable=true

```

You must now restart LXD:

```auto
sudo snap restart --reload lxd

```

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/1b36c453d6df19d910ab7a299a533471292b1e30.jpeg)

An alternate way to reload the LXD daemon.

```auto
sudo systemctl reload snap.lxd daemon

```

You must also be sure that the core address for the LXD server is set:

```auto
lxc config set core.https_address :8443

```

Now, in your web browser (preferably Chrome) navigate to the address of your LXD server at port 8443. In my case:

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/894073f7d49bbeda323cb341f1575311cf5b64bb.jpeg)

In the screen above, select “advanced” and then “Proceed to…” and you should see the following screen:

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/e25b20c7287c1df822f9d5038056bde0d0813bc9.jpeg)

Select “Create a new certificate” from the screen above:

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/4b8ab377e47d1c47d8dc5fb3e5668826518d2546.jpeg)

Click “Generate” to create a new certificate and you will get the following popup. You don’t really need a password, so you can click skip.

![image](https://discussion.scottibyte.com/uploads/default/original/1X/5b0812c30a3318b1d8a58c12965c96d08c0b38d7.png)

Next, click the option to download the certificate and it will be saved in your download folder.

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/b89a62c591c3831c1c31fab34955eaf377203712.jpeg)

Open a terminal on your LXD server and execute the following command:

```auto
lxc config trust add Downloads/lxd-ui.crt

```

You can list the trust store on your LXD server:

```auto
lxc config trust list

```

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/846962d93b8acf6953efe642c56021f340551d2d.jpeg)

Next, go back to your web browser and download the web browser certificate (lxd-ui.pfx) for the browser type that you are using:

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/36801b6229edfaeb7b7a0ad770f15d67132c7718.jpeg)

In chrome, open another tab to the certificates – settings screen:

```auto
chrome://settings/certificates

```

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/f8ad8cb806bcfde627668428eebd26283feeb8dc.jpeg)

Click “import” on the screen above and select the pfx file:

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/2d3cd4d0a56a7db57cbb7c6976a488061d78b337.png)

Once the certificate is imported into the web browser, you can return to the LXD web UI tab and you may or may not have a popup prompt to dismiss. After that, you should see the LXD web UI and it should list all of your LXD container instances:

 ![image](https://discussion.scottibyte.com/uploads/default/original/1X/2d15b1e8ed08aeccad71a0e012484282dc3a587c.jpeg)

Your Canonical LXD web UI should now be completely operational.

To ask questions, come by [https://chat.scottibyte.com/](https://chat.scottibyte.com/).

---

<div class="post-metadata">

### Author: ![myusername](https://discussion.scottibyte.com/letter_avatar_proxy/v4/letter/m/c77e96/32.png) [@myusername](https://discussion.scottibyte.com/u/myusername)
#### Post date: [September 24, 2023, 7:05pm UTC](https://discussion.scottibyte.com/t/lxd-built-in-gui/270/2 "2023-09-24T19:05:12Z")

</div>

I had to completely restart my browser after importing the certificate in order for it to work.

---

<div class="post-metadata">

### Author: ![scott](https://discussion.scottibyte.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://discussion.scottibyte.com/u/scott)
#### Post date: [September 24, 2023, 7:13pm UTC](https://discussion.scottibyte.com/t/lxd-built-in-gui/270/3 "2023-09-24T19:13:26Z")

</div>

That could depend on the browser cookies. Remember that the LXD Web UI is also a very early release. It seems that LXDware LXD Dashboard is a much better option at this point in time.
