編集不可のページ History 添付ファイル

 

TUT HPC Cluster Wiki: en / SSHClient / WindowsGUI

[English|Japanese]

Using the SSH Client (Windows GUI)

To use the GUI application installed on the development servers, such as ANSYS and MATLAB, X Server software is required. This section explains how to set up the Linux virtual machine on Windows, and use the X Server version that is installed on the virtual machine to use the GUI application.

Setting Up

Set up your machine as follows. As the first step, install the virtualization software called VirtualBox. Next, download the Linux virtual machine disk image, and register it with the VirtualBox. Finally, set up the Linux virtual machine.

Installing VirtualBox

Download the latest setup program from the official VirtualBox website. The latest version is 4.3.20 as of January 19, 2015.

vb-setup-1.png

Start the downloaded setup program.

vb-setup-2.png

The setup program starts. Click the [Next] button.

vb-setup-3.png

Customize the installation settings as required. Click the [Next] button.

vb-setup-4.png

Choose the installation options as required. Click the [Next] button.

vb-setup-5.png

A message warning that the network connection will be interrupted is displayed. Click the [Yes] button.

vb-setup-6.png

The final confirmation window before installation is displayed. Click the [Install] button.

vb-setup-7.png

The dialog that confirms installation of the new device software is displayed several times. Click the [インストール] (Install) button.

vb-setup-8.png

vb-setup-9.png

vb-setup-10.png

vb-setup-11.png

The window to finalize the installation is displayed. Click the [Finish] button.

vb-setup-12.png

The installation of VirtualBox is now complete.

Installing the Linux Virtual Machine

Download the Ubuntu hard disk image from the official Ubuntu Japanese Team website.

ubuntu-deploy-1.png

Unzip the downloaded file. A file called ubuntu-ja-14.04-desktop-amd64.vhd is created.

ubuntu-deploy-1-1.png

Start VirtualBox.

ubuntu-connect-1.png

Click [新規] (New).

ubuntu-deploy-2.png

In the [名前] (Name) field, type ubuntu. Check the [タイプ] (Type) field shows Linux and the [バージョン] (Version) field shows Ubuntu (64 bit), and click the [次へ] (Next) button.

ubuntu-deploy-3.png

Set the Memory size to 1024 MB.

ubuntu-deploy-4.png

Select the [すでにある仮想ハードドライブファイルを使用する] (Use an existing virtual hard drive file) radio button and select the downloaded hard disk image in the pulldown menu. Click the [作成] (Create) button.

ubuntu-deploy-5.png

The virtual machine is now set up. To use the machine in the optimum manner, customize the virtual machine settings. Click [設定] (Settings).

ubuntu-deploy-6.png

Click [ディスプレイ] (Display). In the [ビデオ] (Video) tab, select the [3Dアクセラレーションを有効化] (Enable 3D Acceleration) checkbox. Then click OK.

ubuntu-deploy-7.png

Now the Linux virtual machine has been installed.

Setting Up the Linux Virtual Machine

Start VirtualBox.

ubuntu-connect-1.png

Start the Linux virtual machine.

ubuntu-connect-2.png

Choose the language to use and click the [続ける] (Continue) button.

ubuntu-initialsetup-1.png

Choose your locale and click the [続ける] (Continue) button.

ubuntu-initialsetup-2.png

Choose your keyboard layout and click the [続ける] (Continue) button.

ubuntu-initialsetup-3.png

Input the information for the user and click the [続ける] (Continue) button.

ubuntu-initialsetup-4.png

Now the Linux virtual machine has been set up and is ready to connect to the HPC Cluster.

Connecting to the Server

Start VirtualBox.

ubuntu-connect-1.png

Click [起動] (Start) to start the Linux virtual machine.

ubuntu-connect-2.png

Linux starts. Type your password to log in.

ubuntu-connect-3.png

Click the icon shown at the top left of the window.

ubuntu-connect-4.png

Type terminal.

ubuntu-connect-5.png

Click the [端末] (Terminal) icon.

ubuntu-connect-6.png

The terminal program starts. Perform the following steps in the terminal program.

ubuntu-connect-7.png

Type ssh <USER>@<SERVER> and press the Enter key to connect to the server. Replace <USER> with your own user name and <SERVER> with the target connection server.

ubuntu-connect-8.png

To execute the GUI application, input ssh -X <USER>@<SERVER>.

ubuntu-connect-9.png

Supplement

Registering Shortcuts

Right-click the [端末] (Terminal) icon at the left of the window and select [Launcherに登録] (Keep in Launcher) to register the terminal as a shortcut. After this operation, you can launch the terminal just by clicking the [端末] (Terminal) icon at the left of the window.

ubuntu-connect-op-1.png

Closing the Virtual Machine

To close the virtual machine, click the cog icon shown at the top right of the window, and select [シャットダウン] (Shut Down).

ubuntu-connect-op-2.png

Then click the power button icon on the right.

ubuntu-connect-op-3.png

Creating a Public Key

You can create a public key as you can in Linux or Mac OS X. Click the link to refer to the details.