supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: wdef <WDef200@yahoo.co.uk>
Subject: runit without getty logon
Date: Sun, 24 Sep 2006 10:47:11 +0000 (UTC)	[thread overview]
Message-ID: <loom.20060924T122920-0@post.gmane.org> (raw)

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 ...?



             reply	other threads:[~2006-09-24 10:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-24 10:47 wdef [this message]
2006-09-24 11:17 ` wdef
2006-09-24 13:31   ` wdef
2006-12-15 10:09     ` Toni Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20060924T122920-0@post.gmane.org \
    --to=wdef200@yahoo.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).