Rather than running xdm all the time (nobody but me ever logs in,  and I
can't remote Xdm into the machine because it's behind a firewall),  I'd
like to simply write a script in my .bash_profile that determines if I'm
logged on from the console and runs startx if I am.  

Anybody got any way for a script to tell if 
1) I'm logged onto the console
2) there's no other X process running

                                Thanks

                                                        Will


--------------------------------------------------------------------------
|             [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]           |
|                       http://www.cis.udel.edu/~lowe/                   |
|    PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey    |
--------------------------------------------------------------------------
|           You think you're so smart,  but I've seen you naked          |
|                  and I'll prob'ly see you naked again ...              |
|                 --The Barenaked Ladies,  "Blame It On Me"              |
--------------------------------------------------------------------------


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to