opera: program does not open: Missing X server or $DISPLAY (lyxauth)
Author: mokkurkalveCreated May 19, 2026Updated Jun 18, 2026
Labelsneedinfo
Description
Describe the bug
I've used firejail /usr/bin/opera and it used to work. Now it doesn't launch anymore. When I ran with noprofile it launches. I found that when I comment out the line "include chromium-common.profile" from opera.profile it also launches. That's how far I've gotten.
Steps to Reproduce
Steps to reproduce the behavior
Run firejail /usr/bin/opera
- Run in bash
LC_ALL=C firejail /path/to/program(LC_ALL=Cto get a consistent output in English that can be understood by everybody) - Click on '....'
- Scroll down to '....'
- See error
ERROR
Expected behavior
Opera to start.
Actual behavior
Opera died.
Behavior without a profile
What changed calling LC_ALL=C firejail --noprofile /path/to/program in a
terminal?
With noprofile Opera starts.
Additional context
Comment out "include chromium-common.profile" from opera.profile -> Opera starts.
Any other detail that may help to understand/debug the problem
Environment
- Name/version/arch of the Linux kernel (
uname -srm): Linux 7.0.9-zen1-1-zen x86_64 - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Arch Linux
- Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1, mesa 1:24.3.3-2"): opera 131.0.5877.55-1
- Version of Firejail (
firejail --version): 0.9.80 - If you use a development version of firejail, also the commit from which it
was compiled (
git rev-parse HEAD):
Checklist
- I am using firejail 0.9.80 or later
- I am using the full program path (e.g.
firejail /usr/bin/vlcinstead offirejail vlc; seehttps://github.com/netblue30/firejail/issues/2877) - The issues is caused by firejail (i.e. running the program by path (e.g.
/usr/bin/vlc) "fixes" it). - I can reproduce the issue without custom modifications (e.g. globals.local).
- The program has a profile. (If not, request one in
https://github.com/netblue30/firejail/issues/1139) - The profile (and redirect profile if exists) hasn't already been fixed upstream.
- I have performed a short search for similar issues (to avoid opening a duplicate).
- I'm aware of
browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers. - I used
--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)
Log
Output ofLC_ALL=C firejail /path/to/program
LC_ALL=C firejail /usr/bin/opera
Reading profile /home/eivind/.config/firejail/opera.profile
Reading profile /etc/firejail/chromium-common.profile
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/blink-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.80
Parent pid 20580, child pid 20581
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Base filesystem installed in 160.89 ms
Warning: Cannot confine the application using AppArmor.
Maybe firejail-default AppArmor profile is not loaded into the kernel.
As root, run "aa-enforce firejail-default" to load it.
Child process initialized in 267.15 ms
[7:24:0519/103251.120067:ERROR:dbus/bus.cc:405] Failed to connect to the bus: Failed to connect to socket /run/firejail/mnt/dbus/system: Permission denied
Authorization required, but no authorization protocol specified
[7:7:0519/103251.121145:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:256] Missing X server or $DISPLAY
[7:7:0519/103251.121151:ERROR:ui/aura/env.cc:246] The platform failed to initialize. Exiting.
Parent is shutting down, bye...LC_ALL=C firejail --debug /path/to/program
https://gist.github.com/mokkurkalve/317a793a7b17673750041b561627abaaSource: netblue30/firejail