Starting MAE From X Client As User Other Than Login User (5/95)


When I log into our X Client as "USER1", and then 'su -l' to "MAEUSER" to start MAE from the X Client, I am unsuccessful. Our current setup has a particular user named "MAEUSER" which is setup to start MAE, we also want to keep this setup. What is wrong?

When you 'su -l' to a different user, some environment variables do not transfer to the new user, one of them being DISPLAY. For this to function, follow the steps below:

Step 1
------
After 'su -l' to the user that has access to MAE, set the DISPLAY variable in this manner:

#ksh
#DISPLAY=IP address of X Server:0.0 <- You may also use the X Server name
. rather than IP Address.
#export DISPLAY

Step 2
------
Start MAE with extensions off with this command:

#./apple/bin/mae -noextensions

Step 3
------
When trying to use MAE in this environment, CloseView will cause MAE to hang during launch. After starting MAE with extensions off, remove the CloseView control panel (or use the Extension Manager). If you have several users with this setup, it would be advisable to remove the CloseView control panel from ./apple/sys/Control Panels/CloseView so that any system folder created will not have this control panel.


Support Information Services
Published Date: Feb 19, 2012