*BSD News Article 53598


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc,comp.windows.x.i386unix
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!usenet.eel.ufl.edu!spool.mu.edu!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: <DGvB4B.Hvr@undergrad.math.uwaterloo.ca>
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Date: Sun, 22 Oct 1995 20:48:11 GMT
References: <DGp96t.FA0@undergrad.math.uwaterloo.ca> <4687ke$9ns@kaleka.seanet.com> <DGuEAp.G2@seeware.dialix.oz.au>
Nntp-Posting-Host: cayley.uwaterloo.ca
Organization: University of Waterloo
Lines: 51
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:7889 comp.windows.x.i386unix:18184

In article <DGuEAp.G2@seeware.dialix.oz.au>,
Mark Hannon <mark@putte.seeware.DIALix.oz.au> wrote:
|  In article <4687ke$9ns@kaleka.seanet.com>,
|  	bolsen@seanet.com (Bruce Olsen) writes:
|  >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?
|  >|> 
|  
|  Your first problem is solved by using xdm.  Modify the files in
|  /usr/X11R6/lib/X11/xdm to suit your installation and add the
|  following line to your /etc/ttys file.  
|  
|  ttyv3   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure
|  
|  Now restart init with a kill -HUP 1 and then hey presto xdm should
|  come up.

This worked for a while, but then I probably messed it up. I got tired
of a few bootup messages, and one of the following three things that I
did may have messed up xdm. Xdm now comes up in the background, but I
can't switch to it.

1) I messed around with the myname.my.domain and changed it to
   something more palatable. I have no idea why this might affect xdm,
   but I did it, so it is a candidate. I also changed the IP address
   to 10.0.0.0, seeing as how this is allowed, for a stand-alone. I
   performed these changes in various places, including but not limited
   to /etc, /etc/namedb.
2) I was changing preferences for fvwm, and xdm, in /usr/X11R6/lib/X11
   but didn't think I could have changed anything of that serious a
   nature.
3) I rebooted once, forgetting to shut down xdm first.

I have tried removing the files in /tmp, and kill'ing xdm, but it
won't seem to work.

Could someone more clever and experienced than me please help me find
my mistake? If worse comes to worse, I am just learning, and there is
nothing serious on the machine, so I can reinstall, but I would rather
find out where I messed up.

FreeBSD 2.0.5 with whatever version of XFree comes with it.
-- 
          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/