[GH-ISSUE #1728] No window bar options using gimp #1170

Closed
opened 2026-05-05 07:34:53 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @thiswillbeyourgithub on GitHub (Jan 13, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1728

Hey netblue :)

I didn't find a similar previous issue, I hope I didn't miss it :)

I never changed the default config for gimp, only added one plugin and I noticed that running Gimp 2.8 with the default firejail profile seems to have a major issue, that is only resolved using firejail --noprofile /usr/bin/gimp-2.8.

The issue is that there is no "menu options" in the app bar. Let me put a picture :
screen
To the left : gimp with firejail, to the right : gimp with --noprofile. As you can see at the top of the right window I can get those options. They are seemingly out of reach with firejail (left one) which makes gimp pretty unusable : even the unity dash can't access them (alt shortcut)

Firejail version : 0.9.52, gimp version : 2.8.16, ubuntu 16 with unity

I'll post below the terminal output of the two launch. This might have to do with authorizing plugins for gimp, or this might be a different issue alltogether (see bold text below). Of course let me know if I can be of any help.

Here is the one with the regular firejail profile (I removed the blank lines)

[11:52]USER gimp-2.8
Reading profile /usr/local/etc/firejail/gimp-2.8.profile
Reading profile /usr/local/etc/firejail/gimp.profile
Reading profile /usr/local/etc/firejail/disable-common.inc
Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc
Reading profile /usr/local/etc/firejail/disable-programs.inc
Reading profile /usr/local/etc/firejail/whitelist-var-common.inc
Parent pid 6142, child pid 6143
Child process initialized in 46.02 ms
** (gimp-2.8:4): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-YR5YLCwCsY: Connection refused
Could not connect: Connection refused
(gimp-2.8:4): GLib-GObject-WARNING **: g_object_set_valist: object class 'GeglConfig' has no property named 'cache-size'
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA1330 from "gimp:point-layer-mode" to "gimp:dissolve-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA1800 from "gimp:point-layer-mode" to "gimp:behind-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA1E60 from "gimp:point-layer-mode" to "gimp:multiply-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2250 from "gimp:point-layer-mode" to "gimp:screen-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2620 from "gimp:point-layer-mode" to "gimp:overlay-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2A50 from "gimp:point-layer-mode" to "gimp:difference-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2E10 from "gimp:point-layer-mode" to "gimp:addition-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3250 from "gimp:point-layer-mode" to "gimp:subtract-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3640 from "gimp:point-layer-mode" to "gimp:darken-only-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3A90 from "gimp:point-layer-mode" to "gimp:lighten-only-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3ED0 from "gimp:point-layer-mode" to "gimp:hue-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA4190 from "gimp:point-layer-mode" to "gimp:saturation-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA4E60 from "gimp:point-layer-mode" to "gimp:color-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5250 from "gimp:point-layer-mode" to "gimp:value-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5640 from "gimp:point-layer-mode" to "gimp:divide-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5AC0 from "gimp:point-layer-mode" to "gimp:dodge-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5EB0 from "gimp:point-layer-mode" to "gimp:burn-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA62E0 from "gimp:point-layer-mode" to "gimp:hardlight-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA66A0 from "gimp:point-layer-mode" to "gimp:softlight-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA6AE0 from "gimp:point-layer-mode" to "gimp:grain-extract-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA6EA0 from "gimp:point-layer-mode" to "gimp:grain-merge-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7190 from "gimp:point-layer-mode" to "gimp:color-erase-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7530 from "gimp:point-layer-mode" to "gimp:erase-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7950 from "gimp:point-layer-mode" to "gimp:replace-mode"
(gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7D20 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"
Failed to connect to socket /tmp/dbus-0MUjuYt9Gd: Connection refused
(gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GIMP-Error: Unable to run plug-in "quiteinsanegimpplugin-0.3"
(/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3)
Failed to execute child process "/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3" (Permission denied)

(gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Parent is shutting down, bye...

And the one with --noprofile

[11:52]USER firejail --noprofile /usr/bin/gimp-2.8
Parent pid 6187, child pid 6188
Child process initialized in 18.53 ms
(gimp-2.8:2): GLib-GObject-WARNING **: g_object_set_valist: object class 'GeglConfig' has no property named 'cache-size'
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F85ED0 from "gimp:point-layer-mode" to "gimp:dissolve-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F863A0 from "gimp:point-layer-mode" to "gimp:behind-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F86A20 from "gimp:point-layer-mode" to "gimp:multiply-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F86E10 from "gimp:point-layer-mode" to "gimp:screen-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F871E0 from "gimp:point-layer-mode" to "gimp:overlay-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F87610 from "gimp:point-layer-mode" to "gimp:difference-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F879D0 from "gimp:point-layer-mode" to "gimp:addition-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F87E10 from "gimp:point-layer-mode" to "gimp:subtract-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88200 from "gimp:point-layer-mode" to "gimp:darken-only-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88650 from "gimp:point-layer-mode" to "gimp:lighten-only-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88A90 from "gimp:point-layer-mode" to "gimp:hue-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88DF0 from "gimp:point-layer-mode" to "gimp:saturation-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89250 from "gimp:point-layer-mode" to "gimp:color-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89640 from "gimp:point-layer-mode" to "gimp:value-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89A30 from "gimp:point-layer-mode" to "gimp:divide-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89EB0 from "gimp:point-layer-mode" to "gimp:dodge-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8A190 from "gimp:point-layer-mode" to "gimp:burn-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8AE10 from "gimp:point-layer-mode" to "gimp:hardlight-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8B200 from "gimp:point-layer-mode" to "gimp:softlight-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8B640 from "gimp:point-layer-mode" to "gimp:grain-extract-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8BA00 from "gimp:point-layer-mode" to "gimp:grain-merge-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8BE50 from "gimp:point-layer-mode" to "gimp:color-erase-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8C100 from "gimp:point-layer-mode" to "gimp:erase-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8C520 from "gimp:point-layer-mode" to "gimp:replace-mode"
(gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8C8F0 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"
GIMP-Error: Unable to run plug-in "quiteinsanegimpplugin-0.3"
(/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3)
Failed to execute child process "/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3" (Permission denied)

^C
Parent received signal 2, shutting down the child process...
Parent is shutting down, bye...
/usr/lib/gimp/2.0/plug-ins/script-fu terminated: Interrupt
Child received signal 15, shutting down the sandbox...
/usr/bin/gimp-2.8: terminated: Interrupt
[11:53]USER /usr/bin/gimp-2.8: terminated: Terminated

Originally created by @thiswillbeyourgithub on GitHub (Jan 13, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1728 Hey netblue :) I didn't find a similar previous issue, I hope I didn't miss it :) I never changed the default config for gimp, only added one plugin and I noticed that running Gimp 2.8 with the default firejail profile seems to have a major issue, that is only resolved using `firejail --noprofile /usr/bin/gimp-2.8`. The issue is that there is no "menu options" in the app bar. Let me put a picture : ![screen](https://user-images.githubusercontent.com/26625900/34905386-6d471fa0-f84f-11e7-9ebf-bae6ffded920.jpg) To the left : gimp with firejail, to the right : gimp with --noprofile. As you can see at the top of the right window I can get those options. They are seemingly out of reach with firejail (left one) which makes gimp pretty unusable : even the unity dash can't access them (alt shortcut) Firejail version : 0.9.52, gimp version : 2.8.16, ubuntu 16 with unity I'll post below the terminal output of the two launch. This might have to do with authorizing plugins for gimp, or this might be a different issue alltogether (see bold text below). Of course let me know if I can be of any help. Here is the one with the regular firejail profile (I removed the blank lines) >[11:52]USER gimp-2.8 Reading profile /usr/local/etc/firejail/gimp-2.8.profile Reading profile /usr/local/etc/firejail/gimp.profile Reading profile /usr/local/etc/firejail/disable-common.inc Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc Reading profile /usr/local/etc/firejail/disable-programs.inc Reading profile /usr/local/etc/firejail/whitelist-var-common.inc Parent pid 6142, child pid 6143 Child process initialized in 46.02 ms ** (gimp-2.8:4): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-YR5YLCwCsY: Connection refused Could not connect: Connection refused (gimp-2.8:4): GLib-GObject-WARNING **: g_object_set_valist: object class 'GeglConfig' has no property named 'cache-size' (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA1330 from "gimp:point-layer-mode" to "gimp:dissolve-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA1800 from "gimp:point-layer-mode" to "gimp:behind-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA1E60 from "gimp:point-layer-mode" to "gimp:multiply-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2250 from "gimp:point-layer-mode" to "gimp:screen-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2620 from "gimp:point-layer-mode" to "gimp:overlay-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2A50 from "gimp:point-layer-mode" to "gimp:difference-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA2E10 from "gimp:point-layer-mode" to "gimp:addition-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3250 from "gimp:point-layer-mode" to "gimp:subtract-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3640 from "gimp:point-layer-mode" to "gimp:darken-only-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3A90 from "gimp:point-layer-mode" to "gimp:lighten-only-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA3ED0 from "gimp:point-layer-mode" to "gimp:hue-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA4190 from "gimp:point-layer-mode" to "gimp:saturation-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA4E60 from "gimp:point-layer-mode" to "gimp:color-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5250 from "gimp:point-layer-mode" to "gimp:value-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5640 from "gimp:point-layer-mode" to "gimp:divide-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5AC0 from "gimp:point-layer-mode" to "gimp:dodge-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA5EB0 from "gimp:point-layer-mode" to "gimp:burn-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA62E0 from "gimp:point-layer-mode" to "gimp:hardlight-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA66A0 from "gimp:point-layer-mode" to "gimp:softlight-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA6AE0 from "gimp:point-layer-mode" to "gimp:grain-extract-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA6EA0 from "gimp:point-layer-mode" to "gimp:grain-merge-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7190 from "gimp:point-layer-mode" to "gimp:color-erase-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7530 from "gimp:point-layer-mode" to "gimp:erase-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7950 from "gimp:point-layer-mode" to "gimp:replace-mode" (gimp-2.8:4): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1AA7D20 from "gimp:point-layer-mode" to "gimp:anti-erase-mode" Failed to connect to socket /tmp/dbus-0MUjuYt9Gd: Connection refused (gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed (gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed (gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed **GIMP-Error: Unable to run plug-in "quiteinsanegimpplugin-0.3" (/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3) Failed to execute child process "/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3" (Permission denied)** (gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed (gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed (gimp-2.8:4): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Parent is shutting down, bye... And the one with --noprofile >[11:52]USER firejail --noprofile /usr/bin/gimp-2.8 Parent pid 6187, child pid 6188 Child process initialized in 18.53 ms (gimp-2.8:2): GLib-GObject-WARNING **: g_object_set_valist: object class 'GeglConfig' has no property named 'cache-size' (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F85ED0 from "gimp:point-layer-mode" to "gimp:dissolve-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F863A0 from "gimp:point-layer-mode" to "gimp:behind-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F86A20 from "gimp:point-layer-mode" to "gimp:multiply-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F86E10 from "gimp:point-layer-mode" to "gimp:screen-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F871E0 from "gimp:point-layer-mode" to "gimp:overlay-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F87610 from "gimp:point-layer-mode" to "gimp:difference-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F879D0 from "gimp:point-layer-mode" to "gimp:addition-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F87E10 from "gimp:point-layer-mode" to "gimp:subtract-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88200 from "gimp:point-layer-mode" to "gimp:darken-only-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88650 from "gimp:point-layer-mode" to "gimp:lighten-only-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88A90 from "gimp:point-layer-mode" to "gimp:hue-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F88DF0 from "gimp:point-layer-mode" to "gimp:saturation-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89250 from "gimp:point-layer-mode" to "gimp:color-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89640 from "gimp:point-layer-mode" to "gimp:value-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89A30 from "gimp:point-layer-mode" to "gimp:divide-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F89EB0 from "gimp:point-layer-mode" to "gimp:dodge-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8A190 from "gimp:point-layer-mode" to "gimp:burn-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8AE10 from "gimp:point-layer-mode" to "gimp:hardlight-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8B200 from "gimp:point-layer-mode" to "gimp:softlight-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8B640 from "gimp:point-layer-mode" to "gimp:grain-extract-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8BA00 from "gimp:point-layer-mode" to "gimp:grain-merge-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8BE50 from "gimp:point-layer-mode" to "gimp:color-erase-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8C100 from "gimp:point-layer-mode" to "gimp:erase-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8C520 from "gimp:point-layer-mode" to "gimp:replace-mode" (gimp-2.8:2): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x1F8C8F0 from "gimp:point-layer-mode" to "gimp:anti-erase-mode" **GIMP-Error: Unable to run plug-in "quiteinsanegimpplugin-0.3" (/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3) Failed to execute child process "/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3" (Permission denied)** ^C Parent received signal 2, shutting down the child process... Parent is shutting down, bye... /usr/lib/gimp/2.0/plug-ins/script-fu terminated: Interrupt Child received signal 15, shutting down the sandbox... /usr/bin/gimp-2.8: terminated: Interrupt [11:53]USER /usr/bin/gimp-2.8: terminated: Terminated
Author
Owner

@SkewedZeppelin commented on GitHub (Jan 13, 2018):

Could you comment "blacklist /run/user/*/bus" and "private-tmp" in /etc/firejail/gimp.profile and see if either fixes it?

<!-- gh-comment-id:357438395 --> @SkewedZeppelin commented on GitHub (Jan 13, 2018): Could you comment "blacklist /run/user/*/bus" and "private-tmp" in /etc/firejail/gimp.profile and see if either fixes it?
Author
Owner

@thiswillbeyourgithub commented on GitHub (Jan 13, 2018):

  • private-tmp was already commented (I tried uncommenting it for testing and it didn't solve anything)

  • there is no blacklist /run/user/*/bus line anywhere. Doing cat /etc/firejail/*|grep 'blacklist /run/user returned nothing...

<!-- gh-comment-id:357441164 --> @thiswillbeyourgithub commented on GitHub (Jan 13, 2018): * private-tmp was already commented (I tried uncommenting it for testing and it didn't solve anything) * there is no `blacklist /run/user/*/bus` line anywhere. Doing `cat /etc/firejail/*|grep 'blacklist /run/user` returned nothing...
Author
Owner

@Fred-Barclay commented on GitHub (Jan 13, 2018):

I believe the error is in the line net none (at least, I'm getting the same error on my Ubuntu 16.04 virtual machine when this line is active). Can you comment it out and see if the titlebar is visible afterwards?

<!-- gh-comment-id:357454559 --> @Fred-Barclay commented on GitHub (Jan 13, 2018): I believe the error is in the line `net none` (at least, I'm getting the same error on my Ubuntu 16.04 virtual machine when this line is active). Can you comment it out and see if the titlebar is visible afterwards?
Author
Owner

@thiswillbeyourgithub commented on GitHub (Jan 13, 2018):

I don't have this line.
My profile is like that, is that an issue ?

# gimp
noblacklist ${HOME}/.gimp*
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-passwdmgr.inc

caps.drop all
netfilter
nonewprivs
noroot
protocol unix
seccomp
private-dev
#private-tmp - mask KDE problems
noexec ${HOME}
noexec /tmp
nogroups
nosound
<!-- gh-comment-id:357466574 --> @thiswillbeyourgithub commented on GitHub (Jan 13, 2018): I don't have this line. My profile is like that, is that an issue ? ``` # gimp noblacklist ${HOME}/.gimp* include /etc/firejail/disable-common.inc include /etc/firejail/disable-programs.inc include /etc/firejail/disable-passwdmgr.inc caps.drop all netfilter nonewprivs noroot protocol unix seccomp private-dev #private-tmp - mask KDE problems noexec ${HOME} noexec /tmp nogroups nosound ```
Author
Owner

@smitsohu commented on GitHub (Feb 22, 2018):

@thiswillbeyourgithub

Doing cat /etc/firejail/*|grep 'blacklist /run/user returned nothing...

Take a look in /usr/local/etc/firejail/gimp.profile and comment net none, if you find it there.

GIMP-Error: Unable to run plug-in "quiteinsanegimpplugin-0.3"
(/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3)
Failed to execute child process "/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3" (Permission denied)

There is probably a noexec ${HOME} in the profile. Try it with commenting this line.

<!-- gh-comment-id:367864137 --> @smitsohu commented on GitHub (Feb 22, 2018): @thiswillbeyourgithub > Doing cat /etc/firejail/*|grep 'blacklist /run/user returned nothing... Take a look in /usr/local/etc/firejail/gimp.profile and comment `net none`, if you find it there. > GIMP-Error: Unable to run plug-in "quiteinsanegimpplugin-0.3" (/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3) Failed to execute child process "/home/USER/.gimp-2.8/plug-ins/quiteinsanegimpplugin-0.3" (Permission denied) There is probably a `noexec ${HOME}` in the profile. Try it with commenting this line.
Author
Owner

@Vincent43 commented on GitHub (Feb 23, 2018):

@thiswillbeyourgithub
First of all use official profile: https://github.com/netblue30/firejail/blob/master/etc/gimp.profile . I don't know from where you got your current one.

<!-- gh-comment-id:367983705 --> @Vincent43 commented on GitHub (Feb 23, 2018): @thiswillbeyourgithub First of all use official profile: https://github.com/netblue30/firejail/blob/master/etc/gimp.profile . I don't know from where you got your current one.
Author
Owner

@thiswillbeyourgithub commented on GitHub (Feb 24, 2018):

@smitsohu
There is no net none, and commenting noexec ${HOME} didn't solve the issue.

@Vincent43 I copied the file you linked (I have no idea why the content didn't match what I have...) and now I get :

>firejail --profile=/etc/firejail/gimp.profile /usr/bin/gimp 
Reading profile gimp.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Error: cannot access profile file

I don't understand this issue, I made sure to use the original file with the same permission as before (i.e. I edited the original file to put your text), I tried with sudo even. The permissions of the file match the one of the other profile as well as the owner...

<!-- gh-comment-id:368259846 --> @thiswillbeyourgithub commented on GitHub (Feb 24, 2018): @smitsohu There is no `net none`, and commenting `noexec ${HOME}` didn't solve the issue. @Vincent43 I copied the file you linked (I have no idea why the content didn't match what I have...) and now I get : ``` >firejail --profile=/etc/firejail/gimp.profile /usr/bin/gimp Reading profile gimp.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Error: cannot access profile file ``` I don't understand this issue, I made sure to use the original file with the same permission as before (i.e. I edited the original file to put your text), I tried with sudo even. The permissions of the file match the one of the other profile as well as the owner...
Author
Owner

@Vincent43 commented on GitHub (Feb 24, 2018):

How did you install firejail? Did you build it manually or through package manager?

You can try deleting /usr/local/etc/firejail , /usr/local/bin/firejail and /usr/local/lib/x86_64-linux-gnu/firejail (if they exists) an reinstall it from from official ubuntu packages:
https://packages.ubuntu.com/bionic/firejail
https://packages.ubuntu.com/bionic/firejail-profiles

Firejail doesn't have much dependencies so it should work on older Ubuntu version.

<!-- gh-comment-id:368260736 --> @Vincent43 commented on GitHub (Feb 24, 2018): How did you install firejail? Did you build it manually or through package manager? You can try deleting `/usr/local/etc/firejail` , `/usr/local/bin/firejail` and ` /usr/local/lib/x86_64-linux-gnu/firejail` (if they exists) an reinstall it from from official ubuntu packages: https://packages.ubuntu.com/bionic/firejail https://packages.ubuntu.com/bionic/firejail-profiles Firejail doesn't have much dependencies so it should work on older Ubuntu version.
Author
Owner

@thiswillbeyourgithub commented on GitHub (Mar 6, 2018):

@Vincent43 Through the package manager

I uninstalled firejail via sudo apt-get remove --purge firejail as well as deleting all the files I could find that seemed related.

Also I removed firecfg and installed firectl. This seems like a key step. I didn't know firecfg was outdated or something.

I then did sudo apt-get install firejail and enabled gimp via firectl.

Gimp seems to be running well and contained (checked via firejail --list|grep gimp) and the interface has all the right buttons.

So as far as I'm concerned this issue seems fixed to me, and the issue seemed to be realted to my use of firecfg.

Thanks :)

<!-- gh-comment-id:370740543 --> @thiswillbeyourgithub commented on GitHub (Mar 6, 2018): @Vincent43 Through the package manager I uninstalled firejail via `sudo apt-get remove --purge firejail` as well as deleting all the files I could find that seemed related. Also I removed firecfg and installed firectl. This seems like a key step. I didn't know firecfg was outdated or something. I then did `sudo apt-get install firejail` and enabled gimp via firectl. Gimp seems to be running well and contained (checked via `firejail --list|grep gimp`) and the interface has all the right buttons. So as far as I'm concerned this issue seems fixed to me, and the issue seemed to be realted to my use of firecfg. Thanks :)
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#1170
No description provided.