bring up GUI on solaris

I have just installed solaris 10 on a sever .would appreciate if somebody can help me bringing up the GUI(basically i want to launch the browser)

1 Like

sounds like you are accessing your server remotely?

within your xterm connection, export your DISPLAY and launch mozilla :smiley:
(use xclock to test DISPLAY settings...)

I have the following in my .bash_profile that takes care of this:
DISPLAYHOST=$(who -mu | awk '{print $8}' | sed 's/(//' | sed 's/)//')
DISPLAYHOST=${DISPLAYHOST%%:0.0}
DISPLAY=$DISPLAYHOST:0.0; export DISPLAY
echo "DISPLAY has been set to $DISPLAY"

of-corse you need to have a browser installed :smiley:
bash-3.00# pkginfo -i | grep mozilla
MOZ17 SUNWmozilla Mozilla Web browser
MOZ17 SUNWmozilla-devel Mozilla for Solaris(TM) - Mozilla Web browser - developer files

-bash-3.00$ which mozilla
/usr/sfw/lib/mozilla/mozilla

1 Like