Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2005 10:25:36 +0200
From:      Francois Tigeot <ftigeot@wolfpond.org>
To:        Mathieu PREVOT <mathieu.y.prevot@wanadoo.fr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: autologin only in one ttyv
Message-ID:  <20050902082536.GA1279@aoi.wolfpond.org>
In-Reply-To: <01ac2b857a762ef9bbaa48dc6b781cb3@wanadoo.fr>
References:  <01ac2b857a762ef9bbaa48dc6b781cb3@wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 01, 2005 at 09:59:20PM +0200, Mathieu PREVOT wrote:
> 
> I would like to autologin in *only one* ttyv (eg ttyv1) and then launch 
> X with xinit manually or with a script.
> I used ":al=<me>:" in /etc/gettytab and added or not xinit in 
> /etc/<login file>, but it's not very satisfying!
> Hence, I would like this to occur only for ttyv1. Can someone help me?

I have done a similar thing for ThinBSD. Look here:

http://www.thinbsd.org/cvsweb/ThinBSD/diskimage/files/

In addition to gettytab, I had to modify /etc/ttys to use the autologin
feature on only one vt.

You can then launch X from the user's .profile

-- 
Francois Tigeot, Zefyris
http://www.zefyris.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050902082536.GA1279>