I want to use Linux desktop applications via SSH connection

You can forward the screen of a Linux desktop application to your own PC (Windows) via SSH connection.
This section describes the setup procedure in the following environment.

  • SSH Host : Linux server on the Internet or intranet
    * X11Forwarding must be allowed on the server side.
  • SSH Client : Tera Term (Download : GitHub)
  • X Server : VcXsrv Windows X Server (Download : SourceForge)
    * Or your favorite X server.

First, install Tera Term and VcXsrv in your PC and set up the Tera Term as follows.

  1. Click [Setup]-[SSH Forwarding…] on the Tera Term menu bar. Then check [Display remote X applications on local X server] in the [TTSSH: Forwarding Setup] dialog box.
  2. The following alert dialog box will pop up. Click the [OK] button.
  3. Click [Setup]-[Save setup…] on the Tera Term menu bar to save the settings.

Next, click the XLaunch icon on the desktop to launch the application and set up as follows.

  • Setting 1
  • Setting 2
  • Setting 3
  • Setting 4

This completes the setup.
Connect Linux server using Tera Term and if the environment variable “DISPLAY” is set to a value, this is normal.
(The left side of the colon shows the host name of the Linux server you are connecting to, and the right side shows the automatically assigned display number.)

$ echo $DISPLAY
kiri:10.0

Below is a screenshot of xeyes.
You can use large applications like Firefox and Mathematica over X11 forwarding. However, it is very slow and not practical.

Remote Desktop Service failed to connect due to an error

When Remote Desktop Service try to connect ,

Error.
All desktop sources available on this desktop are currently busy.

is displayed, the number of concurrent users on the Remote Desktop Service server (approximately 30 or so) has been exceeded.
Try again after a while.

For faculty members
– Assignments using a remote desktop service for online classes –
The Remote Desktop Service is intended for temporary use at home and other locations.
The number of users that can be connected at the same time is limited to about 30.
Please instruct students to move the time of use to a different time of day or minimize the time of use.