*BSD News Article 53100


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!watserv3.uwaterloo.ca!undergrad.math.uwaterloo.ca!bcrwhims
From: bcrwhims@undergrad.math.uwaterloo.ca (Carsten Whimster)
Subject: Re: Q: which FAQ or how to set up X to run automatically?
Message-ID: <DGuvL7.Dw2@undergrad.math.uwaterloo.ca>
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Date: Sun, 22 Oct 1995 15:12:42 GMT
References: <DGp96t.FA0@undergrad.math.uwaterloo.ca> <imburaqk7x.fsf@crater.cs.uidaho.edu>
Nntp-Posting-Host: cayley.uwaterloo.ca
Organization: University of Waterloo
Lines: 52

In article <imburaqk7x.fsf@crater.cs.uidaho.edu>,
Faried Nawaz  <fn@uidaho.edu> wrote:
|  In article <DGp96t.FA0@undergrad.math.uwaterloo.ca> bcrwhims@undergrad.math.uwaterloo.ca (Carsten Whimster) writes:
|  
|  $ I have FreeBSD 2.0.5 installed, and want to set it up to run X
|  $ automatically, while still allowing me to drop back to text-only mode.
|  $ How do I go about doing this, or which file do I read thast explains
|  $ this?
|  
|  Okay, this is what I've done.  I _can't_ remember exactly which of the XFree
|  distribution files I've installed, but I'm guessing I got almost everything
|  (I had a lot of disk space).
|  
|  a) I got X, and xdm working.
|     I didn't have to frob /usr/X11R6/lib/X11/xdm/*; you may need to.
|  b) I edited /etc/ttys.  Look at ttyv1:
|  
|  #	@(#)ttys	5.1 (Berkeley) 4/17/89
|  #
|  # name	getty				type	status		comments
|  #
|  # This entry needed for asking password when init goes to single-user mode
|  # If you want to be asked for password, change "secure" to "insecure" here
|  console	none				unknown	off secure
|  #
|  ttyv0	"/usr/libexec/getty Pc"		cons25	on  secure
|  # Virtual terminals
|  ttyv1	"/usr/X11R6/bin/xdm -auth -nodaemon" xterm on	secure
|  #ttyv1	"/usr/libexec/getty Pc"		cons25	off  secure
|  ttyv2	"/usr/libexec/getty Pc"		cons25	off  secure
|  ttyv3	"/usr/libexec/getty Pc"		cons25	off  secure
|  
|  c) I reread /etc/ttys (kill -1 1, or reboot).
|  
|  
|  
|  $ I need to be able to drop back to text-mode while root, but I would
|  $ like to prevent other users from doing this. Basically, I would like
|  $ xdm or something to run magically, I guess.
|  
|  I thought there was something in XF86Config for that, but I can't find
|  it in the man page (for XFree 3.11).  I'm not sure...

Ok, I'm going to try this. Yesterday I put xdm in my etc/rc.local
file, but using this method, Ctrl-Alt-BkSpc didn't kill xdm like I was
told it should, so I'll try this instead.

-- 
          Carsten Whimster     bcrwhims@uwaterloo.ca
           EDM/2 Associate Editor and Book reviewer
            Team OS/2           POV-Panel/2 author
       http://www.undergrad.math.uwaterloo.ca/~bcrwhims/