MindStudio IDE Startup

Linux OS

On Linux OSs, start MindStudio IDE as follows:

As the MindStudio IDE installation user, go to the MindStudio/bin directory generated after package extraction and run the following command:

./MindStudio.sh

After MindStudio IDE is started, run the following command to query the process:

ps -ef|grep idea

If the system displays a message indicating that no sufficient space can be reserved for the object heap during MindStudio IDE startup, you can refer to What Do I Do If MindStudio IDE Cannot Be Started When the Set Memory Is too Large? to rectify the fault.

macOS

On a macOS, MindStudio IDE is started through an SSH connection. The specific procedure is as follows:

  1. Download XQuartz based on the macOS version to implement the Linux GUI. You can click link to download and install XQuartz, as shown in Figure 1.
    Figure 1 XQuartz download
  2. Configure the environment variable in either of the following ways:
    • Method 1: Open the local terminal and run the following command:
      export DISPLAY=:0
    • Method 2: Run the following command on the remote server to open the ~/.bashrc file in the file system:
      vi ~/.bashrc

      Append the following environment variable to the file:

      export DISPLAY=:0

      Run the :wq! command to save the file and exit.

      Run the source ~/.bashrc command for the modification to take effect immediately.

  3. Click link to download and install the remote desktop management tool Royal TSX, as shown in Figure 2.
    Figure 2 Royal TSX Download
  4. After the installation is complete, open Royal TSX and choose Royal TSX > Plugins... on the top menu bar, as shown in Figure 3. On the Plugins tab page, search for and install the Terminal (supporting SSH connection) and File Transfer (supporting file transfer) plugins in Available Plugins, as shown in Figure 4.
    Figure 3 Entering the Plugins installation page
    Figure 4 Plugin installation
  5. Choose File > New Document on the top menu bar to create a Document for remote connection, as shown in Figure 5. To easily identify the Document type, you can change the Document name.
    Figure 5 Document creation
  6. Select the newly created Document and choose Add new Template > Terminal from the pop-up box, as shown in Figure 6. The Terminal Connection Settings page is displayed.
    Figure 6 Add new Template page
  7. On the Terminal Connection Settings page, configure information about the SSH connection.
    1. On the Terminal tab page, configure information about the remote server connection, as shown in Figure 7. Table 1 lists the parameters.
      Figure 7 Terminal configuration
      Table 1 Terminal parameters

      Parameter

      Description

      Mandatory (Yes/No)

      Display Name

      Name of the local remote connection. Set this parameter as required.

      Yes

      Connection Type

      Connection mode. Use the SSH connection.

      Yes

      Port

      Port number of the remote server.

      Yes

      Computer Name

      Domain name or IP address of the remote server.

      Yes

      Description

      Description about the remote connection. Set this parameter as required.

      No

      MAC Address

      MAC address of the remote server.

      No

      Click Apply&Close for the configuration to take effect.

    2. On the Credentials tab page, configure the login mode. You can select either of the following two modes:
      • Credential: Use the username and password for login authentication.

        Select Specify username and password in the following text box, and enter the username and password of the remote server in Username and Password. See Figure 8. Click Apply&Close for the configuration to take effect.

        Figure 8 Using the username and password for login authentication
      • Private Key File: Use a key for login authentication.

        Select Embed Private Key File in the following text box. Then, select a key file in Private Key File, and enter a passphrase or click to generate a random passphrase in Passphrase. See Figure 9. Click Apply&Close for the configuration to take effect.

        Figure 9 Using a key for login authentication
    3. On the Advanced tab page, click SSH, select Enable X11 forwarding in X11 Forwarding, and retain the default values for other parameters. Then, click Apply&Close for the configuration to take effect. See Figure 10.
      Figure 10 Advanced configuration
  8. After the SSH connection information is configured, a configured remote connection is generated under the Document created in 5. Select the connection and click Connect in the pop-up box, as shown in Figure 11.
    Figure 11 Establishing a remote connection

    The remote server is successfully connected, as shown in Figure 12.

    Figure 12 Successful connection
  9. Go to the bin folder in the MindStudio IDE installation directory and run the following command to start MindStudio IDE:
    ./MindStudio.sh