Osmcinstaller does not work on debian testing

Hi,

I’ve used the osmcinstaller with debian 8 just fine in the past, but now I’m using debian testin (with the gcc 5 and that stuff) and the osmc installer does not work. It runs gksudo, and the window is just blank.

Here is what it says running from a terminal:

$ osmcinstaller 
/usr/bin/gksudo
X Error: BadAccess (attempt to access private resource denied) 10
  Extension:    130 (MIT-SHM)
  Minor opcode: 1 (X_ShmAttach)
  Resource id:  0xd4
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 5 (X_ShmCreatePixmap)
  Resource id:  0xd4
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x2200011

I can attach a strace or anything else if you need. Don’t know if it may be related to the fact that the new gcc is in testing now with the new ABI and that stuff.

I’m using osmc-installer package version 119 from http://download.opensuse.org/repositories/home:/osmc/Debian_8.0/

The version I had previously installed was 111, and it doesn’t work on debian testing either.

Please let me know if I can help and test anything. I really want to install osmc =)

It would need compiling against Debian Testing, and OBS does not support this distro yet. Either use a compatible system; image manually or compile it locally – there are some instructions on GitHub

Sam

@sam_nazarko thanks for the quick response! Compiling seems like a PITA, how does the manual image work? I didn’t find doc for that? just gunzip and dd the image? (I’m not at home now, so can’t try :))

Good that just a few hours before someone wrote this

Cool, thanks! It was just a dd, it seems :slight_smile:

I must have been tired yesterday. I actually know what’s causing this error: X11 using shared memory. This only affected KDE previously and I fixed that then. Are you using KDE?

Either way, try adding the changes from here to gksudo (perhaps you have both GNOME and KDE installed) and let me know.

Best

Sam

I use fluxbox, not gnome nor kde. Although I have gnome installed.

Just running from a console:

QT_X11_NO_MITSHM=1 /usr/share/osmc/qt_host_installer

fixed it. It does not work if I run osmcinstaller manually, though. But the osmcinstaller has this:

QT_X11_NO_MITSHM=1

I’m in a hurry now, but will check which case my config enters and maybe adding this to that case too fixes it. I will try it later and report back :slight_smile:

Yes, adding the:

QT_X11_NO_MITSHM=1

to the gksudo case fixes it for me. Thanks! The proper thing will be a patch, if this fixes it for all and doesn’t break anything, right?

I’ll enable this option globally. It won’t break anything. Thanks for testing

Sam