introduction:xscrabble_at_sdf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
introduction:xscrabble_at_sdf [2021/03/09 16:51] – [After the game] hc9 | introduction:xscrabble_at_sdf [2021/04/01 05:14] (current) – removed hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Introduction: | ||
- | |||
- | xscrabble is scrabble over X11. This will cover the basic steps on setting up xscrabble over SSH on SDF. | ||
- | |||
- | xscrabble is an X11 application, | ||
- | |||
- | xscrabble is started by the Dungeon Master (DM). The DM will also be a player. The DM controls how many players participate, | ||
- | |||
- | **Players must be aware of this, and the potential nuisance/ | ||
- | |||
- | The instructions below will cover the general steps for the players and the DM to begin playing xscrabble. | ||
- | |||
- | ==== Everybody do this first ==== | ||
- | |||
- | * The DM and players must all be logged into the same machine. | ||
- | * The DM and players must have the correct [[http:// | ||
- | * Working X-over-ssh setup; please test this by running xterm or xeyes first. For help, please read this [[http:// | ||
- | * Check the DISPLAY environment variable set by ssh: '' | ||
- | |||
- | < | ||
- | iceland: | ||
- | localhost: | ||
- | </ | ||
- | |||
- | * If this value is not set automatically, | ||
- | |||
- | ==== Configuring ==== | ||
- | |||
- | == Players == | ||
- | |||
- | * Log into the designated SDF machine. This should be the server where the DM will be running the game from. | ||
- | * From the command line, run this command to generate the magic cookie information: | ||
- | |||
- | < | ||
- | iceland: | ||
- | iceland/ | ||
- | </ | ||
- | |||
- | * Please note the display name of the cookie information. The display name will be the first white space separated field in the cookie information ('' | ||
- | * Send the cookie information to the DM. Please take care to privately send this information. This is the information that allows the DM to start X clients on the player' | ||
- | |||
- | == DM Add Access == | ||
- | |||
- | * Log into the designated SDF machine. This should be the server where the DM told everybody else to log into. | ||
- | * For every player, collect their magic cookie information. Please take care to track which player corresponds to which magic cookie. | ||
- | * Also note the display field in the cookie information. The display field is the first white space separated field in the cookie information ('' | ||
- | * Start the xauth command: '' | ||
- | * For each magic cookie, add the cookie information: | ||
- | |||
- | < | ||
- | iceland: | ||
- | Using authority file / | ||
- | xauth> add iceland/ | ||
- | xauth> add iceland/ | ||
- | xauth> | ||
- | </ | ||
- | |||
- | * When complete, use exit to save the data and exit xauth. | ||
- | |||
- | < | ||
- | iceland: | ||
- | Using authority file / | ||
- | xauth> add iceland/ | ||
- | xauth> add iceland/ | ||
- | xauth> exit | ||
- | Writing authority file / | ||
- | </ | ||
- | |||
- | == DM Add Players == | ||
- | |||
- | * Start xscrabble: '' | ||
- | * Select the number of players. | ||
- | |||
- | {{http:// | ||
- | |||
- | * For each player, add the player' | ||
- | * For example, player 1 has a cookie information where the display field is '' | ||
- | |||
- | {{http:// | ||
- | |||
- | Do not forget to add the DM's display as well | ||
- | |||
- | * Click "start game" to start the game | ||
- | |||
- | ==== After the game ==== | ||
- | |||
- | After the game is complete, the players should revoke the DM's access to the X server. Players should run '' | ||
- | |||
- | DMs should remove their access to the player' | ||
- | |||
- | Both players and DM can remove the xauth file to ensure the revocation: '' | ||
- | |||
- | ==== Tips ==== | ||
- | |||
- | * The various windows have " | ||
- | * At the end of the game, the high score board will only appear for the DM. Of course, all players may examine the score board at any time through the " | ||
- | * screen users who reattach, please note the DISPLAY from //within// screen may be invalid. Remember to look at the DISPLAY variable (and thus, the myxauth command) outside of screen. | ||
- | * Remember to take screenshots as a trophy of your conquest. This one-liner will take a screenshot of the entire screen and save it to a file named war_trophy.png: | ||
- | |||
- | < | ||
- | iceland:/ | ||
- | </ | ||
- | |||
- | This command may take a while to run. | ||
- | |||
- | * For the impatient, the actual game may be started by hand. jgw says: | ||
- | |||
- | < | ||
- | --- jgw@iceland ------------------------------------------- | ||
- | you can also call xscrab directly: | ||
- | XSCRAB=' | ||
- | ssh -24Y -c blowfish -p 443 jgw@miku.sdf.org ${XSCRAB} | ||
- | --- jgw@iceland ------------------------------------------- | ||
- | </ | ||
- | |||
- | This tutorial is far from complete. Wanna make it better? Edit it! | ||
- | |||
- | ---- | ||
- | $Id: xscrabble.html, | ||
introduction/xscrabble_at_sdf.1615308664.txt.gz · Last modified: 2021/03/09 16:51 by hc9