From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 23:17:49 2004 Return-Path: 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 118C516A4CE for ; Wed, 4 Aug 2004 23:17:49 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9528243D5F for ; Wed, 4 Aug 2004 23:17:47 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b208.otenet.gr [212.205.244.216]) i74NHfo7020302; Thu, 5 Aug 2004 02:17:43 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i74NHEZH009386; Thu, 5 Aug 2004 02:17:14 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i74NH4DP009384; Thu, 5 Aug 2004 02:17:04 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 5 Aug 2004 02:17:04 +0300 From: Giorgos Keramidas To: Lam Tuck Wai Message-ID: <20040804231704.GD8941@gothmog.gr> References: <20040803170817.BCCCA25AF0A@infoserve.com.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040803170817.BCCCA25AF0A@infoserve.com.sg> cc: freebsd-questions@freebsd.org Subject: Re: Help needed... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 23:17:49 -0000 On 2004-08-04 01:08, Lam Tuck Wai wrote: > I am currently having a huge problem. My KDM refuse to start, so now I > cannot get into my machine. > [...] > My question is how do I stop the KDM from loading during boot up? > [...] > I tried booting to single user but I cannot "su". So without root > access I cannot change anything. Booting into single-user mode doesn't require a "su". You are probably not booting into single-user mode. Interrupt the boot loader by pressing SPACE at the prompt that says: Hit [Enter] to boot immediately, or any other key for command prompt Then enter single-user mode by: boot -s When the single-user mode shell starts, check your filesystems and mount them as read-write: # adjkerntz -i # swapon -a # fsck -p # mount -u / # mount -a Try to locate the file that fires up kdm (it's probably /etc/ttys, but I don't use KDE so I might be wrong about this). Disable kdm and exit the single-user mode shell.