LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xterm keeps respawning and no gnome panel (https://www.linuxquestions.org/questions/linux-newbie-8/xterm-keeps-respawning-and-no-gnome-panel-821070/)

qwertyjjj 07-20-2010 01:40 PM

xterm keeps respawning and no gnome panel
 
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.

Code:


#!/bin/sh
# 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:
unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
[ -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" &
twm &

Also, I cannot see a gnome panel anymore, when it starts up it says that a panel is alreday running.


All times are GMT -5. The time now is 07:03 AM.