Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I've installed productView and Pro/E on my Windchill server (solaris 10), however, whenI try to publish something it always errors out. It appears that I'm problems with Pro/E wanting the xserver process running in the background. Has anyone set this configuration up successfully? I've reviewed TPI 143625 and I am having difficulty setting up the virtual frame buffer decribed in the reference.
Thanks
In Reply to Andrew Miner:
I've installed productView and Pro/E on my Windchill server (solaris 10), however, whenI try to publish something it always errors out. It appears that I'm problems with Pro/E wanting the xserver process running in the background. Has anyone set this configuration up successfully? I've reviewed TPI 143625 and I am having difficulty setting up the virtual frame buffer decribed in the reference.
Thanks
This is what I have done to get this setup on Solaris 10.
Contents of /opt/ptc/worker/proeworker.root
server4# more proeworker.root
#!/bin/sh
#rsj 08/31/2009
#This script starts proeworker as user cadworker
su - cadworker -c /export/home/cadworker/proe_setup/proeworker.cadworker
server4#
Contents of cadworker's $HOME/proe_setup/proeworker.cadworker script
server4# more proeworker.cadworker
#!/bin/sh
#rsj 08/31/2009
#Script to launch proeworker
#The main function of this script is to find a vncserver running as
#the user (cadworker) and set the display to that server.
if [ "`ps -ef | grep Xvnc | grep $USER | grep -v grep`" != " ]; then
#the user already has at least one vncserver running on this host
#find the current running viewer display(s)
#vds=`ps -ef | grep Xvnc | grep $USER | grep -v grep | awk '{print $9}'`
vds=`ps -ef | grep Xvnc | grep $USER | grep -v grep | cut -c52- | awk '{print $2}' | sort | head -1`
DISPLAY="`hostname`${vds}"
export DISPLAY
else
#no displays found so we need to exit
echo "Error: No vnc displays found for $USER"
exit 1
fi
cd $HOME/proe_setup
./proeworker
server4#
Hope this helps.
------------------------------------------------------------------------
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
PO Box 5060
Salina, KS USA 67401
email: -
Phone: 785-823-3276
Fax: 785-667-2695
------------------------------------------------------------------------