You are here

Launch X (Graphical) Applications remotely

Steps to follow if both the local host and the remote host are Unix or Linux:

Simply run the following to get a X-windows enabled secure shell:

ssh -Y username@remotehost.address
*(For remote login with Trusted X11 Sessions)

ssh -X username@remotehost.address
*(For remote login with non-Trusted X11 Sessions)

Where username is your ENCS username and remotehost.address represents the ENCS server you wish to login to and run applications. Here is a list of servers available and their usage criteria.

Note: If you plan to use these instructions to remotely log into our Solaris server with Secure Shell Client, please be advised that:

  • Synopsys software: must be used within the same five (5) mile radius of the Hall Building.
  • Cadence software: must be used within a radius of one (1) mile of the Hall Building
  • Mentor graphics software: must be used in an educational classroom or laboratory in Concordia University

Steps to follow if the local host is Microsoft Windows

  1. Install the necessary software if you do not already have it.  You will need an X-Server software (we recommend Xming which is installed on all ENCS-managed computer labs) and a SSH client such as Secure Shell Client  or PuTTy
  2. Go to Start -> Programs -> Xming-> Xming


     

  3. This will Launch Xming X-Server, as indicated in the tray by an X icon: 


     

  4. Now you will need to run an SSH client, in this tutorial we will explore two options: PuTTy and Secure Shell Client. 

Secure Shell Client

5. Download and install Secure Shell Client.  Launch it by clicking on it's icon, which looks like:

6. Click on Edit>Settings

7. Under Profile Settings>Connection>Tunneling, check Tunnel X11 connections then click OK.

8. Click Quick Connect, and enter the hostname and your username in the appropriate fields. Above is a list of servers available and their usage criteria. Once you have entered the host and username, click Connect.

9. You may be asked to store the host key in your database, accept the key by clicking Yes.

10. When prompted for your password, enter it and click OK

11. Soon after you should be successfully logged into the server and running a remote terminal session.  Launch your X Windows application from the command line. For example type emacs to launch the application emacs, spawning a new window.

Putty

1. Download and install PuTTy  Launch it by clicking on its icon.

2. Wait for the following screen:

3. Under Connection>SSH>X11, check Enable X11 forwarding

4. Go back to Session (on the left menu list), and enter under Host Name the login server name, make sure that SSH is selected. 

5. You can save your settings by typing a name for your session under Saved Sessions and clicking Save.

6. Click Open and enter your user name and password when prompted.

7. Soon after you should be successfully logged into the server and running a remote terminal session.  Launch your X Windows application from the command line. For example type firefox to launch the firefox browser, spawning a new window.