#!/bin/env bash # This is a simple wrapper workaround. If we launch Anbox session manager before a desktop/Xorg session, # the session simply fails to launch, complaining about insufficient drm permissions (permission denied 13) # in a Xorg log file. # Use this script as start-up program in your desktop session start-up application menu. It ensures that # Xorg session starts BEFORE Anbox session manager, and both succeed to launch. [[ $(systemctl is-active anbox-container-manager.service) ]] && systemctl --user start anbox-session-manager