No keyboard or mice input inside my graphical app

My GUI App was designed to run on Ubuntu 18.04 Desktop VMs. I’m trying to migrate it to an LXD 4.0.2 container.
Both host and container runs Ubuntu 18.04 Desktop. Display works but just no keyboard or mice input.
There’s no GPU on the host as intended.

Here is the profile I’m using to launch it. Part of my troubleshooting is to add as many devices possible to rule them out.

lxc profile show lanprofile
config: {}
description: Default LXD profile
devices:
  eth0:
    nictype: macvlan
    parent: ens160
    type: nic
  event0:
    path: /dev/input/event0
    type: unix-char
  event1:
    path: /dev/input/event1
    type: unix-char
  event2:
    path: /dev/input/event2
    type: unix-char
  event3:
    path: /dev/input/event3
    type: unix-char
  mice:
    path: /dev/input/mice
    type: unix-char
  mouse0:
    path: /dev/input/mouse0
    type: unix-char
  mouse1:
    path: /dev/input/mouse1
    type: unix-char
  root:
    path: /
    pool: default
    type: disk
  tty0:
    path: /dev/tty0
    type: unix-char
  tty7:
    path: /dev/tty7
    type: unix-char
  uhid:
    path: /dev/uhid
    type: unix-char
  uinput:
    path: /dev/uinput
    type: unix-char
name: lanprofile
used_by:
- /1.0/instances/c1

After launching the container I run the following to get the display working.

lxc config device add c1 tty0 unix-char path=/dev/tty0
lxc config device add c1 tty7 unix-char path=/dev/tty7
lxc config set c1 security.privileged=true
lxc restart c1

Xorg log

