Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #158960

Re: make system boot straight to browser connection

From James Richardson <james@jamestechnotes.com>
Newsgroups linux.debian.user
Subject Re: make system boot straight to browser connection
Date 2015-10-12 16:00 +0200
Message-ID <qiLNU-LL-25@gated-at.bofh.it> (permalink)
References (4 earlier) <qhKTT-231-3@gated-at.bofh.it> <qhLZE-3zF-9@gated-at.bofh.it> <qhN5o-5m2-7@gated-at.bofh.it> <qhNf4-5xo-3@gated-at.bofh.it> <qhO1r-6GT-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Brian writes:

> On Fri 09 Oct 2015 at 17:18:28 -0400, James Richardson wrote:
>
>> Brian writes:
>> 
>> > On Fri 09 Oct 2015 at 15:58:55 -0400, James Richardson wrote:
>> >
>> >> Brian writes:
>> >> 
>> >> > On Fri 09 Oct 2015 at 13:50:07 -0400, James Richardson wrote:
>> >> >
>> >> >> 
>> >> >> Richard Owlett writes:
>> >> >> 
>> >> >> > [resend, had not appeared in archives after 2 hours]
>> >> >> >
>> >> >> > How to do an autologin? In a DE independent way?
>> >> >> >
>> >> >> > http://manpages.debian.org/cgi-bin/man.cgi?query=autologin&apropos=1
>> >> >> > gave no relevant links.
>> >> >> >
>> >> >> > A Google search gave only decade old or DE related links.
>> >> >> >
>> >> >> > I currently use Mate, but exploring other desktops(avoiding Gnome 
>> >> >> > 3!!!;}.
>> >> >> > I'd like something similar to autoexec.bat from DOS/CPM days.
>> >> >> 
>> >> >> I've used runit for such things successfully, most recently for starting
>> >> >> kodi at startup on my HTPC.
>> >> >
>> >> > apt-cache show runit has as part of its output:
>> >> >
>> >> >  runit service supervision can run under sysv init or replace the init
>> >> >  system completely.  Complete init replacement requires some manual
>> >> >  configuration described in the supplied documentation.
>> >> >
>> >> > So the standard systemd init system needs replacing to get autologin in
>> >> > a DE independent way? Technically you might be correct but are you
>> >> > serious? It doesn't seem very elegant.
>> >> 
>> >> runit provides service supervision it can run under sysv init *OR*
>> >> replace the init system.
>> >
>> > Yes. You've repeated what I quoted from 'apt-cache show' without adding
>> > why changing one's init system to get a simple thing like autologin is
>> > at all beneficial to most users.
>> >
>> Runit does not require one change one's init system. That is why is
>> states it can run under sysv init ****OR**** replace the init system.
>> 
>> Simply installing runit does not replace the init system.
>
> Correct. So how does simply installing it allow an autologin to X?
>
> As a matter of interest. From runit(8):
>
>   DESCRIPTION
>          runit must be run as Unix process no 1.
>
>   root@jessie:~# runit
>   - runit: fatal: must be run as process no 1.

Well, one has to configure it.

In /etc/inittab add a line like

SV:123456:respawn:/usr/sbin/runsvdir-start

then create a run script for firefox (.e.g /etc/sv/firefox/run)

#!/bin/sh
exec /usr/bin/xinit /usr/bin/firefox

then create a symlink fro /etc/sv/firefox to /etc/service

more info is at http://smarden.org/runit/.
-- 
James Richardson
http://jamestechnotes.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

make system boot straight to browser connection tom arnall <kloro2006@gmail.com> - 2015-10-08 04:20 +0200
  Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-08 10:50 +0200
  Re: make system boot straight to browser connection Darac Marjal <mailinglist@darac.org.uk> - 2015-10-08 11:30 +0200
  Re: make system boot straight to browser connection Charlie Kravetz <cjk@teamcharliesangels.com> - 2015-10-08 14:50 +0200
    Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-09 18:40 +0200
      Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-09 19:40 +0200
      Re: make system boot straight to browser connection James Richardson <james@jamestechnotes.com> - 2015-10-09 20:00 +0200
        Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-09 20:50 +0200
          Re: make system boot straight to browser connection Miles Fidelman <mfidelman@meetinghouse.net> - 2015-10-09 21:10 +0200
            Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-09 21:20 +0200
          Re: make system boot straight to browser connection James Richardson <james@jamestechnotes.com> - 2015-10-09 22:00 +0200
            Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-09 23:10 +0200
              Re: make system boot straight to browser connection James Richardson <james@jamestechnotes.com> - 2015-10-09 23:20 +0200
                Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-09 23:50 +0200
                Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-10 00:10 +0200
                Re: make system boot straight to browser connection James Richardson <james@jamestechnotes.com> - 2015-10-12 16:00 +0200
                Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-13 14:00 +0200
      Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-15 10:40 +0200
        spelling error in [Re: make system boot straight to browser connection] Richard Owlett <rowlett@cloud85.net> - 2015-10-15 11:00 +0200
        Re: make system boot straight to browser connection ??? <ad44@cityscape.co.uk> - 2015-10-15 11:20 +0200
          Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-15 11:40 +0200
        Re: make system boot straight to browser connection Joel Rees <joel.rees@gmail.com> - 2015-10-16 02:50 +0200
          Re: make system boot straight to browser connection Martin Smith <lists@rakupottery.org.uk> - 2015-10-16 09:50 +0200
          Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-16 10:30 +0200
            Re: make system boot straight to browser connection David Wright <deblis@lionunicorn.co.uk> - 2015-10-16 16:40 +0200
              Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-16 22:30 +0200
                Re: make system boot straight to browser connection David Wright <deblis@lionunicorn.co.uk> - 2015-10-17 02:50 +0200
                Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-18 15:20 +0200
                Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-18 15:20 +0200
                Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-18 20:40 +0200
                Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-18 23:10 +0200
                Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-19 00:20 +0200
                Re: make system boot straight to browser connection David Wright <deblis@lionunicorn.co.uk> - 2015-10-19 00:30 +0200
                Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-19 00:40 +0200
                Re: make system boot straight to browser connection Chris Bannister <cbannister@slingshot.co.nz> - 2015-10-19 06:00 +0200
                Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-19 09:30 +0200
                Re: make system boot straight to browser connection Chris Bannister <cbannister@slingshot.co.nz> - 2015-10-20 10:40 +0200
                Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-21 15:10 +0200
                Re: make system boot straight to browser connection Miles Fidelman <mfidelman@meetinghouse.net> - 2015-10-21 15:20 +0200
                Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-22 14:40 +0200
          Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-16 11:00 +0200
            Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-16 11:10 +0200
          Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-16 22:20 +0200
            Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-16 23:10 +0200
          Re: make system boot straight to browser connection Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-10-16 23:00 +0200
            Re: make system boot straight to browser connection Brian <ad44@cityscape.co.uk> - 2015-10-16 23:10 +0200
    Re: make system boot straight to browser connection Richard Owlett <rowlett@cloud85.net> - 2015-10-09 20:30 +0200
  Re: make system boot straight to browser connection Chris Bannister <cbannister@slingshot.co.nz> - 2015-10-09 17:30 +0200
  Re: make system boot straight to browser connection tom arnall <kloro2006@gmail.com> - 2015-10-10 06:00 +0200
  Re: make system boot straight to browser connection tom arnall <kloro2006@gmail.com> - 2015-10-17 01:40 +0200
    Re: make system boot straight to browser connection Glenn English <ghe@slsware.net> - 2015-10-17 02:10 +0200
    Re: make system boot straight to browser connection Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-17 09:30 +0200

csiph-web