From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1254 Path: news.gmane.org!not-for-mail From: wdef Newsgroups: gmane.comp.sysutils.supervision.general Subject: runit without getty logon Date: Sun, 24 Sep 2006 10:47:11 +0000 (UTC) Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159095027 29882 80.91.229.2 (24 Sep 2006 10:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2006 10:50:27 +0000 (UTC) Original-X-From: supervision-return-1490-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Sep 24 12:50:23 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1GRRYq-0007Gw-CR for gcsg-supervision@gmane.org; Sun, 24 Sep 2006 12:50:12 +0200 Original-Received: (qmail 1220 invoked by uid 76); 24 Sep 2006 10:50:32 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 1214 invoked from network); 24 Sep 2006 10:50:32 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-To: supervision@list.skarnet.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.74.245.165 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2) Original-Sender: news Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1254 Archived-At: Is it possible to set runit up to not use getty, but instead automatically switch to another terminal and start X as an ordinary user? I want to use runit this way on a knoppix-based livecd system, where a login makes no sense and I don't want the user to have to be therer to manually switch terminals with ctrl-alt-F5. I just want it to just boot up into X from go without user intervention. I've found I can switch to ordinaryuser and have X start as a service without the getty and login (run contains eg su -p --command=xinit ordinaryuser), but it refuses to start with fluxbox icons etc whether I start up using xinit or startx, as if it's not reading these in HOME. But HOME is explicity set within run, so this puzzles me. Also, if you quit X from this, you go to ... nothing! It's replaced the terminal. I'm imagining stty can be used instead of getty to automatically start up a new terminal in which to run X ...?