How to handle remote X-windows in SEAS, GWU. * Use felix.seas.gwu.edu as the remote machine. * In this example below, I'll assume parrot.seas.gwu.edu is the local machine. * First, you will need two command-tool (or shell-tool, or xterm) windows. Bring those up now. * In one of them, type: parrot% xhost +localhost You should get localhost being added to access control list as a message. Then type parrot% xfwd x You should get Checking connection to "localhost:0" Tell remote client to display to parrot.seas.gwu.edu:2 If you haven't already, run 'xhost +localhost' [Proxy service is now running; press ^C to quit] This means that the X-window server on parrot.seas.gwu.edu is ready to receive Window commands from a remote machine. Also, this window will be useless since the xfwd command ties up the window (it waits). When you are done, type control-c in this window to kill xfwd. * Next, in the OTHER window (command-tool, shell-tool or xterm), login into felix.seas.gwu.edu: parrot% telnet felix * Now you need to tell the X-window server on felix that you want it to send its display stuff to parrot.seas.gwu.edu. Do this by typing the instructions given in the xfwd command above. NOTE: what you type in depends on which shell you are using. If you are using K-shell, type: felix% export DISPLAY=parrot.seas.gwu.edu:2 If you are using tsch, type: felix% setenv DISPLAY parrot.seas.gwu.edu:2 * Now you can test whether it's working by firing up an application from felix.seas.gwu.edu, for example, felix% xterm & or felix% xclock & If everything is working, you will be prompted with a small dialog box to see if you want to allow the window to be brought up. After clicking yes, you should see the window. * Finally, you now are ready to fire up any Java application. When you are done, type control-c in the window in which you typed "xfwd". * NOTE: - Since telnet is allowed only into a few machines in SEAS, it's best to use felix as the remote machine. - If you have a Unix or Linux machine at home (or elsewhere), you should be able to do the same thing to allow a felix window to come up at home. - If you want to fire up X-windows stuff on your PC at home, you will have to use software like Exceed (made by Hummingbird) that allows this to happen. Exceed is expensive, but I'm told there is freeware that does the same thing. * If you cannot get anything working in this set of instructions, then please seek assistance from SEAS Computing.