[711574.144] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[711574.145] X Protocol Version 11, Revision 0
[711574.145] Build Operating System: Linux 4.4.0-168-generic x86_64 Ubuntu
[711574.145] Current Operating System: Linux c1 5.3.0-51-generic #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 x86_64
[711574.145] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-51-generic root=UUID=642745d9-ebef-4e85-8374-f9a6e242c641 ro quiet splash
[711574.145] Build Date: 14 November 2019  06:20:00PM
[711574.145] xorg-server 2:1.19.6-1ubuntu4.4 (For technical support please see http://www.ubuntu.com/support) 
[711574.145] Current version of pixman: 0.34.0
[711574.145] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[711574.145] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[711574.146] (==) Log file: "/var/log/Xorg.5.log", Time: Mon May 18 21:46:28 2020
[711574.146] (++) Using config file: "/tmp/xorg.MyGUIApp.W2WobY.conf"
[711574.146] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[711574.146] (==) ServerLayout "dummy_layout"
[711574.146] (**) |-->Screen "dummy_screen" (0)
[711574.146] (**) |   |-->Monitor "Monitor0"
[711574.146] (**) |   |-->Device "MyGUIApp"
[711574.146] (**) Option "DontVTSwitch" "true"
[711574.146] (**) Option "AllowMouseOpenFail" "true"
[711574.146] (==) Automatically adding devices
[711574.146] (==) Automatically enabling devices
[711574.146] (==) Automatically adding GPU devices
[711574.146] (==) Automatically binding GPU devices
[711574.146] (==) Max clients allowed: 256, resource mask: 0x1fffff
[711574.146] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[711574.146] 	Entry deleted from font path.
[711574.146] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[711574.146] 	Entry deleted from font path.
[711574.146] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[711574.146] 	Entry deleted from font path.
[711574.146] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[711574.146] 	Entry deleted from font path.
[711574.146] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[711574.146] 	Entry deleted from font path.
[711574.146] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[711574.146] (==) ModulePath set to "/usr/lib/xorg/modules"
[711574.146] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[711574.146] (II) Loader magic: 0x5621bd14e020
[711574.147] (II) Module ABI versions:
[711574.147] 	X.Org ANSI C Emulation: 0.4
[711574.147] 	X.Org Video Driver: 23.0
[711574.147] 	X.Org XInput driver : 24.1
[711574.147] 	X.Org Server Extension : 10.0
[711574.147] (++) using VT number 7

[711574.147] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[711574.148] (II) xfree86: Adding drm device (/dev/dri/card0)
[711574.151] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/131072
[711574.151] (II) LoadModule: "glx"
[711574.152] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[711574.152] (II) Module glx: vendor="X.Org Foundation"
[711574.152] 	compiled for 1.19.6, module version = 1.0.0
[711574.152] 	ABI class: X.Org Server Extension, version 10.0
[711574.152] (II) LoadModule: "myguiapp"
[711574.152] (II) Loading /usr/lib/xorg/modules/drivers/myguiapp_drv.so
[711574.152] (II) Module MyGUIApp: vendor="MyGUIApp"
[711574.152] 	compiled for 1.19.6, module version = 1.1.6
[711574.152] 	Module class: X.Org Video Driver
[711574.152] 	ABI class: X.Org Video Driver, version 23.0
[711574.152] (II) MyGUIApp: Driver for Dummy chipsets: dummy
[711574.152] (WW) Falling back to old probe method for myguiapp
[711574.152] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[711574.152] (II) MyGUIApp(0): Chipset is a DUMMY
[711574.152] (II) MyGUIApp(0): Creating default Display subsection in Screen section
	"dummy_screen" for depth/fbbpp 24/32
[711574.152] (**) MyGUIApp(0): Depth 24, (--) framebuffer bpp 32
[711574.152] (==) MyGUIApp(0): RGB weight 888
[711574.152] (==) MyGUIApp(0): Default visual is TrueColor
[711574.153] (==) MyGUIApp(0): Using gamma correction (1.0, 1.0, 1.0)
[711574.153] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[711574.153] (**) MyGUIApp(0): Option "NumOutputs" "4"
[711574.153] (**) MyGUIApp(0): VideoRAM: 512000 kByte
[711574.153] (II) MyGUIApp(0): Output Mon0 using monitor section Monitor0
[711574.153] (**) MyGUIApp(0): Option "Enable" "true"
[711574.153] (**) MyGUIApp(0): Option "DefaultModes" "false"
[711574.153] (II) MyGUIApp(0): Output Mon1 using monitor section Monitor1
[711574.153] (**) MyGUIApp(0): Option "Enable" "true"
[711574.153] (**) MyGUIApp(0): Option "DefaultModes" "false"
[711574.153] (II) MyGUIApp(0): Output Mon2 using monitor section Monitor2
[711574.153] (**) MyGUIApp(0): Option "Enable" "true"
[711574.153] (**) MyGUIApp(0): Option "DefaultModes" "false"
[711574.153] (II) MyGUIApp(0): Output Mon3 using monitor section Monitor3
[711574.153] (**) MyGUIApp(0): Option "Enable" "true"
[711574.153] (**) MyGUIApp(0): Option "DefaultModes" "false"
[711574.153] (II) MyGUIApp(0): Printing probed modes for output Mon0
[711574.153] (II) MyGUIApp(0): Modeline "1024x768"x59.9   56.00  1024 1072 1104 1184  768 771 775 790 +hsync -vsync (47.3 kHz)
[711574.153] (II) MyGUIApp(0): Printing probed modes for output Mon1
[711574.153] (II) MyGUIApp(0): Modeline "1024x768"x59.9   56.00  1024 1072 1104 1184  768 771 775 790 +hsync -vsync (47.3 kHz)
[711574.153] (II) MyGUIApp(0): Printing probed modes for output Mon2
[711574.153] (II) MyGUIApp(0): Modeline "1024x768"x59.9   56.00  1024 1072 1104 1184  768 771 775 790 +hsync -vsync (47.3 kHz)
[711574.153] (II) MyGUIApp(0): Printing probed modes for output Mon3
[711574.153] (II) MyGUIApp(0): Modeline "1024x768"x59.9   56.00  1024 1072 1104 1184  768 771 775 790 +hsync -vsync (47.3 kHz)
[711574.153] (II) MyGUIApp(0): Output Mon0 enabled by config file
[711574.153] (II) MyGUIApp(0): Output Mon1 enabled by config file
[711574.153] (II) MyGUIApp(0): Output Mon2 enabled by config file
[711574.153] (II) MyGUIApp(0): Output Mon3 enabled by config file
[711574.153] (II) MyGUIApp(0): Using fuzzy aspect match for initial modes
[711574.153] (II) MyGUIApp(0): Output Mon0 using initial mode 1024x768 +0+0
[711574.153] (II) MyGUIApp(0): Output Mon1 using initial mode 1024x768 +0+0
[711574.153] (II) MyGUIApp(0): Output Mon2 using initial mode 1024x768 +0+0
[711574.153] (II) MyGUIApp(0): Output Mon3 using initial mode 1024x768 +0+0
[711574.153] (--) MyGUIApp(0): Virtual size is 1024x768 (pitch 640)
[711574.153] (**) MyGUIApp(0):  Mode "1024x768": 56.0 MHz (scaled from 0.0 MHz), 47.3 kHz, 59.9 Hz
[711574.153] (II) MyGUIApp(0): Modeline "1024x768"x59.9   56.00  1024 1072 1104 1184  768 771 775 790 +hsync -vsync (47.3 kHz)
[711574.153] (==) MyGUIApp(0): DPI set to (96, 96)
[711574.153] (II) Loading sub module "fb"
[711574.153] (II) LoadModule: "fb"
[711574.153] (II) Loading /usr/lib/xorg/modules/libfb.so
[711574.153] (II) Module fb: vendor="X.Org Foundation"
[711574.153] 	compiled for 1.19.6, module version = 1.0.0
[711574.153] 	ABI class: X.Org ANSI C Emulation, version 0.4
[711574.153] (II) Loading sub module "ramdac"
[711574.153] (II) LoadModule: "ramdac"
[711574.153] (II) Module "ramdac" already built-in
[711574.153] (--) Depth 24 pixmap format is 32 bpp
[711574.153] (II) MyGUIApp(0): Using 127232 scanlines of offscreen memory 
[711574.153] (==) MyGUIApp(0): Backing store enabled
[711574.153] (==) MyGUIApp(0): Silken mouse enabled
[711574.153] (II) MyGUIApp(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[711574.153] (WW) MyGUIApp(0): Option "UseEdidDpi" is not used
[711574.153] (WW) MyGUIApp(0): Option "NoDDC" is not used
[711574.153] (WW) MyGUIApp(0): Option "DefaultModes" is not used
[711574.153] (WW) MyGUIApp(0): Option "Enable" is not used
[711574.153] (--) RandR disabled
[711574.155] (II) SELinux: Disabled on system
[711574.155] (II) AIGLX: Screen 0 is not DRI2 capable
[711574.155] (EE) AIGLX: reverting to software rendering
[711574.173] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[711574.173] (II) IGLX: Loaded and initialized swrast
[711574.173] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[711574.174] (II) MyGUIApp(0): Setting screen physical size to 270 x 203
[711574.197] (II) config/udev: Adding drm device (/dev/dri/card0)
[711574.197] (II) xfree86: Adding drm device (/dev/dri/card0)

1. Are the syntax in my lanprofile correct for adding devices? I’m suspicious about type: unix-char and can use some validation.

2. Why is my Xorg log stopping at Adding drm device (/dev/dri/card0)? I’m not even adding this device from host to container.
On the VM where everything works normally, this is what gets posted at this point in the log.

[   212.038] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   212.038] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   212.038] (II) LoadModule: "evdev"
[   212.039] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   212.102] (II) Module evdev: vendor="X.Org Foundation"
[   212.102]    compiled for 1.19.3, module version = 2.10.5
[   212.102]    Module class: X.Org XInput Driver
[   212.102]    ABI class: X.Org XInput driver, version 24.1
[   212.102] (II) Using input driver 'evdev' for 'Power Button'
[   212.102] (**) Power Button: always reports core events
[   212.102] (**) evdev: Power Button: Device: "/dev/input/event0"
[   212.103] (--) evdev: Power Button: Vendor 0 Product 0x1
[   212.103] (--) evdev: Power Button: Found keys
[   212.103] (II) evdev: Power Button: Configuring as keyboard

3. Why is evdev not being loaded on the container?