aferrero2707 / gimp-appimage

174 stars 17 forks source link

cannot open display: :0 #63

Closed Moltkex closed 3 years ago

Moltkex commented 3 years ago

I'm having problems trying to run GIMP appimage in openSUSE Leap 15.2 with KDE plasma. I checked the forum there and found this thread https://forums.opensuse.org/showthre...ight=appimages but it doesn't seem to apply to my case. This is what I get from terminal:

mmoltke ~  Appimages  ./GIMP_AppImage-release-2.10.22-withplugins-x86_64.AppImage 
DIR: /tmp/.mount_GIMP_AKyjYFg 
AILIBDIR=/tmp/tmp.yokw33Gp5i 
deleting /tmp/tmp.yokw33Gp5i/libxcb-dri3.so* 
System stdc++ library: "/usr/lib64/libstdc++.so.6" 
System stdc++ library version: "3.4.28" 
Bundled stdc++ library version: "3.4.22" 
Newest stdc++ library version: "3.4.28" 
Using system stdc++ library 
atomiclib:  
Using bundled atomic library 
Checking versions of library "libfontconfig" 
  system library: "/usr/lib64/libfontconfig.so.1.10.1" (libfontconfig.so.1.10.1) 
  system library version: 1.10.1 
  ailib: "/tmp/.mount_GIMP_AKyjYFg/usr/lib/libfontconfig.so.1.11.1" 
  bundled library: "/tmp/.mount_GIMP_AKyjYFg/usr/lib/libfontconfig.so.1.11.1" (libfontconfig.so.1.11.1) 
  bundled library version: 1.11.1 
  newest library version: "1.11.1" 
Checking versions of library "libfreetype" 
  system library: "/usr/lib64/libfreetype.so.6.17.1" (libfreetype.so.6.17.1) 
  system library version: 6.17.1 
  ailib: "/tmp/.mount_GIMP_AKyjYFg/usr/lib/libfreetype.so.6.16.1" 
  bundled library: "/tmp/.mount_GIMP_AKyjYFg/usr/lib/libfreetype.so.6.16.1" (libfreetype.so.6.16.1) 
  bundled library version: 6.16.1 
  newest library version: "6.17.1" 
