[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xdm init level question



I'm glad this question was asked - I'm learning a lot on this list.

I plan to set my system up like this, so I don't boot directly into X, but
how should I start xdm? If I run xdm or switch to a runlevel with X, will
I still be logged in as root? What if X crashes and returns the system to
non-X, will whoever is using it then have console access as root?

John

On Thu, 17 Aug 2000, Noah L. Meyerhans wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Thu, 17 Aug 2000, Paul D. Smith wrote:
> 
> > I'm sure this has been discussed before (I have an uneasy feeling it may
> > be a "oh no, not this again" question); maybe someone can put the
> > rationale into a file in /usr/share/doc/ somewhere?  I tried searching
> > the list archives (user, x, boot, etc.) with various keywords (init,
> > xdm, level, etc.) but came up empty.
> 
> Basically, I seem to recall the sysvinit maintainer saying that this is
> done simply to maximize the flexibility for the admin.  Where other
> distributions and sysvinit based Unixes define some policy regarding what
> is started at what runlevel, Debian chose to start with all multi-user
> runlevels identical and let the admin customize them.
> 
> > Also, in this environment what is the correct way to boot into a console
> > login and avoid starting XDM?  I find it hard to believe the "correct"
> > way is to edit /etc/init.d/xdm and add in an "exit 0" to the top, which
> > is what I've been doing :-/.
> 
> If you wish to define runlevel 2 (for example) as non-graphical-login,
> then remove /etc/rc2.d/S99xdm.  Then you can specify runlevel 2 at boot or
> whatever and go to a non-graphical login, or boot into another runlevel
> for a graphical login.
> 
> You might also want to do what most other unixes do and add a
> /etc/rc2.d/K99xdm so if you move from runlevel n>2 to runlevel 2 then your
> graphical login will exit.
> 
> HTH,
> noah
> 
>  _______________________________________________________
> | Web: http://web.morgul.net/~frodo/
> | PGP Public Key: http://web.morgul.net/~frodo/mail.html 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> Charset: noconv
> 
> iQCVAwUBOZxO1odCcpBjGWoFAQEHVAP+Ped1RqRlHNYS2nmQc3hbGBT2kHGBQCDu
> i0Qqx8SivEVFg2TBvb5QoX2tL3h0hFx9oGgm9g50QbamoBB9/UN+95fk4joW+EE5
> +OUN0OspofEaDSkLMmCNK1eHtzeoE3UrIPOr5259GfzdXYGxLCe7APdRW4hfVKDs
> zGUmI7WKUms=
> =Qsxh
> -----END PGP SIGNATURE-----
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 



Reply to: