$ echo $DBUS_SESSION_BUS_ADDRESS
shows an empty line
# ls -alR /run/user/1000/dbus-1
/run/user/1000/dbus-1:
insgesamt 0
drwx------ 3 andreas andreas 60 28. Feb 11:47 .
drwx------ 11 andreas andreas 260 28. Feb 11:49 ..
drwx------ 2 andreas andreas 40 28. Feb 11:47 services
/run/user/1000/dbus-1/services:
insgesamt 0
drwx------ 2 andreas andreas 40 28. Feb 11:47 .
drwx------ 3 andreas andreas 60 28. Feb 11:47 ..
shows now socket
So i tried dbus-launch in start-command and firefox started
$MOZ_ENABLE_WAYLAND=1 dbus-launch firejail --private=~/sandbox --apparmor firefox
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/firefox-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-proc.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Parent pid 3846, child pid 3853
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
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Warning: cleaning all supplementary groups
Warning: Replacing profile instead of stacking it. It is a legacy behavior that can result in relaxation of the protection. It is here as a temporary measure to unbreak the software that has been broken by switching to the stacking behavior.
Child process initialized in 238.59 ms
[GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.