Troubleshooting¶
Common issues and solutions. Click an item to expand it.
intuneme init fails with \"disk quota exceeded\" on Fedora
Fedora and many systemd-based distros mount /tmp as a tmpfs (RAM-backed) with a size limit. The container image export can exceed this limit.
Use --tmp-dir to write temporary files to a disk-backed directory:
intuneme init --tmp-dir /var/tmp
The same flag is available on intuneme recreate. Alternatively, set the TMPDIR environment variable:
TMPDIR=/var/tmp intuneme init
intuneme init fails with \"SELinux policy setup failed\"
init stops when semanage fails for a real reason, such as a missing semanage or an unreadable policy store. It does not save config.toml and does not report success, so the rootfs can be left half-configured.
Install policycoreutils-python-utils, which provides semanage, fix any policy-store error named in the message, then re-run with --force (the rootfs already exists, so a plain init refuses):
sudo dnf install policycoreutils-python-utils
intuneme init --force
intuneme shell fails on Fedora/Bazzite (SELinux)
intuneme init handles this automatically: it relabels the rootfs as container_file_t and installs a policy module that grants systemd-machined the PTY access it needs for machinectl shell.
If you upgraded from an older install and did not re-run init, use the provided script:
bash scripts/fix-selinux.sh
Alternatively, re-run initialization:
intuneme init --force
intune-portal crashes with \"No authorization protocol specified\"
The Xauthority file is not being forwarded into the container. Check that your host has an Xauthority file in $XAUTHORITY or /run/user/$UID/.
Common file name patterns to look for:
ls /run/user/$UID/.mutter-Xwaylandauth.* /run/user/$UID/xauth_* 2>/dev/null
If no file is found, your compositor may not be creating one. Try restarting your graphical session.
intune-portal shows error 1001 or \"UI web navigation failed\"
The Microsoft Identity broker services are not running inside the container. Open a shell and check their status:
intuneme shell
Inside the container:
sudo systemctl status microsoft-identity-device-broker
systemctl --user status microsoft-identity-broker
If either service has failed, restart it:
sudo systemctl restart microsoft-identity-device-broker
systemctl --user restart microsoft-identity-broker
Compliance check fails
The intune-agent timer may not be running. Inside the container:
intuneme shell
Then:
systemctl --user start intune-agent.timer
/opt/microsoft/intune/bin/intune-agent
Running the agent directly will output diagnostic information if it encounters an error.
Edge crashes with \"Trace/breakpoint trap\"
This is almost always a corrupted browser profile, not a GPU or sandbox issue.
First, test with a fresh profile:
microsoft-edge --user-data-dir=/tmp/edge-test
If Edge launches successfully with a fresh profile, the issue is the existing profile. Move it aside and restart Edge:
mv ~/.config/microsoft-edge ~/.config/microsoft-edge.bak
Edge will create a new profile on next launch.
No sound in Edge or other container apps
Check that PipeWire is forwarded. The host needs a PipeWire socket at /run/user/$UID/pipewire-0:
ls -la /run/user/$UID/pipewire-0
Inside the container, verify the PIPEWIRE_REMOTE environment variable is set:
intuneme shell
echo $PIPEWIRE_REMOTE
If PipeWire is not running on the host, start it:
systemctl --user start pipewire pipewire-pulse
Webcam not available in Teams or Edge
Check that udev rules are installed:
ls /run/udev/rules.d/70-intuneme-video.rules
The rules live in /run/udev/rules.d/, not /etc/udev/rules.d/. They exist only while the container runs: intuneme start installs them, and intuneme stop and a host reboot remove them. If the container is running and the file is missing, install the rules:
intuneme udev install
Verify the camera is detected on the host:
ls /dev/video*
Check device forwarding logs for errors:
journalctl -t intuneme-hotplug
intuneme start fails with \"broker proxy failed to start within 5 seconds\"
The broker proxy process did not write its PID file in time. This usually means the D-Bus session bus is not available or there is a port/socket conflict.
Check that the session bus is running:
echo $DBUS_SESSION_BUS_ADDRESS
If the variable is empty, you are likely running outside a desktop session. The broker proxy requires an active D-Bus user session.
You can also check broker proxy logs:
journalctl --user -u dbus -n 20
If the container started successfully but the proxy did not, you can disable the proxy and restart:
intuneme config broker-proxy disable
intuneme stop && intuneme start
Broker proxy reports \"bus name com.microsoft.identity.broker1 already owned\"
Another process already owns the broker name on your host session bus. The error names it, for example already owned by PID 12345 (microsoft-identity-broker). intuneme status shows the same owner. It is usually a Microsoft identity broker installed on the host, or another intuneme broker-proxy (for example one started for a different --root). A proxy for a different root shows as a conflict, not running (bus name owned by intuneme broker-proxy for root <R>, PID N), and not as your running proxy.
Check the process:
ps -fp 12345
Stop or disable that broker, or run intuneme config broker-proxy disable if you do not need the proxy. If the owner is an old intuneme broker-proxy, run intuneme config broker-proxy enable again so the D-Bus activation file includes --root.
intuneme commands fail with a config.toml parse error
If config.toml contains invalid TOML syntax, intuneme will report the error instead of silently falling back to defaults. This prevents unexpected behavior from a corrupted configuration.
Check your config file for syntax errors:
cat ~/.local/share/intuneme/config.toml
Common causes include unquoted strings, missing closing quotes, or stray characters from a manual edit. Fix the syntax. Do not delete the file and run plain intuneme init: the root filesystem still exists, so init stops with already initialized ... use --force to reinitialize. To regenerate the file, run intuneme init --force. It pulls the image and provisions the container again. ~/Intune stays, but settings such as broker_proxy return to their defaults.
YubiKey not detected inside the container
Check that udev rules are installed:
ls /run/udev/rules.d/70-intuneme-yubikey.rules
The rules live in /run/udev/rules.d/, not /etc/udev/rules.d/. They exist only while the container runs: intuneme start installs them, and intuneme stop and a host reboot remove them. If the container is running and the file is missing, install the rules:
intuneme udev install
Verify the key is detected on the host:
lsusb | grep Yubico
Check device forwarding logs:
journalctl -t intuneme-hotplug
If the key was plugged in before the container started, it should have been forwarded automatically at boot. If not, unplug and re-plug the key while the container is running to trigger the hotplug rules.
If the log says the key was forwarded but tools inside the container still can't see it (pcscd: "No smart card readers found", Edge never prompts for the key), check that the device is allowed by the container's cgroup:
systemctl show "$(machinectl show intuneme -p Unit --value)" -p DevicePolicy -p DeviceAllow
The output should list /dev/hidraw* and /dev/bus/usb/... entries. If it doesn't, the node exists but every open() fails with Operation not permitted. Run intuneme stop && intuneme start to re-forward the key on the correct scope unit (older intuneme releases guessed the unit name, which changed to <machine>.scope on systemd 256+).
Edge or the Company Portal asks you to sign in again after a reboot
Your credentials live in the container's gnome-keyring, and the keyring has to be unlocked once per boot. Older versions could skip that unlock for the whole boot: if the first launch after intuneme start came from the GNOME extension, the container user's session was not running yet, the unlock failed, and the keyring stayed locked. The broker then found no saved account.
Current versions enable the container user's session on every intuneme start and retry the unlock on every session entry, up to 3 attempts per boot. Each failed attempt is logged, and when the limit is reached the script stops retrying for that boot and logs that it did (inside the container: journalctl -t intuneme-session-setup).
To recover a container that is already in this state, run intuneme start again (it is safe while the container is running), then in intuneme shell:
rm -f /tmp/.intuneme-keyring-init-done /tmp/.intuneme-keyring-unlock-attempts
/usr/local/bin/intuneme-session-setup
Quit Edge and the Company Portal completely before the relaunch. Close every window, then check in intuneme shell that pgrep -a 'msedge|intune-portal' prints nothing; if it prints processes, run pkill 'msedge|intune-portal'. Edge keeps background processes alive after its last window closes, and a running Edge keeps the old sign-in state.
Then relaunch Edge or the Company Portal.
Image signature check failed¶
intuneme init and intuneme recreate check the image's cosign signature before they extract it. The check reads the signature of the image tag from ghcr.io and verifies it against the key in the intuneme release. When it fails, the command stops and changes nothing: no image is pulled, no rootfs is written, and on recreate a running container keeps running with its enrollment.
Common causes:
- No network to
https://ghcr.io. A proxy or a registry mirror can answer the manifest request but block the token endpoint.curl -sS -o /dev/null -w '%{http_code}\n' https://ghcr.io/v2/must answer401, which this check can work with; a timeout or a403means the network or proxy refuses the check. - A new image that is not signed yet. The build publishes the tag and signs it a few moments later. Wait a few minutes and run the command again.
- A real problem with the image. An image that does not verify with the key from the release, or that names another repository, is not the image intuneme publishes. Do not extract it.
To check the image by hand:
cosign verify --key https://raw.githubusercontent.com/frostyard/intuneme/main/ubuntu-intune/cosign.pub \
ghcr.io/frostyard/ubuntu-intune:<tag>
When the image is valid, the command lists the checks it performed and prints the signature payload, so the problem is local (a proxy, a firewall, or a clock that is far off). An error that no signature matches means the tag is not the image intuneme publishes.
Warning
--insecure-skip-signature-check skips the check and pulls the tag. The image is then extracted as root with nothing verifying it. Use it only for an image you built and trust yourself, and never on an image from a mirror you do not control:
intuneme recreate --insecure-skip-signature-check
The command warns that the image is not verified. Run intuneme recreate again without the flag once the check can pass, so the rootfs is replaced with a verified image.