Der/Die ehrenwerte Andrea Spadaccini <[EMAIL PROTECTED]>
beehrte uns am Fri, 4 Jul 2003 15:29:30 +0200 mit folgende Zeilen:

> On Fri, 04 Jul 2003 01:21:20 -0400
> [EMAIL PROTECTED] (Vinh TON THAT) wrote:
>  
> > I used EvilEntity Linux which uses init 2 and only E as Wm, for every
> > user when one enter password, X boots automatically, only root has to
> > type "startx".
> > 
> > So ,  I'd like to find the script which does it.
> > 
> > Have you any idea ?
> 
> so you want X to start automatically even when you log in as root, right?
> 
> if so, why don't you add to /root/.bashrc file "startx" ?
> 
I would add the following lines to my /root/.bashrc

----
if [ `ps -e | grep -c XFree86` -eq 0 ]; then
   startx
fi
----

If you are just putting a plain startx there, everytime you want to open a terminal 
(like Eterm or aterm) your computer will try to start X.
With the lines above X will be started only once, right after your login as root.

Ainulindale


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to