One interesting possibility for network play is the fact that X11 is a network protocol. I've been experimenting with this, I managed to run xclock on my server from a window on my desktop, and as a further proof of concept installed the debian slashem-x11 package and managed to play that (it even spawned child windows). After compiling from source with the gcu and X11 frontends enabled, launching angband over ssh defaults to the X11 frontend - however nothing happens, just a black space in my terminal which I can exit with ctrl+C (i.e. not a crash). Running with -mgcu gets me the gcu frontend running normally.
Since I could access the slashem X11 frontend without a problem I suspect this is something to do with angband rather than my setup. I noticed I needed client-side x11 libraries to compile - perhaps angband is only targetting a local display? I'm not very knowledgable here. If so, could piping the output or specifying a display be the required fix?
I'm going to be recreating the server with a browser-based launcher/login system rather than the in-terminal solution dgamelaunch provides and there are x11 libraries available for node.js so if I can get the x11 frontend running over ssh I should be able to get it running in a browser, and we'll have graphical supprt.
I don't want to touch any of the angband code just yet but if anyone can tell me what isn't working I'll keep it in mind.
Since I could access the slashem X11 frontend without a problem I suspect this is something to do with angband rather than my setup. I noticed I needed client-side x11 libraries to compile - perhaps angband is only targetting a local display? I'm not very knowledgable here. If so, could piping the output or specifying a display be the required fix?
I'm going to be recreating the server with a browser-based launcher/login system rather than the in-terminal solution dgamelaunch provides and there are x11 libraries available for node.js so if I can get the x11 frontend running over ssh I should be able to get it running in a browser, and we'll have graphical supprt.
I don't want to touch any of the angband code just yet but if anyone can tell me what isn't working I'll keep it in mind.
Comment