How to access NVIDIA DGX Station/Linux Workstation remotely from MAC

Omkar Thawakar
Feb 21 · 2 min read

NVIDIA® DGX Station™ is the world’s fastest workstation for leading-edge AI development. This fully integrated and optimized system enables your team to get started faster and effortlessly experiment with the power of a data center in your office. For more info visit AI Workstation for Data Science Teams.

Following article is about accessing NVIDIA DGX Station remotely from MAC with simple ssh and X11.

1. install XQuartz on MAC

X11 is no longer included with Mac, but X11 server and client libraries are available from the XQuartz project.
You can download it from its official website given below
https://www.xquartz.org/
or from App Store

$ ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
$ brew cask install xquartz

2. Allow your MAC to connect to any host with xhost.

3. Enable forwarding for X11

Connect to your DGX station with ssh
$ ssh username@IP_Address -Y
-Y option is for trusted forwarding

4. export DISPLAY variable

$ export DISPLAY=”127.0.0.1:10.0"

don’t forget to provide your local IP address and don’t choose 0.0 DISPLAY otherwise it export current DISPLAY of DGX station and will interrupt the current working user.

5. open any application as shown below

$ spyder or spyder — new-instance

or

$eog image.png

with Linux commands & you will get the instance of your requested application at your MAC with GUI.
Enjoy running your programs remotely on NVIDIA DGX station.

Omkar Thawakar

Written by

I am a machine learning and artificial intelligence enthusiast.I love to solve real-world AI problems. I am deeply interested in Neural Network and AI research

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade