1834351 Members
1987 Online
110066 Solutions
New Discussion

CDE question

 
SOLVED
Go to solution
Amiel Tutolo
Frequent Advisor

CDE question

We just installed a new RP5430 server running 11i. I am trying to connect using Reflections X server. I connect fine but when I su to root to run a GUI sam it only loads the text based menus. What am I missing? This works fine on my 11.0 systems. Is there a different X server I should be running? Any would be greatly appreciated.
Live, love and laugh
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: CDE question

You need to export the DISPLAY variable. It's typically "hostname:0.0" or "ip_address:0.0". If DISPLAY is unset, Sam will run in TUI mode, which is what you're seeing.


Pete

Pete
Sridhar Bhaskarla
Honored Contributor

Re: CDE question

Hi,

Once you su to root, you may be missing your "DISPLAY" environment variable. After doing "su" try this

#echo $DISPLAY

If it displays nothing, then you will need to export the display

#export DISPLAY=IP_address:0
#sam

You can get the IP_Address|name by either running "who -mu" command on the unix session or by doing 'ipconfig' in the DOS command prompt.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: CDE question

vi /etc/rc.config.d/xfs

Change the first variable to 1

RUN_X_FONT_SERVER=1

save the file

/sbin/init.d/xfs start

Make sure DISPLAY variable is set to the Relflections workdstation, this code in /etc/profile or .profile will help.

DISPLAY=$(who -m -u | awk '{print $8}'):0.0
export DISPLAY

Pretty much done.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Amiel Tutolo
Frequent Advisor

Re: CDE question

Thanks for the quick responce. I have modified script that sets the env and all is well.
Live, love and laugh