Skip to Content.
Sympa Menu

baslinux - Re: [BL] boot BL3 straight into Xvesa: how?

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] boot BL3 straight into Xvesa: how?
  • Date: Fri, 23 Mar 2007 15:55:56 -0700

Steven wrote:
James wrote:

> Could I just put
> -------------------------------------
> tty1::respawn:/bin/sh -c /usr/bin/startx
> -------------------------------------

That could work. However, when you start something
from inittab, there is no PATH set. You have
correctly used the full pathnames above, but startx
(and the executables that follow) also will not have
a PATH set.

This line appears to work on BL3.5:
tty1::respawn:/bin/sh -sc startx

/bin/sh is getting a PATH from somewhere. /etc/profile?
Change "tty1" to something else if you want to be able to use it while
this X instance is running. Adjust "respawn" or the sh -c argument to
add gimmicks like a delayed startup or immediate shutdown after X is
done.

The rxvts start normally, and they contain login shells, so aliases
and other parts of /etc/profile work correctly. You can start mgp by
putting it in xinitrc or from the menu.

David




Archive powered by MHonArc 2.6.24.

Top of Page