Hi, This is 94M3 on Linux. I can run this command from the linux bash shell, it runs fine: /apps/sas/SASConfig/Lev3/SASApp/WorkspaceServer/WorkspaceServer.sh -sysin /tmp/mySasProgram.sas Now I run this command from a SAS Enterprise Guide-started Workspace Server session from an X command with this code: x '/apps/sas/SASConfig/Lev3/WorkspaceServer/WorkspaceServer.sh -sysin /tmp/mySasProgram.sas'; It does not run fine. The Workspace Server session is started but metadata libraries are not assigned. The log shows: 2017-08-03T17:56:06,321 ERROR [00000006] :bart.heinsius - ERROR: Invalid credentials 2017-08-03T17:56:06,321 ERROR [00000006] :bart.heinsius - ERROR: Access denied. The metadata server log shows (don't mind the time stamps): 2017-08-02T18:36:01,320 WARN [01144984] : SYSTEM@MUNTSE-S-10161 - SAS token not found from bart.heinsius. 2017-08-02T18:36:01,320 WARN [01144984] : SYSTEM@MUNTSE-S-10161 - New client connection (36753) rejected from server port 38561 for user bart.heinsius@!*(generatedpassworddomain)*!. Peer IP address and port are [::ffff:144.209.58.209]:38902 for APPNAME=SAS. 2017-08-02T18:36:01,320 INFO [01144984] : SYSTEM@MUNTSE-S-10161 - Client connection 36753 closed. It seems that the shell spawned by the xcmd is not the same as my normal login shell. Why is this? What can I do to fix it? Bart
... View more