From owner-freebsd-questions@freebsd.org Fri Oct 27 01:59:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA9C7E58B69 for ; Fri, 27 Oct 2017 01:59:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47E5F720DD for ; Fri, 27 Oct 2017 01:59:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Fri, 27 Oct 2017 03:58:05 +0200 Received: from r56.edvax.de (port-92-195-74-193.dynamic.qsc.de [92.195.74.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3625A3CBF9; Fri, 27 Oct 2017 03:58:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9R1w33U005453; Fri, 27 Oct 2017 03:58:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 27 Oct 2017 03:58:03 +0200 From: Polytropon To: Antonio Olivares Cc: FreeBSD Questions Subject: Re: autologin from console not working on FreeBSD-11.1p2 Message-Id: <20171027035803.14dca7c9.freebsd@edvax.de> In-Reply-To: References: <20171026215855.67642f40.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 704AE689538 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1749 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 01:59:06 -0000 On Thu, 26 Oct 2017 20:35:55 -0500, Antonio Olivares wrote: > On /etc/ttys I have in ttyv0 and changed Pc to Al. And the entry in > /etc/gettytab is the placed at the very end of the file. That is correct. > In one machine it > has xterm , while the older 9.2* machine has cons25 as I just copied over. > Maybe something changed? Yes. The default "text mode" (basically gone with the sc -> vt move) now is xterm. > I will add the tc part over and see if it works on > Monday. As you can see from "man gettytab", tc is "table continuation", and from a working example I think this should be included. > I will have workshop tomorrow and may not get a chance to check if > adding the tc part makes it work. I am using shell $ sh and have > ~/.xinitrc and ~/.profile are correct with the test if console then startx > and that works. According to "man sh", using ~/.profile is the correct approach. As you're probably not going to interact with /bin/sh much (as it is the default scripting shell, not the default dialog shell), it probably doesn't matter as all you need is something to bring up X with a desktop environment. > Just that I am getting password prompt. I login to shell > then startx, using lumina desktop. The problem probably is with the gettytab entries. Check them when you can, and compare with the solution mentioned. It is of course possible that during the course of FreeBSD development, things have changed in a way that it doesn't work anymore... :-/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...