[GH-ISSUE #1579] Keyboard blocked on Ubuntu 17.10 beta #1051

Closed
opened 2026-05-05 07:22:01 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @derba on GitHub (Sep 26, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1579

Hi,

I have a fresh new Ubuntu 17.10 install. All default + Chromium + vlc + Firejail installed. Then I run sudo firecfg.

When I run GUI apps such as Firefox, Chromium, Rhythmbox, Libreoffice Writer then mouse works, but keyboard does not. On clicking any favourite web pages in my browsers I get error saying that I have no network connection.

If I run sudo firecfg --clean and run firejail firefox manually, the result is the same and I cannot find too much valuable printout, but this:

$ firejail chromium-browser
Reading profile /etc/firejail/chromium-browser.profile
Reading profile /etc/firejail/chromium.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 5155, child pid 5156
Child process initialized in 49.92 ms
/usr/bin/chromium-browser: sor: 85: /dev/fd/62: Nincs ilyen fájl vagy könyvtár <-- line 85; No such file or directory
[1:14:0926/201827.358696:ERROR:adm_helpers.cc(62)] Failed to query stereo recording.

(chromium-browser:6): IBUS-WARNING **: Unable to connect to ibus: Nem sikerült kapcsolódni: Kapcsolat elutasítva <-- Unable to connect: Connection refused

Parent is shutting down, bye...

My system is Hungarian <-- I added translation.

In syslog I found a few messages about LibreOffice, though most of them may not be related:

Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/libreoffice.profile
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-common.inc
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-devel.inc
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-passwdmgr.inc
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-programs.inc
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Blacklist violations are logged to syslog
Sep 26 20:08:12 Lapi firejail[17]: blacklist violation - sandbox 4953, exe javaldx, syscall access, path /usr/sbin
Sep 26 20:08:12 Lapi firejail[17]: message repeated 5 times: [ blacklist violation - sandbox 4953, exe javaldx, syscall access, path /usr/sbin]
Sep 26 20:08:12 Lapi firejail[17]: blacklist violation - sandbox 4953, exe javaldx, syscall access, path /sbin
Sep 26 20:08:12 Lapi firejail[17]: message repeated 5 times: [ blacklist violation - sandbox 4953, exe javaldx, syscall access, path /sbin]
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: #033]0;firejail /usr/bin/libreoffice --writer #007javaldx: Could not find a Java Runtime Environment!
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Please ensure that a JVM and the package libreoffice-java-common
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: is installed.
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml
Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Warning: failed to read path from javaldx
Sep 26 20:08:13 Lapi libreoffice-writer.desktop[4953]: (soffice:20): IBUS-WARNING **: Unable to connect to ibus: Nem sikerült kapcsolódni: Kapcsolat elutasítva
Sep 26 20:08:14 Lapi libreoffice-writer.desktop[4953]: (soffice:30): IBUS-WARNING **: Unable to connect to ibus: Nem sikerült kapcsolódni: Kapcsolat elutasítva
Sep 26 20:08:21 Lapi libreoffice-writer.desktop[4953]: Parent pid 4953, child pid 4955
Sep 26 20:08:21 Lapi libreoffice-writer.desktop[4953]: Parent is shutting down, bye...

IBUS warning is visible here, too.

Originally created by @derba on GitHub (Sep 26, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1579 Hi, I have a fresh new Ubuntu 17.10 install. All default + Chromium + vlc + Firejail installed. Then I run `sudo firecfg`. When I run GUI apps such as Firefox, Chromium, Rhythmbox, Libreoffice Writer then mouse works, but keyboard does not. On clicking any favourite web pages in my browsers I get error saying that I have no network connection. If I run `sudo firecfg --clean` and run `firejail firefox` manually, the result is the same and I cannot find too much valuable printout, but this: ``` $ firejail chromium-browser Reading profile /etc/firejail/chromium-browser.profile Reading profile /etc/firejail/chromium.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Parent pid 5155, child pid 5156 Child process initialized in 49.92 ms /usr/bin/chromium-browser: sor: 85: /dev/fd/62: Nincs ilyen fájl vagy könyvtár <-- line 85; No such file or directory [1:14:0926/201827.358696:ERROR:adm_helpers.cc(62)] Failed to query stereo recording. (chromium-browser:6): IBUS-WARNING **: Unable to connect to ibus: Nem sikerült kapcsolódni: Kapcsolat elutasítva <-- Unable to connect: Connection refused Parent is shutting down, bye... ``` My system is Hungarian <-- I added translation. In syslog I found a few messages about LibreOffice, though most of them may not be related: ``` Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/libreoffice.profile Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-common.inc Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-devel.inc Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-passwdmgr.inc Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Reading profile /etc/firejail/disable-programs.inc Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Blacklist violations are logged to syslog Sep 26 20:08:12 Lapi firejail[17]: blacklist violation - sandbox 4953, exe javaldx, syscall access, path /usr/sbin Sep 26 20:08:12 Lapi firejail[17]: message repeated 5 times: [ blacklist violation - sandbox 4953, exe javaldx, syscall access, path /usr/sbin] Sep 26 20:08:12 Lapi firejail[17]: blacklist violation - sandbox 4953, exe javaldx, syscall access, path /sbin Sep 26 20:08:12 Lapi firejail[17]: message repeated 5 times: [ blacklist violation - sandbox 4953, exe javaldx, syscall access, path /sbin] Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: #033]0;firejail /usr/bin/libreoffice --writer #007javaldx: Could not find a Java Runtime Environment! Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Please ensure that a JVM and the package libreoffice-java-common Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: is installed. Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Sep 26 20:08:12 Lapi libreoffice-writer.desktop[4953]: Warning: failed to read path from javaldx Sep 26 20:08:13 Lapi libreoffice-writer.desktop[4953]: (soffice:20): IBUS-WARNING **: Unable to connect to ibus: Nem sikerült kapcsolódni: Kapcsolat elutasítva Sep 26 20:08:14 Lapi libreoffice-writer.desktop[4953]: (soffice:30): IBUS-WARNING **: Unable to connect to ibus: Nem sikerült kapcsolódni: Kapcsolat elutasítva Sep 26 20:08:21 Lapi libreoffice-writer.desktop[4953]: Parent pid 4953, child pid 4955 Sep 26 20:08:21 Lapi libreoffice-writer.desktop[4953]: Parent is shutting down, bye... ``` IBUS warning is visible here, too.
gitea-mirror 2026-05-05 07:22:01 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Sep 28, 2017):

Probably our IBUS handling is broken!

<!-- gh-comment-id:332817044 --> @netblue30 commented on GitHub (Sep 28, 2017): Probably our IBUS handling is broken!
Author
Owner

@hlieberman commented on GitHub (Oct 14, 2017):

Yup; looks like there was a regression here. I see the same behavior in Firefox and Chrome now that I didn't see previously.

<!-- gh-comment-id:336594471 --> @hlieberman commented on GitHub (Oct 14, 2017): Yup; looks like there was a regression here. I see the same behavior in Firefox and Chrome now that I didn't see previously.
Author
Owner

@derba commented on GitHub (Nov 5, 2017):

I inserted return; line to the beginning of env_ibus_load() and it works fine. Alternatively I could comment out env_store() call (obviously, as the rest of the function is just parsing).

Unfortunately I have no idea how such change affects the security of my system.

<!-- gh-comment-id:342007731 --> @derba commented on GitHub (Nov 5, 2017): I inserted `return;` line to the beginning of `env_ibus_load()` and it works fine. Alternatively I could comment out `env_store()` call (obviously, as the rest of the function is just parsing). Unfortunately I have no idea how such change affects the security of my system.
Author
Owner

@rquax commented on GitHub (Mar 5, 2018):

I had the exact same issue (keyboard doesn't work except in terminal and login; mouse works, upgraded to 17.10) and tried many things this morning. However your mentioning of firejail reminded me that that was one of the last things I installed. I simply removed it, along with fwupd, and now I can type again! Hope this helps anyone.

<!-- gh-comment-id:370408011 --> @rquax commented on GitHub (Mar 5, 2018): I had the exact same issue (keyboard doesn't work except in terminal and login; mouse works, upgraded to 17.10) and tried many things this morning. However your mentioning of firejail reminded me that that was one of the last things I installed. I simply removed it, along with fwupd, and now I can type again! Hope this helps anyone.
Author
Owner

@Fred-Barclay commented on GitHub (Apr 19, 2018):

G'day @derba Are you still seeing this problem?
If so, can you try https://github.com/netblue30/firejail/issues/1810#issuecomment-382586391 ?
Thanks!
Fred

<!-- gh-comment-id:382598279 --> @Fred-Barclay commented on GitHub (Apr 19, 2018): G'day @derba Are you still seeing this problem? If so, can you try https://github.com/netblue30/firejail/issues/1810#issuecomment-382586391 ? Thanks! Fred
Author
Owner

@derba commented on GitHub (May 1, 2018):

I moved to Ubuntu 18.04. This issue does not pop up, anymore. Tried firejail package by Ubuntu and the latest master, too.

<!-- gh-comment-id:385640676 --> @derba commented on GitHub (May 1, 2018): I moved to Ubuntu 18.04. This issue does not pop up, anymore. Tried firejail package by Ubuntu and the latest master, too.
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#1051
No description provided.