|
|
- #!/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.
-
- if [[ $(systemctl is-active anbox-container-manager.service) ]]; then
- systemctl --user start anbox-session-manager
- anbox-exec
- fi
|