Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
199 stars 29 forks source link

Doesn't work with `code-server` (SSH w/o a display) #79

Closed massung closed 1 year ago

massung commented 1 year ago

Environment

Error message

Unable to init server: Could not connect: Connection refused
Gtk initialization failed for display ":0"
  context...:
   body of "/home/jeff/racket/share/pkgs/gui-lib/mred/private/wx/gtk/queue.rkt"
   body of "/home/jeff/racket/share/pkgs/gui-lib/mred/private/wx/platform.rkt"

Additional context

This is running on a Digital Ocean droplet, which has no display. I connect to VS Code using code-server. I wouldn't think that a display is necessary to use the language server.

massung commented 1 year ago

Sorry, occurs to me this should be in the racket-langserver repo, not magic-racket.