[GH-ISSUE #4835] new xephyr version crashes #2788

Closed
opened 2026-05-05 09:26:45 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @SecTec on GitHub (Jan 7, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4835

Description

After an update of Xephyr on Arch from 21.1.2-1 to 21.1.3-1 my jailed applications using the --x11=xephyr option is not working anymore. It seems Xephyr crashes.

Steps to Reproduce

Steps to reproduce the behavior

  1. Run in bash zsh firejail --noprofile --x11=xephyr --xephyr-screen=1920x1080 -- /usr/bin/chromium
  2. Scroll down.
  3. See Xephyr crashing.

Expected behavior

I expected my applications are working as they did one week ago. Xephyr should start so my target application can run.

Actual behavior

Xephyr crashes and the target application can not run.

Behavior without a profile

Look above, the application was run with --noprofile option.

Additional context

When I try to use xephyr by myself like firejail invokes it then xephyr runns until I try to attach an application to it, then it crashes. I do not know if this is a firejail, xephyr or an OS issue. When I modify the command to run xephyr I can run the application but the mouse pointer and the keyboard are not working.

Xephyr crashes:
Xephyr -ac -br -noreset -screen 1920x1080 -keybd ephyr,,,xkbmodel=pc105,xkblayout=en :103
DISPLAY=:103 firejail --noprofile -- /usr/bin/chromium

Xephyr works:
Xephyr -ac -br -noreset -screen 1920x1080 :103
DISPLAY=:103 firejail --noprofile -- /usr/bin/chromium

Environment

OS: Arch Linux
firejail 0.9.66-3
xorg-server-xephyr 21.1.3-1
xorg-server-xephyr 21.1.2-1 this worked some days ago

Checklist

  • 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 no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of firejail --noprofile --x11=xephyr --xephyr-screen=1920x1080 -- /usr/bin/chromium

*** Starting xephyr server: "Xephyr" "-ac" "-br" "-noreset" "-screen" "1920x1080" "-keybd" "ephyr,,,xkbmodel=pc105,xkblayout=en" ":103" ***

Kbd option key () of value ((null)) not assigned!
unrecognised device identifier: /dev/input/event1
unrecognised device identifier: /dev/input/event0
unrecognised device identifier: /dev/input/event8
unrecognised device identifier: /dev/input/event9
unrecognised device identifier: /dev/input/event10
unrecognised device identifier: /dev/input/event11
unrecognised device identifier: /dev/input/event12
Pointer option key (_source) of value (server/udev) not assigned!
Pointer option key (major) of value (13) not assigned!
Pointer option key (minor) of value (66) not assigned!
Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/event2) not assigned!
couldn't find driver for pointer device "-----" (/dev/input/event2)
Pointer option key (_source) of value (server/udev) not assigned!
Pointer option key (major) of value (13) not assigned!
Pointer option key (minor) of value (32) not assigned!
Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/mouse0) not assigned!
couldn't find driver for pointer device ""-----" (/dev/input/mouse0)
Kbd option key (_source) of value (server/udev) not assigned!
Kbd option key (major) of value (13) not assigned!
Kbd option key (minor) of value (67) not assigned!
Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.1/XXXX:XXXX:XXXX.XXXX/input/input3/event3) not assigned!
couldn't find driver for keyboard device ""-----" (/dev/input/event3)
Kbd option key (_source) of value (server/udev) not assigned!
Kbd option key (major) of value (13) not assigned!
Kbd option key (minor) of value (68) not assigned!
Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4:1.0/XXXX:XXXX:XXXX.XXXX/input/input9/event4) not assigned!
couldn't find driver for keyboard device ""-----" (/dev/input/event4)
unrecognised device identifier: /dev/input/event6
unrecognised device identifier: /dev/input/event5
unrecognised device identifier: /dev/input/event13
unrecognised device identifier: /dev/input/event14
unrecognised device identifier: /dev/input/event15
unrecognised device identifier: /dev/input/event16
unrecognised device identifier: /dev/input/event17
unrecognised device identifier: /dev/input/event18
unrecognised device identifier: /dev/input/event19
unrecognised device identifier: /dev/input/event20
unrecognised device identifier: /dev/input/event7
Couldn't find keyboard driver ephyr

*** Attaching to Xephyr display 103 ***

