User Tools

Site Tools


introduction:xscrabble_at_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
introduction:xscrabble_at_sdf [2021/03/09 16:27] – [Configuring] hc9introduction:xscrabble_at_sdf [2021/03/12 20:06] – [Tips] hc9
Line 15: Line 15:
   * The DM and players must all be logged into the same machine.   * The DM and players must all be logged into the same machine.
   * The DM and players must have the correct [[http://sdf.org/?join#meta|membership]] to run X clients on SDF.   * The DM and players must have the correct [[http://sdf.org/?join#meta|membership]] to run X clients on SDF.
-  * Working X-over-ssh setup; please test this by running xterm or xeyes first. For help, please read this [[http://sdf.org/?tutorials/x11_forwarding#ssh|tutorial]] or ask in [[http://sdf.org/?tutorials/comnotirc|com]] or bboard. +  * Working X-over-ssh setup; please test this by running xterm or xeyes first. For help, please read this [[setting_up_x11_forwarding_on_sdf|tutorial]] or ask in [[:com|com]] or bboard. 
-  * Check the DISPLAY environment variable set by ssh: "echo $DISPLAY". The output will look like +  * Check the DISPLAY environment variable set by ssh: ''echo $DISPLAY''. The output will look like 
-    iceland:wliao$ echo $DISPLAY + 
-    localhost:10.0 +<code> 
-   If this value is not set automatically, then something may not be configured correctly.+iceland:wliao$ echo $DISPLAY 
 +localhost:10.0 
 +</code> 
 + 
 +  * If this value is not set automatically, then something may not be configured correctly.
  
 ==== 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: "myxauth". The output will look like   * From the command line, run this command to generate the magic cookie information: "myxauth". The output will look like
-    iceland:wliao$ myxauth + 
-    iceland/unix:13  MIT-MAGIC-COOKIE-1  155866ddc1ec4439ca6b6b10c211369e +<code> 
-  * 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/unix:10").+iceland:wliao$ myxauth 
 +iceland/unix:13  MIT-MAGIC-COOKIE-1  155866ddc1ec4439ca6b6b10c211369e 
 +</code> 
 + 
 +  * 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/unix:10'').
   * 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's X server   * 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's X server
  
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/unix:10"+  * Also note the display field in the cookie information. The display field is the first white space separated field in the cookie information (''iceland/unix:10''
-  * Start the xauth command: "xauth". This will drop the DM into a subshell. +  * Start the xauth command: ''xauth''. This will drop the DM into a subshell. 
-  * For each magic cookie, add the cookie information: "add iceland/unix:10 MIT-MAGIC-COOKIE-1 fd61840e6ae37fbccc74ac8dfa7ce1fd"+  * For each magic cookie, add the cookie information: ''add iceland/unix:10 MIT-MAGIC-COOKIE-1 fd61840e6ae37fbccc74ac8dfa7ce1fd''
-    iceland:wliao$ xauth + 
-    Using authority file /arpa/tz/w/wliao/.Xauthority +<code> 
-    xauth&gt; add iceland/unix:10  MIT-MAGIC-COOKIE-1  fd61840e6ae37fbccc74ac8dfa7ce1fd +iceland:wliao$ xauth 
-    xauth&gt; add iceland/unix:13  MIT-MAGIC-COOKIE-1  41660822631aa698c4fe791d6b4fbd7f +Using authority file /arpa/tz/w/wliao/.Xauthority 
-    xauth&gt;+xauthadd iceland/unix:10  MIT-MAGIC-COOKIE-1  fd61840e6ae37fbccc74ac8dfa7ce1fd 
 +xauthadd iceland/unix:13  MIT-MAGIC-COOKIE-1  41660822631aa698c4fe791d6b4fbd7f 
 +xauth
 +</code> 
   * When complete, use exit to save the data and exit xauth.   * When complete, use exit to save the data and exit xauth.
-    iceland:wliao$ xauth + 
-    Using authority file /arpa/tz/w/wliao/.Xauthority +<code> 
-    xauth&gt; add iceland/unix:10  MIT-MAGIC-COOKIE-1  fd61840e6ae37fbccc74ac8dfa7ce1fd +iceland:wliao$ xauth 
-    xauth&gt; add iceland/unix:13  MIT-MAGIC-COOKIE-1  41660822631aa698c4fe791d6b4fbd7f +Using authority file /arpa/tz/w/wliao/.Xauthority 
-    xauth&gt; exit +xauthadd iceland/unix:10  MIT-MAGIC-COOKIE-1  fd61840e6ae37fbccc74ac8dfa7ce1fd 
-    Writing authority file /arpa/tz/w/wliao/.Xauthority+xauthadd iceland/unix:13  MIT-MAGIC-COOKIE-1  41660822631aa698c4fe791d6b4fbd7f 
 +xauthexit 
 +Writing authority file /arpa/tz/w/wliao/.Xauthority 
 +</code>
  
 == DM Add Players == == DM Add Players ==
  
-  * Start xscrabble: "xscrabble &amp;"+  * Start xscrabble: ''xscrabble &''
   * Select the number of players.   * Select the number of players.
  
 {{http://sdf.org/tutorials/images/xscrabble/xscrabble_players.png}} {{http://sdf.org/tutorials/images/xscrabble/xscrabble_players.png}}
  
-  * For each player, add the player's name and the player's display. The display will be "localhost://n//.0where //n// corresponds to the number in the display field of the cookie information.For example, player 1 has a cookie information where the display field is "iceland/unix://10//". The n for display will be 10. If the display number is m.n (eg, iceland/unix:10.1), please use m.n in the display instead.+  * For each player, add the player's name and the player's display. The display will be ''localhost://n//.0'' where //n// corresponds to the number in the display field of the cookie information. 
 +  * For example, player 1 has a cookie information where the display field is ''iceland/unix://10//''. The n for display will be 10. If the display number is m.n (eg, iceland/unix:10.1), please use m.n in the display instead.
  
 {{http://sdf.org/tutorials/images/xscrabble/xscrabble_name_display.png}} {{http://sdf.org/tutorials/images/xscrabble/xscrabble_name_display.png}}
Line 69: Line 85:
 ==== 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/unix:12where //iceland/unix:12// is the display name of the cookie information.+After the game is complete, the players should revoke the DM's access to the X server. Players should run ''xauth remove iceland/unix:12'' where //iceland/unix:12// is the display name of the cookie information.
  
-DMs should remove their access to the player's X server by running the same command for every cookie information they received: "xauth remove iceland/unix:12".+DMs should remove their access to the player's X server by running the same command for every cookie information they received: ''xauth remove iceland/unix:12''.
  
-Both players and DM can remove the xauth file to ensure the revocation: "rm ~/.Xauthority". The xuath information will be recreated when logging back into SDF.+Both players and DM can remove the xauth file to ensure the revocation: ''rm ~/.Xauthority''. The xuath information will be recreated when logging back into SDF.
  
 ==== Tips ==== ==== Tips ====
Line 101: Line 117:
  
 ---- ----
-$Id: xscrabble.html,v 1.12 2014/09/11 09:01:04 grobe0ba Exp $ [[http://sdf.org/index.cgi?tutorials/xscrabble|Introduction: xscrabble at SDF]] - legacy link+$Id: xscrabble.html,v 1.12 2014/09/11 09:01:04 grobe0ba Exp $ [[http://sdf.org/index.cgi?tutorials/xscrabble|Introduction: xscrabble at SDF]] - traditional link (using [[wp>Revision_Control_System|RCS]])