Need help with Xvnc - SPARC w/ Solaris 10
I keep getting the following in the log when executing 'vncserver':
ld.so.1: Xvnc: fatal: libstdc++.so.6: open failed: No such file or directory
xsetroot: unable to open display 'tubeamp:33'
xterm Xt error: Can't open display: tubeamp:33
twm: unable to open display "tubeamp:33"
I searched the forums and added SFWgcmn, and added the following PATH variable:
LD_LIBRARY_PATH=/opt/sfw/lib/locale:/opt/sfw/lib
Could I be missing other packages or PATH variables?
Thanks in advance for any assistance!
-john
[588 byte] By [
jmoorhead] at [2007-11-25 22:54:12]

# 1
It took some time, but I was able to get Xvnc working on my own!!! For anyone that is interested, this is what I did to get VNC working on Solaris 10:
1 - downloaded & installed the 'SFWgcmn' software package
2 - created a new user, 'jmoorhead', since I was only using the 'root' account
3 - modified the new user's profile, which now looks like:
# pwd
/home/jmoorhead
# cat .profile
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
# ident "@(#)local.profile1.1001/06/23 SMI"
stty istrip
PATH=/usr/bin:/usr/ucb:/etc:/opt/sfw/bin:/usr/openwin/bin:.
export PATH
LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib/sparcv9:/usr/sfw /lib:.
export LD_LIBRARY_PATH
#
NOTE: The LD_LIBRARY_PATH is needed for the shared libraries that VNC uses
4 - to run CDE via xVNC, modify the 'xstartup' file to include the '/usr/dt/bin/dtwm &' statement, which launches CDE in the VNC session:
# pwd
/home/jmoorhead/.vnc
# cat xstartup
#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/dt/bin/dtwm &
#