Parent pid 10509, child pid 10510
Child process initialized in 14.73 ms
(EE) 
(EE) Backtrace:
(EE) 0: Xephyr (0x5568875bb000+0x159689) [0x556887714689]
(EE) 1: Xephyr (0x5568875bb000+0x159792) [0x556887714792]
(EE) 2: /usr/lib/libpthread.so.0 (0x7f80d2ff8000+0x13870) [0x7f80d300b870]
(EE) 3: /usr/lib/libc.so.6 (0x7f80d2d68000+0x9ec0a) [0x7f80d2e06c0a]
(EE) 4: Xephyr (0x5568875bb000+0x12a810) [0x5568876e5810]
(EE) 5: Xephyr (0x5568875bb000+0x12b585) [0x5568876e6585]
(EE) 6: Xephyr (0x5568875bb000+0xac027) [0x556887667027]
(EE) 7: Xephyr (0x5568875bb000+0x32745) [0x5568875ed745]
(EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f80d2d8fb25]
(EE) 9: Xephyr (0x5568875bb000+0x33e5e) [0x5568875eee5e]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 

Parent received signal 15, shutting down the child process...

Child received signal 15, shutting down the sandbox...

Parent is shutting down, bye...

Output of firejail --debug --noprofile --x11=xephyr --xephyr-screen=1920x1080 -- /usr/bin/chromium

Drop privileges: pid 11561, uid 1000, gid 1000, nogroups 0

*** Starting xephyr server: "Xephyr" "-ac" "-br" "-noreset" "-screen" "1920x1080" "-keybd" "ephyr,,,xkbmodel=pc105,xkblayout=en" ":356" ***

*** Starting xephyr client: "firejail" "--debug" "--noprofile" "--xephyr-screen=1920x1080" "--" "/usr/bin/chromium" ***

xephyr server pid 11562
Starting xephyr...
Kbd option key () of value ((null)) not assigned!
unrecognised device identifier: /dev/input/event1
unrecognised device identifier: /dev/input/event0
unrecognised device identifier: /dev/input/event8
unrecognised device identifier: /dev/input/event9
unrecognised device identifier: /dev/input/event10
unrecognised device identifier: /dev/input/event11
unrecognised device identifier: /dev/input/event12
Pointer option key (_source) of value (server/udev) not assigned!
Pointer option key (major) of value (13) not assigned!
Pointer option key (minor) of value (66) not assigned!
Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/event2) not assigned!
couldn't find driver for pointer device "-----" (/dev/input/event2)
Pointer option key (_source) of value (server/udev) not assigned!
Pointer option key (major) of value (13) not assigned!
Pointer option key (minor) of value (32) not assigned!
Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/mouse0) not assigned!
couldn't find driver for pointer device "-----" (/dev/input/mouse0)
Kbd option key (_source) of value (server/udev) not assigned!
Kbd option key (major) of value (13) not assigned!
Kbd option key (minor) of value (67) not assigned!
Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.1/XXXX:XXXX:XXXX.XXXX/input/input3/event3) not assigned!
couldn't find driver for keyboard device "-----" (/dev/input/event3)
Kbd option key (_source) of value (server/udev) not assigned!
Kbd option key (major) of value (13) not assigned!
Kbd option key (minor) of value (68) not assigned!
Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4:1.0/XXXX:XXXX:XXXX.XXXX/input/input9/event4) not assigned!
couldn't find driver for keyboard device "-----" (/dev/input/event4)
unrecognised device identifier: /dev/input/event6
unrecognised device identifier: /dev/input/event5
unrecognised device identifier: /dev/input/event13
unrecognised device identifier: /dev/input/event14
unrecognised device identifier: /dev/input/event15
unrecognised device identifier: /dev/input/event16
unrecognised device identifier: /dev/input/event17
unrecognised device identifier: /dev/input/event18
unrecognised device identifier: /dev/input/event19
unrecognised device identifier: /dev/input/event20
unrecognised device identifier: /dev/input/event7
Couldn't find keyboard driver ephyr

*** Attaching to Xephyr display 356 ***

