BookmarkSubscribeRSS Feed
RenzoFalconieri
Calcite | Level 5

Good evening,

I have a little problem; i need to enter, by Mobaxterm, in sasmc but i don't suceed:

 

first i try to set environment variable:

at prompt Linux:

 

export DISPLAY=192.168.1.234:0.0

./sasmc

show no error

 

I'm working at home by my service provider.

 

Someone can help me?

Thanks

 

16 REPLIES 16
alexal
SAS Employee

@RenzoFalconieri ,

 

The best way to test a connection to your X11 server is to run xclock application. If xclock work, you should be able to start the SAS Management Console.

RenzoFalconieri
Calcite | Level 5

Thanks,

how can run xclock command? run without parameters?

alexal
SAS Employee
Make sure the xorg-x11-apps package installed on the server. If yes, you should be able to run xclock application without any options (of course if you have a valid connection to your X11 server).
RenzoFalconieri
Calcite | Level 5

the variable is empty after run command you suggest

Kurt_Bremser
Super User

Then you do not have the X Windows server running on your desktop and/or X11 Forwarding enabled.

Edit: or X11 Forwarding is not enabled for the SSH daemon on your server.


@RenzoFalconieri wrote:

the variable is empty after run command you suggest


 

RenzoFalconieri
Calcite | Level 5
I ask this someone can set it
RenzoFalconieri
Calcite | Level 5
Very kind of you to follow me!
i find under "MobaXterm Configuration - X11 - X11 server display mode":
"Multiwindow mode" . Trasparent X11 server integrated in Windows Desktop
Kurt_Bremser
Super User

You need to make sure that "X11 Forwarding" is enabled in the session parameters of your session (it is not in the Mobaxterm configuration), and for the SSH server(daemon) on your SAS server. In UNIX servers, this is done in  /etc/ssh/sshd_config

RenzoFalconieri
Calcite | Level 5
Thanks KurtBremser,

I don't know how to resolve.
I cannot modify /etc/ssh/sshd_config because only system administrator can do it.
Kurt_Bremser
Super User

@RenzoFalconieri wrote:
Thanks KurtBremser,

I don't know how to resolve.
I cannot modify /etc/ssh/sshd_config because only system administrator can do it.

Then have him or her do it. X11 Forwarding should be enabled on all SSH servers that have administration tools with a GUI.

JoseAntonio
SAS Employee
cd /opt/sas/SASHome/SASManagementConsole/9.4/
./sasmc
Or simply /opt/sas/SASHome/SASManagementConsole/9.4/sasmc
RenzoFalconieri
Calcite | Level 5
Spoiler

Thanks!


/u02/SAS/SASHome/SASManagementConsole/9.4/sasmc
//u02/SAS/SASHome/SASManagementConsole/9.4/sasmc: line 284: cd /home/CYB-ADMIN2: permission denied
Error: Your  DISPLAY environmental variable has not been set.

Please set it and run this application again



suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 16 replies
  • 3696 views
  • 0 likes
  • 5 in conversation