Difference between revisions of "Training/XQuartz"

From HPC
Jump to: navigation , search
m (Installing XQuartz)
m (Installing XQuartz)
Line 17: Line 17:
 
* Open the Terminal App<BR><BR>
 
* Open the Terminal App<BR><BR>
 
* Login to Viper ssh -Y <username>@viper.hull.ac.uk
 
* Login to Viper ssh -Y <username>@viper.hull.ac.uk
<pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
+
 
[username@login01 ~]$ ssh -Y <username>@viper.hull.ac.uk
+
'''IMPORTANT''' : Use the -Y option to enable windowing on the host computer.
</pre>
 
{|
 
|style="width:5%; border-width: 0" | [[File:icon_exclam1.png]]
 
|style="width:95%; border-width: 0" | Note: -Y is used to enable the X window system..
 
|-
 
|}
 
  
 
==Test XQuartz==
 
==Test XQuartz==

Revision as of 12:13, 15 November 2022

Introduction

  • XQuartz is an open-source version of X.Org X Window System that runs on macOS, it is required to run certain cross-platform applications on macOS.
  • XQuartz was included with Mac OSX 10.5 (Leopard) onwards, for all subsequent releases XQuartz is not included and must be downloaded separately.

Installing XQuartz

  1. Download the latest version of XQuartz from https://www.xquartz.org

  2. Navigate to the Downloads folder and open the XQuartz Disk Image (XQuartz-2.8.1.dmg)
  3. Open the XQuartz package (XQuartz.pkg)

XQuartz Package.png

  • Follow the installation steps, accept the licence agreement and choose an installation destination.

XQuartz Install.png

  • Once installation is complete log out and log in.

XQuartz Complete.png

  • Open the Terminal App

  • Login to Viper ssh -Y <username>@viper.hull.ac.uk

IMPORTANT : Use the -Y option to enable windowing on the host computer.

Test XQuartz

To test X11 support type xclock, an analogue clock should appear.

[username@login01 ~]$ xclock

XClock.png

Alternative options

MacPorts

Further Information

Licence: Apple Public Source Licence and MIT
XQuartz
Apple Support - X11


Navigation