Autoselecting /bin/zsh as shell
Building quoted command line: '/usr/bin/chromium'
Command name #chromium#
DISPLAY=:356 parsed as 356
Using the local network stack
Parent pid 11565, child pid 11566
Initializing child process
Host network configured
PID namespace installed
Mounting tmpfs on /run/firejail/mnt directory
Creating empty /run/firejail/mnt/seccomp directory
Creating empty /run/firejail/mnt/seccomp/seccomp.protocol file
Creating empty /run/firejail/mnt/seccomp/seccomp.postexec file
Creating empty /run/firejail/mnt/seccomp/seccomp.postexec32 file
Mounting /proc filesystem representing the PID namespace
Basic read-only filesystem:
Mounting read-only /etc
2218 2186 254:2 /etc /etc ro,relatime master:1 - ext4 /dev/mapper/root rw
mountid=2218 fsname=/etc dir=/etc fstype=ext4
Mounting noexec /etc
2219 2218 254:2 /etc /etc ro,nosuid,nodev,noexec,relatime master:1 - ext4 /dev/mapper/root rw
mountid=2219 fsname=/etc dir=/etc fstype=ext4
Mounting read-only /var
2220 2186 254:2 /var /var ro,relatime master:1 - ext4 /dev/mapper/root rw
mountid=2220 fsname=/var dir=/var fstype=ext4
Mounting noexec /var
2221 2220 254:2 /var /var ro,nosuid,nodev,noexec,relatime master:1 - ext4 /dev/mapper/root rw
mountid=2221 fsname=/var dir=/var fstype=ext4
Mounting read-only /usr
2222 2186 254:2 /usr /usr ro,relatime master:1 - ext4 /dev/mapper/root rw
mountid=2222 fsname=/usr dir=/usr fstype=ext4
Mounting tmpfs on /var/lock
Mounting tmpfs on /var/tmp
Mounting tmpfs on /var/log
Create the new utmp file
Mount the new utmp file
Cleaning /home directory
Cleaning /run/user directory
Sanitizing /etc/passwd, UID_MIN 1000
Sanitizing /etc/group, GID_MIN 1000
Disable /home/user/.config/firejail
Disable /run/firejail/network
Disable /run/firejail/bandwidth
Disable /run/firejail/name
Disable /run/firejail/profile
Disable /run/firejail/x11
Drop privileges: pid 2, uid 1000, gid 1000, nogroups 0
Mounting a new /root directory
Drop privileges: pid 3, uid 1000, gid 1000, nogroups 0
blacklist /run/firejail/dbus
Mounting read-only /proc/sys
Remounting /sys directory
Disable /sys/firmware
Disable /sys/hypervisor
Disable /sys/power
Disable /sys/kernel/debug
Disable /sys/kernel/vmcoreinfo
Disable /proc/sys/fs/binfmt_misc
Disable /proc/sys/kernel/core_pattern
Disable /proc/sys/kernel/modprobe
Disable /proc/sysrq-trigger
Disable /proc/sys/vm/panic_on_oom
Disable /proc/irq
Disable /proc/bus
Disable /proc/timer_list
Disable /proc/kcore
Disable /proc/kallsyms
Disable /usr/lib/modules (requested /lib/modules)
Disable /boot
Disable /dev/port
Disable /run/user/1000/gnupg
Disable /run/user/1000/systemd
Disable /dev/kmsg
Disable /proc/kmsg
Disable /sys/fs
Disable /sys/module
Current directory: /home/user
DISPLAY=:356 parsed as 356
Masking all X11 sockets except /tmp/.X11-unix/X356
Mounting read-only /run/firejail/mnt/seccomp
2266 2215 0:108 /seccomp /run/firejail/mnt/seccomp ro,nosuid - tmpfs tmpfs rw,mode=755,inode64
mountid=2266 fsname=/seccomp dir=/run/firejail/mnt/seccomp fstype=tmpfs
Seccomp directory:
ls /run/firejail/mnt/seccomp
drwxr-xr-x root     root             120 .
drwxr-xr-x root     root             160 ..
-rw-r--r-- user     users            568 seccomp
-rw-r--r-- user     users            432 seccomp.32
-rw-r--r-- user     users              0 seccomp.postexec
-rw-r--r-- user     users              0 seccomp.postexec32
No active seccomp files
Drop privileges: pid 1, uid 1000, gid 1000, nogroups 0
Starting application
LD_PRELOAD=(null)
Running '/usr/bin/chromium'  command through /bin/zsh
execvp argument 0: /bin/zsh
execvp argument 1: -c
execvp argument 2: --
execvp argument 3: '/usr/bin/chromium' 
Child process initialized in 23.97 ms
monitoring pid 4

