Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I modified launch-game to use /bin/sh instead of /bin/bash so it would launch, then got this error:

  error("[XELB] Connection failed: %s" "Authorization required, but no authorization proto...")
  xcb:-connection-setup-filter(#<process XELB> "\0@\13\0\0\0\20\0Authorization required, but no authorizati...")
  accept-process-output(#<process XELB> 1 nil 1)
  #f(compiled-function (obj) "Connect to X server." #<bytecode 0x1e662ff612a0c7c4>)(#<xcb:connection xcb:connection-b119ca>)
  apply(#f(compiled-function (obj) "Connect to X server." #<bytecode 0x1e662ff612a0c7c4>) #<xcb:connection xcb:connection-b119ca> nil)
  xcb:-connect(#<xcb:connection xcb:connection-b119ca>)
  xcb:connect-to-socket("/tmp/.X11-unix/X1")
  xcb:connect(":1")
  xcb-boomshine-x-setup()
  xcb-boomshine-new-game()
  funcall-interactively(xcb-boomshine-new-game)
  command-execute(xcb-boomshine-new-game)
  command-line-1(("-L" "./vendor/xelb-0.18" "-L" "." "-l" "xcb-boomshine" "-f" "xcb-boomshine-new-game"))
  command-line()
  normal-top-level()
I use Guix so I'm used to having to fiddle with pre-built stuff but I'm not sure what to do here.
(1 edit)

XELB does not support authorization at all, therefore it raises this error when it's requested upon connection establishment. Some ideas:


  • Check the Exwm wiki/issue tracker, surely there's a GuixSD user who had this problem. For example https://github.com/ch11ng/exwm/issues/534 looks relevant
  • Run Xephyr without authentication and spawn the game using its DISPLAY
  • Configure X.org to not use auth and restart the session (possibly a very bad idea when it's on a a machine on the internet)
(+1)

Instead of debugging, I switched to an old Ubuntu laptop and it worked there. I had fun with this! I think I was just one ball shy from beating the 58/60 level! Very cool that it was written in elisp!