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

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.

Image for post
Image for post

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

Image for post
Image for post

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

Image for post
Image for post

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.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store