I've been running the handin-server on a headless server as well, using xvfb. However, I'm not using screen.
Instead I've used the systemd units posted https://gist.github.com/bluephoenix47/9642463 (similar init scripts could be used). Essentially, I run Xvfb as a daemon and simply run `racket -l handin-server` with the right DISPLAY. This has the advantage of automatically launching the server on startup, and restarting if it dies. I just ssh and look at the log files when I need to see output. And if you're interested, I'm working on a bunch of scripts at https://github.com/bluephoenix47/cs2500-scripts for use with the handin server. They are currently in pretty rough state, but a good starting place for automating various things like due dates and posting grades. William Bowman On Fri, Mar 14, 2014 at 12:39:19PM -0300, Ismael Figueroa wrote: > Just an FYI, I managed to run the handin-server in a headless linux server. > I had to: > > - Install libcairo, libpango, and probably other X11 libraries > - Install xvfb, which is a virtual/fake framebuffer > - Log-in using ssh, then run the screen program > - Inside screen, cd to the folder with the assignments and run xvfb-run > racket -l handin-server > - Press Ctrl-A Ctrl-D to detach from screen > - Log out from the server, and the process is kept running thanks to screen. > - To get back the output, log-in again and execute "screen -r" > > I saw some email threads from 2012 discussing a similar issue, and the > suggestion was to use VNC or something like that. I hope this is useful to > someone! > > Bests, > -- > Ismael > ____________________ > Racket Users list: > http://lists.racket-lang.org/users
signature.asc
Description: Digital signature
____________________ Racket Users list: http://lists.racket-lang.org/users

