I think explicitly calling osso-xterm with an exec flag from the shell script should do what you are saying here. Something like this: Code: #!/bin/sh /usr/bin/osso-xterm -e "nohup x11vnc -forever" Note: don't use the "&" flag, or the xterm will spawn off an independent x11vnc process and immediately close! Edit: Or not. I just tried running osso-xterm -e "fennec &", and it worked exactly the same as just osso-xterm -e "fennec". Oh well, guess you can't use that sort of flag with -e...
#!/bin/sh /usr/bin/osso-xterm -e "nohup x11vnc -forever"
#!/bin/sh /usr/bin/osso-xterm -e "fennec"