From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 11:52:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FBAE16A41F for ; Wed, 10 Aug 2005 11:52:54 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDE9743D46 for ; Wed, 10 Aug 2005 11:52:53 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so112553wra for ; Wed, 10 Aug 2005 04:52:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WE9K7tbMnO2CbVAOEHZu4EUVlQhOAc9gm+GTfOdAXPRBW5hfwUpnGTBr6Q05dtqcIlXZVx0SQv5jBpzEjRA+k4mX2BDyF5JCckajBjSx1rpdQtNEh4qjpDQZUJ8CvhzV1SEP+79f3kSDdnRQ6y9HhoxCUCn/OZfBA8Hj9mN53Yk= Received: by 10.54.43.48 with SMTP id q48mr409426wrq; Wed, 10 Aug 2005 04:52:53 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Wed, 10 Aug 2005 04:52:53 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2005 06:52:53 -0500 From: Nikolas Britton To: "albi@scii.nl" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42F95459.5080208@intergate.com> <20050810132152.7932cce7.albi@scii.nl> Cc: William Manley , freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.4 install problem. Newbee needs help. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 11:52:54 -0000 On 8/10/05, Nikolas Britton wrote: > On 8/10/05, albi@scii.nl wrote: > > On Tue, 09 Aug 2005 21:11:53 -0400 > > William Manley wrote: > > > > > I am a new FreeBSD user and I have an installation that has gone bad. > > > My problems started when I enabled XDM for a graphical logon into > > > Gnome. When I logged in as root the system just looped back to the > > > logon screen. I then assumed I had configured my .xinitrc file wrong > > > > xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your > > .Xsession or .xsession file), .xinitrc is only used with the command > > startx > > > > > so I booted the install cdrom into Fixit mode and tried to mount the > > > root filesystem on the hardisk which the operating system would not > > > let me do. The following are the commands I typed with the output. > > > > > > mount /dev/ad0s1a /mnt > > > operation not permitted > > > > you could instead boot from harddisc in "single mode" (sp?), then remov= e > > xdm or configure xdm properly or use gdm or use gnome-session in your > > .xinitrc >=20 > Single user mode. You can get to it at the boot menu, think it's > option 6, or you can exsacpe to the boot loader and type in "boot -s" > and hit enter. Once your in single user mode you will need to mount > your partitions, "mount /dev/ad0s1f /usr", if your disk is dirty you > will need to run fsck and then remount the root partition in > read/write mode before you can edit your config files. I'm not sure > how XDM etc. is started but I would try in /usr/local/etc/rc.d/ first. > if a xdm startup script is in there rename to something like > xdm.sh-disabled. then type exit to boot into multi user mode and login > as root. >=20 It's in the handbook, XDM, here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html