Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use iTerm2 as X11 terminal (for fonts, themes, etc)?

I have to use Quartz X11 window when I want to plot data that is on a remote server (using NX). I'd like to use my iTerm terminal as the interface to this, as it is nicely customized with fonts, themes, etc - instead of the bare xterm window. How do I do this?

like image 512
Andrew Avatar asked Jul 30 '15 20:07

Andrew


People also ask

How do I add fonts to iTerm2?

Open the downloaded font and press "Install Font". Set this font in iTerm2 (iTerm → Preferences → Profiles → Text → Font), in the dropdown select the desired Font. You will see it change on the fly. Restart iTerm2 for all changes to take effect.

How do I use iTerm2 on Mac?

How do I open iTerm2 on Mac? To open iTerm 2, you simply need to double-click its icon – the one that you downloaded. If you go through the process of setting up hotkeys for the app, you will also be able to open iTerm2 through a specified by you keyboard combination.


1 Answers

Assuming that you have set-up everything correctly with ssh and XQuartz. You need to set-up the DISPLAY environmental variable:

export DISPLAY=:0
ssh -Y ...
# start your app

xterm has variable DISPLAY automatically set by default.

like image 139
Igor Avatar answered Sep 20 '22 13:09

Igor