introduction:xscrabble_at_sdf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
introduction:xscrabble_at_sdf [2021/03/09 16:11] – hc9 | introduction:xscrabble_at_sdf [2021/03/09 16:52] – [After the game] hc9 | ||
---|---|---|---|
Line 16: | Line 16: | ||
* The DM and players must have the correct [[http:// | * 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:// | * 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: "echo $DISPLAY". The output will look like | + | * Check the DISPLAY environment variable set by ssh: '' |
- | iceland: | + | |
- | localhost: | + | < |
- | | + | iceland: |
+ | localhost: | ||
+ | </ | ||
+ | |||
+ | * If this value is not set automatically, | ||
==== Configuring ==== | ==== Configuring ==== | ||
Line 27: | Line 31: | ||
* Log into the designated SDF machine. This should be the server where the DM will be running the game from. | * 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: | * From the command line, run this command to generate the magic cookie information: | ||
- | | + | |
- | 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 ("iceland/ | + | 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' | * 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' | ||
Line 36: | Line 44: | ||
* Log into the designated SDF machine. This should be the server where the DM told everybody else to log into. | * 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. | * 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 ("iceland/ | + | * 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: | + | * Start the xauth command: |
- | * For each magic cookie, add the cookie information: | + | * For each magic cookie, add the cookie information: |
- | iceland: | + | |
- | Using authority file / | + | < |
- | xauth& | + | iceland: |
- | xauth& | + | Using authority file / |
- | xauth> | + | xauth> add iceland/ |
+ | xauth> add iceland/ | ||
+ | xauth> | ||
+ | </ | ||
* When complete, use exit to save the data and exit xauth. | * When complete, use exit to save the data and exit xauth. | ||
- | | + | |
- | Using authority file / | + | < |
- | xauth& | + | iceland: |
- | xauth& | + | Using authority file / |
- | xauth& | + | xauth> add iceland/ |
- | Writing authority file / | + | xauth> add iceland/ |
+ | xauth> exit | ||
+ | Writing authority file / | ||
+ | </ | ||
== DM Add Players == | == DM Add Players == | ||
- | * Start xscrabble: | + | * Start xscrabble: |
- | * Select the number of players.{{tutorials/ | + | * Select the number of players. |
- | * For each player, add the player' | + | |
+ | {{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 | * Click "start game" to start the game | ||
==== After 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 "xauth remove iceland/ | + | 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' | + | DMs should remove their access to the player' |
- | Both players and DM can remove the xauth file to ensure the revocation: | + | Both players and DM can remove the xauth file to ensure the revocation: |
==== Tips ==== | ==== Tips ==== | ||
Line 73: | Line 97: | ||
* 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. | * 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: | * 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: | * For the impatient, the actual game may be started by hand. jgw says: | ||
- | | + | |
- | you can also call xscrab directly: | + | < |
- | XSCRAB=' | + | --- jgw@iceland ------------------------------------------- |
- | ssh -24Y -c blowfish -p 443 jgw@miku.sdf.org ${XSCRAB} | + | you can also call xscrab directly: |
- | --- jgw@iceland ------------------------------------------- | + | 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! | This tutorial is far from complete. Wanna make it better? Edit it! |