Select Page

As an avid developer of SAS Stored Process Web Applications, the Macbook Pro is my development machine of choice.  Since building a macro to programmatically create STPs, I’ve had few reasons to launch a VM to use client tools – but today I actually did need to use SAS Management Console (SMC).

Still – who says a client tool has to be run from a client?  It’s actually possible to launch SMC from your SAS Server, and here are the steps you need to make:

1 – Enable X11 forwarding

Open /private/etc/ssh/ssh_config and uncomment / change the following values:

#   ForwardAgent no
#   ForwardX11 no

to:

   ForwardAgent yes
   ForwardX11 yes

Next, open /private/etc/ssh/sshd_config and uncomment / change the following value from:

#  X11Forwarding no

to:

   X11Forwarding yes

2 – Download Xquartz

This can be downloaded directly from here, or via the following command in terminal:

brew cask install xquartz

3 – Launch Management Console

If it does not work immediately, try opening a new shell or performing a restart.  The commands will be along the lines of:

ssh -Y [email protected]
cd /pub/sas/SASManagementConsole/9.4
./sasmc_console

and – voila:

If building web applications with SAS is something you’d like to try, then check out this quick guide (or in depth paper). 

Alternatively, if you’re just the type of person who loves to learn about all things SAS, then come visit sasensei.com!

Chat soon..

/Allan