Re: text login to X



Barry Margolin wrote:
In article <1143186680.470020.187380@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Michael Paoli" <michael1cat@xxxxxxxxx> wrote:
exec startx
logout
exit

No need to logout if you use "exec", since when startx exits there's no shell process any more.

But does the .profile (or whatever) run in a subshell, or in the login shell's process? If a subshell, you'd still have the login shell alive after X was killed.

Tim
.