alias myaixterm "/usr/bin/X11/aixterm -ls -name mbaker \
-bg white -cr red -sb -sl 32768&"
alias myxterm="nohup /usr/openwin/bin/xterm -ls -name $(hostname) \
-fg black -bg white \
-cr red -ms red -sb -sk -fn 8x16 -sl 10000 &"
/usr/openwin/bin/xterm -C -ls -name CONSOLE-cheetah -bg white \
see /usr/bin/X11/lib/X11/rgb.txt for colors
%resize #shows size of rows and columns
%stty rows 24
%stty columns 80
If you need more than xhosts, this puts a cookie in your ~/.Xauthority
xauth add cheetah.somedomain.com:0 . 364b45797a3678305473537a67312f64
xauth add cheetah.somedomain.com/unix:0 . 364b45797a3678305473537a67312f64
----------------------------------------------------------------------------
----------------------------------------------------------------------------
There is an X Virtual Frame Buffer process for users who need to send an x Window to the equivilent of "/dev/null."
The process is kicked off by the /etc/rc3.d/S90Xvirtual file which is linked to /etc/init.d/Xvfb.
For this process to work the Xvfb binary must be in /usr/openwin/bin and /usr/X11R6 should be a link to /usr/X.
----------------------------------------------------------------------------
#!/bin/sh
#
##############################################
state=$1
DISPLAY=:0
case $state in
'start')
if [ -f /usr/X11R6/bin/Xvfb ]
then
echo Starting X Virtual Frame Buffer........
/usr/X11R6/bin/Xvfb -ac :0 > /dev/null 2>&1&
[ "$?" -eq 0 ] && /usr/openwin/bin/olwm > /dev/null 2>&1&
else
echo /usr/X11R6/bin/Xvfb not found.
fi
;;
'stop')
echo Not Shutting down Xvfb. Please kill it manually.
;;
*)
echo "usage: /etc/init.d/Xvfb {start|stop}"
;;
esac
exit ${EXITCODE:-0}
----------------------------------------
For Solaris 10 w/ Xvfb
X Window System server with a Virtual Frame Buffer
INSTALL STEPS:
1. cp above file to /var/svc/manifest/snapon/xvfb-server.xml
2. svccfg
* svc> import /var/svc/manifest/snapon/xvfb-server.xml
* svc> select xvfb-server
* svc> add default
* svc> select default
* svc> addpg option application
* svc> quit
3. svcadm enable xvfb-server
----------------------------------------