Okay, I know this has come up again and again. Indeed, I swear it came up a couple of weeks ago, but I can’t seem to find that thread. I’m trying to stop running X (& vnc) on my vpses, and just drop back to tmux. It looks like the handin server is now the one remaining fly in the ointment, in that it won’t start unless it can make a connection to a display:
Unable to init server: Could not connect: Connection refused Gtk initialization failed for display ":0" context...: /usr/racket/share/pkgs/gui-lib/mred/private/wx/gtk/queue.rkt: [running body] /usr/racket/share/pkgs/gui-lib/mred/private/wx/gtk/init.rkt: [traversing imports] /usr/racket/share/pkgs/gui-lib/mred/private/wx/platform.rkt: [running body] After dredging through the code a bit, it looks like the fundamental problem—assuming you’re not actually planning on testing student programs that use images—is that the handin server transmits the contents of buffers as serialized text% objects, and therefore in handin-server/utils.rkt there are a whole bunch of calls to racket/gui/base that convert the serialized text% back into a real text% and then extract the code from the definitions window. It seems like the right way (well, *one* right way) to fix this, then, would be to install a stub gui/main.rkt in “overridden-collects” that uses a textual approximation to extract text from the transmitted documents. Is that right? If so, has someone already written this? And if *that’s* so, is there some way that I could add a pointer to it to the documentation somehow? Many thanks, John -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.