[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

about startx



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?
-- 
Zeng Nan

Simple is Beautiful.

Attachment: pgpBKfQdAlpT5.pgp
Description: PGP signature


Reply to: