Launching GUI Programs (X11)
Overview
Juno supports running graphical user interface (GUI) programs through two main methods:
- Open OnDemand — a web-based portal, recommended for most users
- X Window System — traditional X11 forwarding, covered on this page
Looking for the web portal?
For most interactive GUI work, Open OnDemand is easier — just a browser, no setup. Use X11 forwarding (below) when you need a specific GUI program that isn't available as an interactive app.
Note that X11 does not support interactive file management the way Open OnDemand does — for browsing, uploading, downloading, and editing files through a graphical interface, use the portal's file manager.
X Window System (X11 Forwarding)
For users who prefer command-line access or need specific GUI programs not available in Open OnDemand.
Prerequisites
Install an X server on your local computer:
Mac
Install XQuartz:
- Download from xquartz.org
- Install the .dmg file
- Log out and log back in (required)
- Open XQuartz
- Use the XQuartz terminal for SSH
Windows
Install MobaXterm (Recommended):
- Download from mobaxterm.mobatek.net
- Choose Home Edition (free)
- Install the software
- X server starts automatically with MobaXterm
- Use MobaXterm's built-in terminal
Alternative: Xming:
- Download Xming
- Install Xming
- Start Xming from Start menu
- Use PowerShell or PuTTY with X11 forwarding enabled
Linux
X11 is traditionally installed on Linux, so no additional software is needed. Be aware, however, that X11 is legacy software and is no longer actively supported by its developers — if you hit problems, prefer Open OnDemand instead.
Logging In with X11
ssh -X netID@juno.utdallas.edu
Note
Use capital -X for X11 forwarding, not lowercase -x
For slower connections, use compression:
ssh -XC netID@juno.utdallas.edu
Testing X11 Forwarding
After logging in with -X, test with a simple program:
xclock
If a clock appears on your screen, X11 forwarding is working correctly!

Running GUI Programs on Login Node
Note
Only use login nodes for quick tests or launching programs that will run on compute nodes.
# Test X11
xclock
# Launch MATLAB (from login node, not recommended for computation)
module load matlab/r2024b
matlab
Running GUI Programs on Compute Nodes
Recommended approach: Request resources, then launch GUI program.
# Step 1: Request resources on login node
salloc -p normal --mem=8GB -c 4 -t 2:00:00
# Step 2: Check which nodes are assigned
squeue --me
# Step 3: Start interactive session with X11
ssh -X c-XX-YY # Node c-XX-YY was assigned
# Now on compute node, launch GUI program
module load matlab/r2024b
matlab
Your prompt changes from juno-l-01 to c-XX-YY, indicating you're on a compute node.
Common GUI Applications
MATLAB
# Load MATLAB module
module load matlab/r2024b
# Launch MATLAB GUI
matlab
# Or run MATLAB script without GUI
matlab -nodisplay -nosplash -r "run('script.m'); exit;"
After running matlab, the full MATLAB desktop opens on your local screen via X11, running on the compute node.


Ansys Fluent
module load ansys/2025R1
fluent
Stata
module load stata/19.5
xstata
Troubleshooting X11
"Cannot open display" error
Problem: X11 forwarding not working
Solutions:
- Verify X server is running on your local machine
- Mac: Check XQuartz is running
-
Windows: Check MobaXterm or Xming is running
-
Check DISPLAY variable:
Should show something likeecho $DISPLAYlocalhost:10.0 -
Re-login with -X flag:
ssh -X netID@juno.utdallas.edu -
Try -Y instead of -X (Mac users):
ssh -Y netID@juno.utdallas.edu -
Check SSH config: Add to
~/.ssh/configon your local machine:Host juno HostName juno.utdallas.edu User your_username ForwardX11 yes ForwardX11Trusted yes
Slow Performance
Problem: GUI is laggy or unresponsive
Solutions:
-
Enable compression:
ssh -XC netID@juno.utdallas.edu -
Reduce color depth (if using VNC/remote desktop)
-
Consider using Open OnDemand instead (better for slow connections)
-
Close unnecessary windows and programs
X11 Works on Login but Not Compute Node
Solution: Use -X flag when you log in to the compute node:
ssh -X c-XX-YY
X11 Configuration Tips
SSH Config File
Create ~/.ssh/config on your local machine:
Host juno
HostName juno.utdallas.edu
User your_username
ForwardX11 yes
ForwardX11Trusted yes
Compression yes
Now you can simply:
ssh juno
Keep Connection Alive
Add to SSH config:
Host juno
ServerAliveInterval 60
ServerAliveCountMax 3
Best Practices
- Choose the right method:
- Open OnDemand for most interactive work
-
X11 for specialized programs not in OnDemand
-
Request appropriate resources:
- Start with modest requests (2-4 cores, 8GB RAM)
-
Scale up if needed
-
End sessions when done:
- Don't leave interactive sessions running unnecessarily
-
Fair share applies to interactive jobs too
-
Test on login node first (briefly):
- Verify program launches
-
Then move to compute nodes
-
Use tmux/screen with X11:
# Start tmux before requesting resources tmux new -s gui_session salloc ...
Example Workflow: MATLAB with X11
- Open XQuartz terminal (Mac) or MobaXterm (Windows)
ssh -X netID@juno.utdallas.edusalloc -p normal --mem=16GB -c 4 -t 4:00:00squeue --messh -X c-XX-YYmodule load matlab/r2024bmatlab- Work in MATLAB GUI
- Exit MATLAB
exitfrom compute nodeexitfrom login node
For interactive-app workflows (Jupyter, RStudio), see Open OnDemand.
Next Steps
- Use the Open OnDemand web portal →
- Set up VSCode for remote development →
- Learn about containerized applications →
- Optimize your interactive workflows →
Need Help?
- Email: circ-assist@utdallas.edu
- HPC Services: hpc.utdallas.edu/services
- Open a ticket: For specific GUI application requests or issues