Removing bundled "libfreetype" 
'/tmp/tmp.yokw33Gp5i/libfreetype.so.6' borrado 
'/tmp/tmp.yokw33Gp5i/libfreetype.so.6.16.1' borrado 
APPDIRS: /tmp/tmp.yokw33Gp5i:/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins:/home/moltke/.config/GIMP-AppImage/2.10/plug-ins:/tmp/.mount_GIMP_AKyjYFg: 
GTK_PATH=/tmp/.mount_GIMP_AKyjYFg/usr/lib/gtk-2.0 
GTK_IM_MODULE_FILE=/tmp/.mount_GIMP_AKyjYFg/usr/lib/gtk-2.0:/tmp/.mount_GIMP_AKyjYFg/usr/lib/gtk-2.0 
PANGO_LIBDIR=/tmp/.mount_GIMP_AKyjYFg/usr/lib 
BABL_PATH /tmp/.mount_GIMP_AKyjYFg/usr/lib64/babl-0.1 
GEGL_PATH /tmp/.mount_GIMP_AKyjYFg/usr/lib64/gegl-0.4 
python=/tmp/.mount_GIMP_AKyjYFg/usr/bin/python2 
python2=/tmp/.mount_GIMP_AKyjYFg/usr/bin/python2 
/tmp/.mount_GIMP_AKyjYFg/usr/bin/python=/tmp/.mount_GIMP_AKyjYFg/usr/bin/python2 
:Python:E::py::python2: 
GIMP2_PLUGINDIR: /tmp/tmp.yokw33Gp5i/gimp/2.0 
/tmp/.mount_GIMP_AKyjYFg/apprun-helper.sh: línea 179: /tmp/.mount_GIMP_AKyjYFg/startup_scripts/*.sh: No existe el fichero o el directorio 
load_external_plugins: linking plug-ins under /tmp/.mount_GIMP_AKyjYFg/plug-ins/GMIC 
ln -f -s "/tmp/.mount_GIMP_AKyjYFg/plug-ins/GMIC" "/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins" 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/GMIC/scripts/set_exists.sh 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/GMIC/scripts/startup.sh 
load_external_plugins: linking plug-ins under /tmp/.mount_GIMP_AKyjYFg/plug-ins/LiquidRescale 
ln -f -s "/tmp/.mount_GIMP_AKyjYFg/plug-ins/LiquidRescale" "/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins" 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/LiquidRescale/scripts/set_exists.sh 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/LiquidRescale/scripts/startup.sh 
load_external_plugins: linking plug-ins under /tmp/.mount_GIMP_AKyjYFg/plug-ins/NUFraw 
ln -f -s "/tmp/.mount_GIMP_AKyjYFg/plug-ins/NUFraw" "/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins" 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/NUFraw/scripts/set_exists.sh 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/NUFraw/scripts/startup.sh 
load_external_plugins: linking plug-ins under /tmp/.mount_GIMP_AKyjYFg/plug-ins/PhFGimp 
ln -f -s "/tmp/.mount_GIMP_AKyjYFg/plug-ins/PhFGimp" "/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins" 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/PhFGimp/scripts/set_exists.sh 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/PhFGimp/scripts/startup.sh 
load_external_plugins: linking plug-ins under /tmp/.mount_GIMP_AKyjYFg/plug-ins/ResynthesizerPlugin 
ln -f -s "/tmp/.mount_GIMP_AKyjYFg/plug-ins/ResynthesizerPlugin" "/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins" 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/ResynthesizerPlugin/scripts/set_exists.sh 
load_external_plugins: sourcing /tmp/.mount_GIMP_AKyjYFg/plug-ins/ResynthesizerPlugin/scripts/startup.sh 
LD_LIBRARY_PATH: /tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins/ResynthesizerPlugin/usr/lib:/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins/PhFGimp/usr/lib:/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins/NUFraw/usr/lib:/
tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins/LiquidRescale/usr/lib:/tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins/GMIC/usr/lib:/tmp/tmp.yokw33Gp5i:/usr/lib::/tmp/.mount_GIMP_AKyjYFg/usr/lib/gdk-pixbuf-2.0/loa
ders 
QT_PLUGIN_PATH: /tmp/tmp.yokw33Gp5i/gimp/2.0/plug-ins/GMIC/usr/lib/qt5/plugins: 
Input parameters: "" 

Input File:  
        linux-vdso.so.1 (0x00007fff1bbe3000) 
        libgimpwidgets-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpwidgets-2.0.so.0 (0x00007fcf186d6000) 
        libgtk-x11-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgtk-x11-2.0.so.0 (0x00007fcf18054000) 
        libgdk-x11-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgdk-x11-2.0.so.0 (0x00007fcf17d93000) 
        libatk-1.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libatk-1.0.so.0 (0x00007fcf17b6d000) 
        libgimpconfig-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpconfig-2.0.so.0 (0x00007fcf17957000) 
        libgimpmath-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpmath-2.0.so.0 (0x00007fcf17750000) 
        libgimpthumb-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpthumb-2.0.so.0 (0x00007fcf17546000) 
        libgimpcolor-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpcolor-2.0.so.0 (0x00007fcf1732e000) 
        libgimpmodule-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpmodule-2.0.so.0 (0x00007fcf17128000) 
        libgimpbase-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgimpbase-2.0.so.0 (0x00007fcf16ef9000) 
        libgdk_pixbuf-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgdk_pixbuf-2.0.so.0 (0x00007fcf16cd1000) 
        libpangocairo-1.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpangocairo-1.0.so.0 (0x00007fcf16ac3000) 
        libpangoft2-1.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpangoft2-1.0.so.0 (0x00007fcf168ad000) 
        libpango-1.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpango-1.0.so.0 (0x00007fcf16667000) 
        libcairo.so.2 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libcairo.so.2 (0x00007fcf16350000) 
        libpixman-1.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpixman-1.so.0 (0x00007fcf160a7000) 
        libfontconfig.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libfontconfig.so.1 (0x00007fcf15e66000) 
        libexpat.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libexpat.so.1 (0x00007fcf15c3c000) 
        libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007fcf15a34000) 
        libfreetype.so.6 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libfreetype.so.6 (0x00007fcf1578c000) 
        libbz2.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libbz2.so.1 (0x00007fcf1557c000) 
        libharfbuzz.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libharfbuzz.so.0 (0x00007fcf152df000) 
        libpng16.so.16 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpng16.so.16 (0x00007fcf150ad000) 
        libxcb-shm.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libxcb-shm.so.0 (0x00007fcf14ea9000) 
        libxcb.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libxcb.so.1 (0x00007fcf14c81000) 
        libxcb-render.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libxcb-render.so.0 (0x00007fcf14a73000) 
        libXrender.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXrender.so.1 (0x00007fcf14868000) 
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fcf14527000) 
        libXext.so.6 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXext.so.6 (0x00007fcf14315000) 
        librt.so.1 => /lib64/librt.so.1 (0x00007fcf1410d000) 
        libgegl-0.4.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgegl-0.4.so.0 (0x00007fcf13e2d000) 
        libgegl-npd-0.4.so => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgegl-npd-0.4.so (0x00007fcf13c25000) 
        libjson-glib-1.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libjson-glib-1.0.so.0 (0x00007fcf139fe000) 
        libbabl-0.1.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libbabl-0.1.so.0 (0x00007fcf1370d000) 
        libgio-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgio-2.0.so.0 (0x00007fcf13362000) 
        libgmodule-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgmodule-2.0.so.0 (0x00007fcf1315e000) 
        libselinux.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libselinux.so.1 (0x00007fcf12f37000) 
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fcf12d20000) 
        libmount.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libmount.so.1 (0x00007fcf12add000) 
        liblcms2.so.2 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/liblcms2.so.2 (0x00007fcf12883000) 
        libgexiv2.so.2 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgexiv2.so.2 (0x00007fcf12662000) 
        libexiv2.so.26 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libexiv2.so.26 (0x00007fcf1206a000) 
        libz.so.1 => /lib64/libz.so.1 (0x00007fcf11e53000) 
        libmypaint-1.3.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libmypaint-1.3.so.0 (0x00007fcf11c41000) 
        libjson-c.so.2 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libjson-c.so.2 (0x00007fcf11a36000) 
        libgobject-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgobject-2.0.so.0 (0x00007fcf117e4000) 
        libffi.so.6 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libffi.so.6 (0x00007fcf115dc000) 
        libglib-2.0.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libglib-2.0.so.0 (0x00007fcf112c6000) 
        libpcre.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpcre.so.1 (0x00007fcf11064000) 
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcf10e45000) 
        libunwind.so.8 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libunwind.so.8 (0x00007fcf10c2b000) 
        libm.so.6 => /lib64/libm.so.6 (0x00007fcf108f3000) 
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fcf106ef000) 
        libjpeg.so.62 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libjpeg.so.62 (0x00007fcf1049a000) 
        libc.so.6 => /lib64/libc.so.6 (0x00007fcf100df000) 
        libXfixes.so.3 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXfixes.so.3 (0x00007fcf0fed9000) 
        libXinerama.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXinerama.so.1 (0x00007fcf0fcd6000) 
        libXi.so.6 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXi.so.6 (0x00007fcf0fac6000) 
        libXrandr.so.2 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXrandr.so.2 (0x00007fcf0f8bb000) 
        libXcursor.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXcursor.so.1 (0x00007fcf0f6b0000) 
        libXcomposite.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXcomposite.so.1 (0x00007fcf0f4ad000) 
        libXdamage.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXdamage.so.1 (0x00007fcf0f2aa000) 
        libpng15.so.15 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libpng15.so.15 (0x00007fcf0f07f000) 
        libthai.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libthai.so.0 (0x00007fcf0ee73000) 
        libfribidi.so.0 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libfribidi.so.0 (0x00007fcf0ec57000) 
        /lib64/ld-linux-x86-64.so.2 (0x00007fcf1896d000) 
        libgraphite2.so.3 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libgraphite2.so.3 (0x00007fcf0ea29000) 
        libXau.so.6 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libXau.so.6 (0x00007fcf0e825000) 
        libblkid.so.1 => /tmp/.mount_GIMP_AKyjYFg/usr/bin/../lib/libblkid.so.1 (0x00007fcf0e5e5000) 
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fcf0e20b000) 
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fcf0dff2000) 

/tmp/.mount_GIMP_AKyjYFg/usr/bin/gimp.bin --pdb-compat-mode=on "" 
/tmp/.mount_GIMP_AKyjYFg/usr/bin/python 
DIRNAME: /tmp/.mount_GIMP_AKyjYFg/usr/bin 
DESKTOPFILE_NAME: gimp.desktop 
APP_FULL: GNU Image Manipulation Program 
APP: GNUImageManipulationProgram 
APP_FULL: GNU Image Manipulation Program 
APP: GNUImageManipulationProgram 
BIN: /tmp/.mount_GIMP_AKyjYFg/usr/bin/gimp.bin 
DESKTOPINTEGRATION:  
HERE!!! 
is_external_process: bundled process found: /tmp/.mount_GIMP_AKyjYFg/usr/bin/zenity 
No protocol specified 

(zenity:19438): Gtk-WARNING **: 19:52:01.480: cannot open display: :0 
yesno finished 
is_external_process: bundled process found: /tmp/.mount_GIMP_AKyjYFg/usr/bin/zenity 
No protocol specified 

(zenity:19446): Gtk-WARNING **: 19:52:01.584: cannot open display: :0 
yesno finished 
is_external_process: bundled process found: /tmp/.mount_GIMP_AKyjYFg/usr/bin/gimp-2.10 
No protocol specified 
No se puede abrir el visor:  
 moltke  ~  Appimages  

I've been using it for quite some time in Debian Bullseye with KDE Plasma too with no issues. Any help/advice is much appreciated. Thanks.

EDIT: Running xhost + before launching Gimp "solved" the issue and now it runs. But I never had this problem before, why is this happening?