Avatar of Jason Yu
Jason Yu
Flag for United States of America asked on

could anyone explain how to set up $DISPLAY paramter?

I have an oracle host with below settings.

#if [ -z "$REMOTEHOST" ]
#then
#DISPLAY=`hostname`:0.0; export DISPLAY
#else
#DISPLAY="$REMOTEHOST":0.0; export DISPLAY
#fi
#DISPLAY=localhost:1; export DISPLAY
#xhost + localhost


If I don't disable them, I will get trouble to run oracle gridware installer. Could anyone help me what each line means?

I want to know clearly what this if clause does!

thanks.
LinuxLinux Distributions

Avatar of undefined
Last Comment
arnold

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61