Hi, I have tried to add a line "xscreensaver -no-splash &" in the ~/.xsession file but the X cannot be started up currectly, it will return to the tty1 finally after the "startx" command was issued. But now the problem is solved, I created a file "98scrsvd" with a line "xscreensaver -no-splash &" in it in /etc/X11/Xsession.d/ and now it works well. The prefix "98" indicates it will be sourced at last (the X is already started up). But I am still not very clear what is the really sequence and usage of those .xinitrc and the .xsession files, the manual seems not very much helpful. Anyone can explain this to me? Thx a lot!
Deephay ----- Original Message ----- From: "David Berg" <[EMAIL PROTECTED]> To: "Deephay" <[EMAIL PROTECTED]> Cc: "debian_user" <debian-user@lists.debian.org> Sent: Thursday, February 16, 2006 1:15 PM Subject: Re: How to start an application automatically after X is started up? > On 2/15/06, Deephay <[EMAIL PROTECTED]> wrote: >> but I to know that if I can do something with >> the X initiating scripts >> > Try using .xsession like I suggested in my previous post. If that > doesn't work, let us know what the error message(s) if any are and how > it fails. > > Also, how are you starting X? Are you using startx or a display manager? > > --Dave >