(EE) 
(EE) Backtrace:
(EE) 0: Xephyr (0x56058791f000+0x159689) [0x560587a78689]
(EE) 1: Xephyr (0x56058791f000+0x159792) [0x560587a78792]
(EE) 2: /usr/lib/libpthread.so.0 (0x7f65bd668000+0x13870) [0x7f65bd67b870]
(EE) 3: /usr/lib/libc.so.6 (0x7f65bd3d8000+0x9ec0a) [0x7f65bd476c0a]
(EE) 4: Xephyr (0x56058791f000+0x12a810) [0x560587a49810]
(EE) 5: Xephyr (0x56058791f000+0x12b585) [0x560587a4a585]
(EE) 6: Xephyr (0x56058791f000+0xac027) [0x5605879cb027]
(EE) 7: Xephyr (0x56058791f000+0x32745) [0x560587951745]
(EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f65bd3ffb25]
(EE) 9: Xephyr (0x56058791f000+0x33e5e) [0x560587952e5e]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 

Parent received signal 15, shutting down the child process...

Child received signal 15, shutting down the sandbox...

Parent is shutting down, bye...

Originally created by @SecTec on GitHub (Jan 7, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/4835 ### Description After an update of Xephyr on Arch from 21.1.2-1 to 21.1.3-1 my jailed applications using the `--x11=xephyr` option is not working anymore. It seems Xephyr crashes. ### Steps to Reproduce _Steps to reproduce the behavior_ 1. Run in ~~bash~~ zsh `firejail --noprofile --x11=xephyr --xephyr-screen=1920x1080 -- /usr/bin/chromium` 2. Scroll down. 3. See Xephyr crashing. ### Expected behavior I expected my applications are working as they did one week ago. Xephyr should start so my target application can run. ### Actual behavior Xephyr crashes and the target application can not run. ### Behavior without a profile Look above, the application was run with `--noprofile` option. ### Additional context When I try to use xephyr by myself like firejail invokes it then xephyr runns until I try to attach an application to it, then it crashes. I do not know if this is a firejail, xephyr or an OS issue. When I modify the command to run xephyr I can run the application but the mouse pointer and the keyboard are not working. Xephyr crashes: `Xephyr -ac -br -noreset -screen 1920x1080 -keybd ephyr,,,xkbmodel=pc105,xkblayout=en :103` `DISPLAY=:103 firejail --noprofile -- /usr/bin/chromium` Xephyr works: `Xephyr -ac -br -noreset -screen 1920x1080 :103` `DISPLAY=:103 firejail --noprofile -- /usr/bin/chromium` ### Environment OS: Arch Linux `firejail 0.9.66-3` `xorg-server-xephyr 21.1.3-1` `xorg-server-xephyr 21.1.2-1` this worked some days ago ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [X] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [X] I can reproduce the issue without custom modifications (e.g. globals.local). - [X] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [X] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [X] I have performed a short search for similar issues (to avoid opening a duplicate). - [X] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [X] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log <details> <summary>Output of <code>firejail --noprofile --x11=xephyr --xephyr-screen=1920x1080 -- /usr/bin/chromium</code></summary> <p> ``` *** Starting xephyr server: "Xephyr" "-ac" "-br" "-noreset" "-screen" "1920x1080" "-keybd" "ephyr,,,xkbmodel=pc105,xkblayout=en" ":103" *** Kbd option key () of value ((null)) not assigned! unrecognised device identifier: /dev/input/event1 unrecognised device identifier: /dev/input/event0 unrecognised device identifier: /dev/input/event8 unrecognised device identifier: /dev/input/event9 unrecognised device identifier: /dev/input/event10 unrecognised device identifier: /dev/input/event11 unrecognised device identifier: /dev/input/event12 Pointer option key (_source) of value (server/udev) not assigned! Pointer option key (major) of value (13) not assigned! Pointer option key (minor) of value (66) not assigned! Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/event2) not assigned! couldn't find driver for pointer device "-----" (/dev/input/event2) Pointer option key (_source) of value (server/udev) not assigned! Pointer option key (major) of value (13) not assigned! Pointer option key (minor) of value (32) not assigned! Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/mouse0) not assigned! couldn't find driver for pointer device ""-----" (/dev/input/mouse0) Kbd option key (_source) of value (server/udev) not assigned! Kbd option key (major) of value (13) not assigned! Kbd option key (minor) of value (67) not assigned! Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.1/XXXX:XXXX:XXXX.XXXX/input/input3/event3) not assigned! couldn't find driver for keyboard device ""-----" (/dev/input/event3) Kbd option key (_source) of value (server/udev) not assigned! Kbd option key (major) of value (13) not assigned! Kbd option key (minor) of value (68) not assigned! Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4:1.0/XXXX:XXXX:XXXX.XXXX/input/input9/event4) not assigned! couldn't find driver for keyboard device ""-----" (/dev/input/event4) unrecognised device identifier: /dev/input/event6 unrecognised device identifier: /dev/input/event5 unrecognised device identifier: /dev/input/event13 unrecognised device identifier: /dev/input/event14 unrecognised device identifier: /dev/input/event15 unrecognised device identifier: /dev/input/event16 unrecognised device identifier: /dev/input/event17 unrecognised device identifier: /dev/input/event18 unrecognised device identifier: /dev/input/event19 unrecognised device identifier: /dev/input/event20 unrecognised device identifier: /dev/input/event7 Couldn't find keyboard driver ephyr *** Attaching to Xephyr display 103 *** Parent pid 10509, child pid 10510 Child process initialized in 14.73 ms (EE) (EE) Backtrace: (EE) 0: Xephyr (0x5568875bb000+0x159689) [0x556887714689] (EE) 1: Xephyr (0x5568875bb000+0x159792) [0x556887714792] (EE) 2: /usr/lib/libpthread.so.0 (0x7f80d2ff8000+0x13870) [0x7f80d300b870] (EE) 3: /usr/lib/libc.so.6 (0x7f80d2d68000+0x9ec0a) [0x7f80d2e06c0a] (EE) 4: Xephyr (0x5568875bb000+0x12a810) [0x5568876e5810] (EE) 5: Xephyr (0x5568875bb000+0x12b585) [0x5568876e6585] (EE) 6: Xephyr (0x5568875bb000+0xac027) [0x556887667027] (EE) 7: Xephyr (0x5568875bb000+0x32745) [0x5568875ed745] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f80d2d8fb25] (EE) 9: Xephyr (0x5568875bb000+0x33e5e) [0x5568875eee5e] (EE) (EE) Segmentation fault at address 0x0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE) Parent received signal 15, shutting down the child process... Child received signal 15, shutting down the sandbox... Parent is shutting down, bye... ``` </p> </details> <details> <summary>Output of <code>firejail --debug --noprofile --x11=xephyr --xephyr-screen=1920x1080 -- /usr/bin/chromium</code></summary> <p> ``` Drop privileges: pid 11561, uid 1000, gid 1000, nogroups 0 *** Starting xephyr server: "Xephyr" "-ac" "-br" "-noreset" "-screen" "1920x1080" "-keybd" "ephyr,,,xkbmodel=pc105,xkblayout=en" ":356" *** *** Starting xephyr client: "firejail" "--debug" "--noprofile" "--xephyr-screen=1920x1080" "--" "/usr/bin/chromium" *** xephyr server pid 11562 Starting xephyr... Kbd option key () of value ((null)) not assigned! unrecognised device identifier: /dev/input/event1 unrecognised device identifier: /dev/input/event0 unrecognised device identifier: /dev/input/event8 unrecognised device identifier: /dev/input/event9 unrecognised device identifier: /dev/input/event10 unrecognised device identifier: /dev/input/event11 unrecognised device identifier: /dev/input/event12 Pointer option key (_source) of value (server/udev) not assigned! Pointer option key (major) of value (13) not assigned! Pointer option key (minor) of value (66) not assigned! Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/event2) not assigned! couldn't find driver for pointer device "-----" (/dev/input/event2) Pointer option key (_source) of value (server/udev) not assigned! Pointer option key (major) of value (13) not assigned! Pointer option key (minor) of value (32) not assigned! Pointer option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.0/XXXX:XXXX:XXXX.XXXX/input/input2/mouse0) not assigned! couldn't find driver for pointer device "-----" (/dev/input/mouse0) Kbd option key (_source) of value (server/udev) not assigned! Kbd option key (major) of value (13) not assigned! Kbd option key (minor) of value (67) not assigned! Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.3/1-4.3:1.1/XXXX:XXXX:XXXX.XXXX/input/input3/event3) not assigned! couldn't find driver for keyboard device "-----" (/dev/input/event3) Kbd option key (_source) of value (server/udev) not assigned! Kbd option key (major) of value (13) not assigned! Kbd option key (minor) of value (68) not assigned! Kbd option key (config_info) of value (udev:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.4/1-4.4:1.0/XXXX:XXXX:XXXX.XXXX/input/input9/event4) not assigned! couldn't find driver for keyboard device "-----" (/dev/input/event4) unrecognised device identifier: /dev/input/event6 unrecognised device identifier: /dev/input/event5 unrecognised device identifier: /dev/input/event13 unrecognised device identifier: /dev/input/event14 unrecognised device identifier: /dev/input/event15 unrecognised device identifier: /dev/input/event16 unrecognised device identifier: /dev/input/event17 unrecognised device identifier: /dev/input/event18 unrecognised device identifier: /dev/input/event19 unrecognised device identifier: /dev/input/event20 unrecognised device identifier: /dev/input/event7 Couldn't find keyboard driver ephyr *** Attaching to Xephyr display 356 *** Autoselecting /bin/zsh as shell Building quoted command line: '/usr/bin/chromium' Command name #chromium# DISPLAY=:356 parsed as 356 Using the local network stack Parent pid 11565, child pid 11566 Initializing child process Host network configured PID namespace installed Mounting tmpfs on /run/firejail/mnt directory Creating empty /run/firejail/mnt/seccomp directory Creating empty /run/firejail/mnt/seccomp/seccomp.protocol file Creating empty /run/firejail/mnt/seccomp/seccomp.postexec file Creating empty /run/firejail/mnt/seccomp/seccomp.postexec32 file Mounting /proc filesystem representing the PID namespace Basic read-only filesystem: Mounting read-only /etc 2218 2186 254:2 /etc /etc ro,relatime master:1 - ext4 /dev/mapper/root rw mountid=2218 fsname=/etc dir=/etc fstype=ext4 Mounting noexec /etc 2219 2218 254:2 /etc /etc ro,nosuid,nodev,noexec,relatime master:1 - ext4 /dev/mapper/root rw mountid=2219 fsname=/etc dir=/etc fstype=ext4 Mounting read-only /var 2220 2186 254:2 /var /var ro,relatime master:1 - ext4 /dev/mapper/root rw mountid=2220 fsname=/var dir=/var fstype=ext4 Mounting noexec /var 2221 2220 254:2 /var /var ro,nosuid,nodev,noexec,relatime master:1 - ext4 /dev/mapper/root rw mountid=2221 fsname=/var dir=/var fstype=ext4 Mounting read-only /usr 2222 2186 254:2 /usr /usr ro,relatime master:1 - ext4 /dev/mapper/root rw mountid=2222 fsname=/usr dir=/usr fstype=ext4 Mounting tmpfs on /var/lock Mounting tmpfs on /var/tmp Mounting tmpfs on /var/log Create the new utmp file Mount the new utmp file Cleaning /home directory Cleaning /run/user directory Sanitizing /etc/passwd, UID_MIN 1000 Sanitizing /etc/group, GID_MIN 1000 Disable /home/user/.config/firejail Disable /run/firejail/network Disable /run/firejail/bandwidth Disable /run/firejail/name Disable /run/firejail/profile Disable /run/firejail/x11 Drop privileges: pid 2, uid 1000, gid 1000, nogroups 0 Mounting a new /root directory Drop privileges: pid 3, uid 1000, gid 1000, nogroups 0 blacklist /run/firejail/dbus Mounting read-only /proc/sys Remounting /sys directory Disable /sys/firmware Disable /sys/hypervisor Disable /sys/power Disable /sys/kernel/debug Disable /sys/kernel/vmcoreinfo Disable /proc/sys/fs/binfmt_misc Disable /proc/sys/kernel/core_pattern Disable /proc/sys/kernel/modprobe Disable /proc/sysrq-trigger Disable /proc/sys/vm/panic_on_oom Disable /proc/irq Disable /proc/bus Disable /proc/timer_list Disable /proc/kcore Disable /proc/kallsyms Disable /usr/lib/modules (requested /lib/modules) Disable /boot Disable /dev/port Disable /run/user/1000/gnupg Disable /run/user/1000/systemd Disable /dev/kmsg Disable /proc/kmsg Disable /sys/fs Disable /sys/module Current directory: /home/user DISPLAY=:356 parsed as 356 Masking all X11 sockets except /tmp/.X11-unix/X356 Mounting read-only /run/firejail/mnt/seccomp 2266 2215 0:108 /seccomp /run/firejail/mnt/seccomp ro,nosuid - tmpfs tmpfs rw,mode=755,inode64 mountid=2266 fsname=/seccomp dir=/run/firejail/mnt/seccomp fstype=tmpfs Seccomp directory: ls /run/firejail/mnt/seccomp drwxr-xr-x root root 120 . drwxr-xr-x root root 160 .. -rw-r--r-- user users 568 seccomp -rw-r--r-- user users 432 seccomp.32 -rw-r--r-- user users 0 seccomp.postexec -rw-r--r-- user users 0 seccomp.postexec32 No active seccomp files Drop privileges: pid 1, uid 1000, gid 1000, nogroups 0 Starting application LD_PRELOAD=(null) Running '/usr/bin/chromium' command through /bin/zsh execvp argument 0: /bin/zsh execvp argument 1: -c execvp argument 2: -- execvp argument 3: '/usr/bin/chromium' Child process initialized in 23.97 ms monitoring pid 4 (EE) (EE) Backtrace: (EE) 0: Xephyr (0x56058791f000+0x159689) [0x560587a78689] (EE) 1: Xephyr (0x56058791f000+0x159792) [0x560587a78792] (EE) 2: /usr/lib/libpthread.so.0 (0x7f65bd668000+0x13870) [0x7f65bd67b870] (EE) 3: /usr/lib/libc.so.6 (0x7f65bd3d8000+0x9ec0a) [0x7f65bd476c0a] (EE) 4: Xephyr (0x56058791f000+0x12a810) [0x560587a49810] (EE) 5: Xephyr (0x56058791f000+0x12b585) [0x560587a4a585] (EE) 6: Xephyr (0x56058791f000+0xac027) [0x5605879cb027] (EE) 7: Xephyr (0x56058791f000+0x32745) [0x560587951745] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f65bd3ffb25] (EE) 9: Xephyr (0x56058791f000+0x33e5e) [0x560587952e5e] (EE) (EE) Segmentation fault at address 0x0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE) Parent received signal 15, shutting down the child process... Child received signal 15, shutting down the sandbox... Parent is shutting down, bye... ``` </p> </details>
gitea-mirror 2026-05-05 09:26:45 -06:00
  • closed this issue
  • added the
    notourbug
    label
Author
Owner

@rusty-snake commented on GitHub (Jan 7, 2022):

Maybe related #4794

<!-- gh-comment-id:1007289841 --> @rusty-snake commented on GitHub (Jan 7, 2022): Maybe related #4794
Author
Owner

@ghost commented on GitHub (Jan 7, 2022):

When I modify the command to run xephyr I can run the application but the mouse pointer and the keyboard are not working.

On the Arch Linux bugtracker someone reported similar issues:
FS#73274 - [xorg-server-xephyr] does not recognize input devices, window not drawing. IMO this is not a firejail issue.

<!-- gh-comment-id:1007309749 --> @ghost commented on GitHub (Jan 7, 2022): > When I modify the command to run xephyr I can run the application but the mouse pointer and the keyboard are not working. On the Arch Linux bugtracker someone reported similar issues: [FS#73274 - [xorg-server-xephyr] does not recognize input devices, window not drawing](https://bugs.archlinux.org/task/73274). IMO this is not a firejail issue.
Author
Owner

@netblue30 commented on GitHub (Feb 3, 2022):

closing it for now. Will reopen if necessary.

<!-- gh-comment-id:1029042282 --> @netblue30 commented on GitHub (Feb 3, 2022): closing it for now. Will reopen if necessary.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2788
No description provided.