leafo / gifine

Quickly record and edit gifs and videos of your desktop
285 stars 14 forks source link

Cannot open display :0 #7

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, I got this error after selecting my rectangle. I'm running on Archlinux with Gnome 3 (gdm). I have same error with xrandr --display :0. Looks like gdm is running on display :0 and my user on :1.

Recording with x: 972, 438, w: 802, h: 462
Working in dir  /tmp/gifine_upcacpyudm
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.2.1 (GCC) 20160830
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Invalid MIT-MAGIC-COOKIE-1 key[x11grab @ 0x560ae96ddf00] Cannot open display :0.0+972,438, error 1.
:0.0+972,438: Input/output error
leafo commented 7 years ago

Thanks for the bug report, should be good now