Difference between revisions of "X Applications"

From Earlham CS Department
Jump to navigation Jump to search
m
m
 
Line 9: Line 9:
  
 
If you run...
 
If you run...
* a Mac: Install and run XQuartz. Then running a simple <tt>ssh -Y tools.cs.earlham.edu</tt> at your Terminal app should open the app appropriately.
+
* a Mac: Install and run XQuartz. At your terminal, enter <code>defaults write org.macosforge.xquartz.X11 enable_iglx -bool true</code>. Then running <tt>ssh -Y tools.cs.earlham.edu</tt> at your Terminal app should open the app appropriately.
* a Windows 10 machine: ? (we don't support pre-10 versions of Windows)
+
* a Windows 10 machine: see below (we don't support pre-10 versions of Windows)
 
* a Linux OS: You probably need nothing extra, so open your terminal and run <tt>ssh -Y tools.cs.earlham.edu</tt>.
 
* a Linux OS: You probably need nothing extra, so open your terminal and run <tt>ssh -Y tools.cs.earlham.edu</tt>.
 +
 +
=== Windows ===
 +
 +
Putty and Xming is the configuration with the least overhead. If all you need is remote forwarding of X applications to your Windows machine, and you don't intend to do much with Linux locally, use them.
 +
 +
Download and install Putty and Xming. Launch Xming (it may be a big gray screen to start with). Then launch and configure Putty:
 +
 +
* Main screen>Hostname: tools.cs.earlham.edu
 +
* SSH>X11>: toggle "Enable X forwarding" on and set display to "localhost:0"
 +
* Main screen>Saved sessions>Type "Graphics" in the box and click "Save Session" so you don't have to do this every time.
 +
 +
Then connect.
  
 
= As an admin =  
 
= As an admin =  
  
 
Firewall or other issues may cause X forwarding problems, but in general setting up an app to use X forwarding doesn't require much extra work (Logisim, for example, worked "out of the box" with the commands above).
 
Firewall or other issues may cause X forwarding problems, but in general setting up an app to use X forwarding doesn't require much extra work (Logisim, for example, worked "out of the box" with the commands above).

Latest revision as of 08:58, 15 May 2020

NOTE: Steps on this page have not yet been tested, so please do not rely on them until we have vetted it.

We support several applications that run through the X Window System. These include...

  • Logisim (POCO)
  • an implementation of OpenGL (Graphics)

As a user

If you run...

  • a Mac: Install and run XQuartz. At your terminal, enter defaults write org.macosforge.xquartz.X11 enable_iglx -bool true. Then running ssh -Y tools.cs.earlham.edu at your Terminal app should open the app appropriately.
  • a Windows 10 machine: see below (we don't support pre-10 versions of Windows)
  • a Linux OS: You probably need nothing extra, so open your terminal and run ssh -Y tools.cs.earlham.edu.

Windows

Putty and Xming is the configuration with the least overhead. If all you need is remote forwarding of X applications to your Windows machine, and you don't intend to do much with Linux locally, use them.

Download and install Putty and Xming. Launch Xming (it may be a big gray screen to start with). Then launch and configure Putty:

  • Main screen>Hostname: tools.cs.earlham.edu
  • SSH>X11>: toggle "Enable X forwarding" on and set display to "localhost:0"
  • Main screen>Saved sessions>Type "Graphics" in the box and click "Save Session" so you don't have to do this every time.

Then connect.

As an admin

Firewall or other issues may cause X forwarding problems, but in general setting up an app to use X forwarding doesn't require much extra work (Logisim, for example, worked "out of the box" with the commands above).