jqdkf@zju.edu.cn wrote:
Try starting a new shell first, and see if that has the same symptoms as the script:Hi, I wrote a shell script named sx to start a X session from console, it is written like this $ cat bin/sx #!/bin/bash startx > /dev/null 2>&1 & This script always do the trick, but since recently I changed to sarge,it doesn't work. And what seems confusing is that if I type them directly from console, it works well$ startx > /dev/null 2>&1 & it will start an X session. I wonder what's wrong with it?
$ /bin/bash # startx > /dev/null 2>&1 & -- Kent West (westk@acu.edu)