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.
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
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
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.