___ _____ ___ _____ _____ ________________ ____ / _ \ / ___| / | _ || _ | / /_ _| ___ \ \/ (_) / /_\ \\ `--. / /| | |/' || |/' | / / | | | |_/ / . . |_ | _ | `--. \/ /_| | /| || /| |/ / | | | ___ \ |\/| | | | | | |/\__/ /\___ \ |_/ /\ |_/ / / _| |_| |_/ / | | | | \_| |_/\____/ |_/\___/ \___/_/ \___/\____/\_| |_/_| Here are some instructions how to run X11 programs on AS400/IBMi on the PUB400.com If you have your own AS400/IBMi the instruction will probably differ, but you then can just adjust accordingly Also included are a couple of games - Doom (prboom - compiled on AIX 5.1) - Dopewars (compiled on AIX 5.1) - Elinks (compiled on AIX 5.1) On the client side first make sure you have Xephyr/Xnest and use X11 forwarding if you want to play doom and run (This is on my MacOS) Run Xephyr ---------- /opt/X11/bin/Xephyr -listen tcp -ac :1.0 -screen 1200x700:24 Connect with X11 forwarding (adjust to your needs - if you have an account on pub400.com change the user) ----------------------------------------------------------------------------- DISPLAY=:1 ssh -Y -p 2222 user@pub400.com Next on the AS400/IBMi Here are some instructions to be done on AS400/IBMi side Define some environment variables if we want to run a nice remote X11 desktop ------------------------------------------- export TERM=aixterm export PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/pkgs/bin/ mwm Download/extract doom.tar and dopewars.tar games (if you wish to play them on the AS400/IBMi) and change the LD_LIBRARY_PATH to customize to your need Included is also a www ASCII browser Elinks DOOM ---- tar -xvf doom.tar cd doom export LD_LIBRARY_PATH=/path/to/this/dir/ ./prboom -nofullscreen -nosound -iwad doom.wad DOPEWARS -------- tar -xvf dopewars.tar cd dopewars touch dopewars.sco (to run server) export LD_LIBRARY_PATH=/path/to/this/dir/ ./dopewars -S -p 34000 -d ./dopewars.sco (to run client) export LD_LIBRARY_PATH=/path/to/this/dir/ ./dopewars -a -d ./dopewars.sco ELINKS ------ tar -xvf elinks.tar cd elinks export LD_LIBRARY_PATH=/path/to/this/dir/ ./elinks Enjoy!