Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPSC 233 Run graphical Java programs remotely on Mac and Windows.

Similar presentations


Presentation on theme: "CPSC 233 Run graphical Java programs remotely on Mac and Windows."— Presentation transcript:

1 CPSC 233 Run graphical Java programs remotely on Mac and Windows

2 Simple Example Hello GUI can run locally.

3 Simple Example Hello GUI cannot run on cpsc server when remote access.

4 Install Xquartz on MAC Click go-utilities-X11 Press continue, as X11 is no longer included with OS X, go to XQuartz project : http://xquartz.macosforge.orghttp://xquartz.macosforge.org Download XQuartz-2.7.7.dmg Install

5 Run Xquartz on MAC Go to utility-terminal ssh –X to cpsc server: -X to enable display forwarding

6 Install Xming onWindows Download and run the current setup executable available at the SourceForge page for Xming. http://sourceforge.net/projects/xming/files/Xming- mesa/6.9.0.31/Xming-mesa-6-9-0-31-setup.exe/download http://sourceforge.net/projects/xming/files/Xming- mesa/6.9.0.31/Xming-mesa-6-9-0-31-setup.exe/download Install Xming

7 Install Xming onWindows

8 Variable Assignment you should see the following dialog indicating successful installation of Xming. You are now equipped to view X11- based graphical applications remotely. Click [Finish].

9 PuTTY SSH In the PuTTY configuration window, select "Connection- >SSH->X11" and make sure the Enable X11 forwarding box is checked, then return to the Session category and click [Open] when you are ready to connect to the specified machine:

10 SSH Secure Shell Client Select the menu option "Edit->Settings" as shown below:

11 SSH Secure Shell Client Select the option "Profile Settings- >Connection- >Tunneling" and make sure the "Tunnel X11 connections" box is checked, then click [OK]. This should then be set for future uses of SSH Secure Shell Client.

12 Run graphical Java programs remotely Double Click Xming Run ssh secure file Transfer or Putty Connect to cpsc sever and run helloWorld class


Download ppt "CPSC 233 Run graphical Java programs remotely on Mac and Windows."

Similar presentations


Ads by Google