My VNC connection to gnome works but I have about 10 xterm 's open. Each time I close one, it respawns. Any ideas on how to shut them down? I tried killing them from the bash script but they restart.
# Add the following line to ensure you always have an xterm available.
#( while true ; do xterm ; done ) &
# Uncomment the following two lines for normal desktop:
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
Also, I cannot see a gnome panel anymore, when it starts up it says that a panel is alreday running.