[English|[[SSHClient/WindowsGUI|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 Virtual''''''Box. Next, download the Linux virtual machine disk image, and register it with the Virtual''''''Box. Finally, set up the Linux virtual machine. === Installing VirtualBox === Download the latest setup program from [[https://www.virtualbox.org/wiki/Downloads|the official VirtualBox website]]. The latest version is 4.3.20 as of January 19, 2015. {{attachment:vb-setup-1.png}} Start the downloaded setup program. {{attachment:vb-setup-2.png}} The setup program starts. Click the ['''Next'''] button. {{attachment:vb-setup-3.png}} Customize the installation settings as required. Click the ['''Next'''] button. {{attachment:vb-setup-4.png}} Choose the installation options as required. Click the ['''Next'''] button. {{attachment:vb-setup-5.png}} A message warning that the network connection will be interrupted is displayed. Click the ['''Yes'''] button. {{attachment:vb-setup-6.png}} The final confirmation window before installation is displayed. Click the ['''Install'''] button. {{attachment:vb-setup-7.png}} The dialog that confirms installation of the new device software is displayed several times. Click the [インストール] (Install) button. {{attachment:vb-setup-8.png}} {{attachment:vb-setup-9.png}} {{attachment:vb-setup-10.png}} {{attachment:vb-setup-11.png}} The window to finalize the installation is displayed. Click the ['''Finish'''] button. {{attachment:vb-setup-12.png}} The installation of Virtual''''''Box is now complete. === Installing the Linux Virtual Machine === Download the Ubuntu hard disk image from [[https://www.ubuntulinux.jp/download/ja-remix-vhd|the official Ubuntu Japanese Team website]]. {{attachment:ubuntu-deploy-1.png}} Unzip the downloaded file. A file called '''ubuntu-ja-14.04-desktop-amd64.vhd''' is created. {{attachment:ubuntu-deploy-1-1.png}} Start Virtual''''''Box. {{attachment:ubuntu-connect-1.png}} Click ['''新規'''] (New). {{attachment: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. {{attachment:ubuntu-deploy-3.png}} Set the '''Memory size''' to 1024 MB. {{attachment: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. {{attachment: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). {{attachment:ubuntu-deploy-6.png}} Click ['''ディスプレイ'''] (Display). In the ['''ビデオ'''] (Video) tab, select the ['''3Dアクセラレーションを有効化'''] (Enable 3D Acceleration) checkbox. Then click '''OK'''. {{attachment:ubuntu-deploy-7.png}} Now the Linux virtual machine has been installed. === Setting Up the Linux Virtual Machine === Start Virtual''''''Box. {{attachment:ubuntu-connect-1.png}} Start the Linux virtual machine. {{attachment:ubuntu-connect-2.png}} Choose the language to use and click the ['''続ける'''] (Continue) button. {{attachment:ubuntu-initialsetup-1.png}} Choose your locale and click the ['''続ける'''] (Continue) button. {{attachment:ubuntu-initialsetup-2.png}} Choose your keyboard layout and click the ['''続ける'''] (Continue) button. {{attachment:ubuntu-initialsetup-3.png}} Input the information for the user and click the ['''続ける'''] (Continue) button. {{attachment: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 Virtual''''''Box. {{attachment:ubuntu-connect-1.png}} Click ['''起動'''] (Start) to start the Linux virtual machine. {{attachment:ubuntu-connect-2.png}} Linux starts. Type your password to log in. {{attachment:ubuntu-connect-3.png}} Click the icon shown at the top left of the window. {{attachment:ubuntu-connect-4.png}} Type '''terminal'''. {{attachment:ubuntu-connect-5.png}} Click the ['''端末'''] (Terminal) icon. {{attachment:ubuntu-connect-6.png}} The terminal program starts. Perform the following steps in the terminal program. {{attachment:ubuntu-connect-7.png}} Type ssh @ and press the Enter key to connect to the server. Replace with your own user name and with the target connection server. {{attachment:ubuntu-connect-8.png}} To execute the GUI application, input ssh -X @. {{attachment: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. {{attachment: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). {{attachment:ubuntu-connect-op-2.png}} Then click the power button icon on the right. {{attachment:ubuntu-connect-op-3.png}} == Creating a Public Key == You can create a public key as you can [[en/SSHClient/LinuxMac#PubkeyGen|in Linux or Mac OS X]]. Click the link to refer to the details.