From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 04:33:07 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 4BFFB16A4CE for ; Mon, 23 Feb 2004 04:33:07 -0800 (PST) Received: from chaucer.statcan.ca (CPE0050fc727b74-CM014270107825.cpe.net.cable.rogers.com [24.43.93.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A934B43D1D for ; Mon, 23 Feb 2004 04:32:56 -0800 (PST) (envelope-from mike@chaucer.statcan.ca) Received: from chaucer.statcan.ca (localhost [127.0.0.1]) by chaucer.statcan.ca (8.12.9/8.12.9) with ESMTP id i1NCW00S000920 for ; Mon, 23 Feb 2004 07:32:25 -0500 (EST) (envelope-from mike@chaucer.statcan.ca) Received: (from mike@localhost) by chaucer.statcan.ca (8.12.9/8.12.9/Submit) id i1NCVx4Q000919; Mon, 23 Feb 2004 07:31:59 -0500 (EST) Date: Mon, 23 Feb 2004 07:31:59 -0500 From: Mike Jeays To: freebsd-questions@freebsd.org Message-Id: <20040223073159.55850582.mj001@rogers.com> In-Reply-To: <40397828.60801@icare.com.hk> References: <4038CEEE.3090000@icare.com.hk> <20040222113315.5d757673.mj001@rogers.com> <40397828.60801@icare.com.hk> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Fail to start KDE 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: Mon, 23 Feb 2004 12:33:07 -0000 On Mon, 23 Feb 2004 11:48:56 +0800 Stephen Liu wrote: > Mike Jeays wrote: > > >>Version 5.2 > >>new installation > >> > >>- snip - > >> > >> > > > >Create a file .xinitrc in the home directory, containing the single > >line 'startkde &' (without the quotes). Then try startx again. > > > Hi Mike, > > Tks for your advice. > > Sorry I forgot to mention in my previous posting; > > 1) > KDE could not start if editing /etc/ttys as; > ..... > ttyv8 "user/local/bin/xdm -nodaemon" xterm on secure > ..... > ... > > # startkde (on INIT 3/text mode) > ... > Kpersonalizer: cannot connect to X server. > (continue to run on screen) > > I suspect whether it was caused by failure on login. Because after > booting, the 'Welcom to the XFree86 Project Inc' GUI login popup. I can > keyin either as 'root' or as 'username' but can't keyin password. I > just typed in password and hit the GUI login screen popup again > without mentioning anything. The X window started with a small Xterm > window appearing on the screen, mouse working but I could not type on > it. I tried many times without a solution. If changing 'xdm' to 'kdm' > on the abovementioned line 'ttyv8.....', GUI login failed to start. > > # startx (on INIT 3) > > started 3 'Xterm windows' > > > 2) > After starting 3 'Xterm windows' I can start KDE 3.1 from any one of the > 'Xterm window' with; > > # startkde > > It worked with KDE started. > > > 3) On INIT 3/text mode I can login either as 'root' or as 'user' with > correct password without problem > > Kindly advise how to fix the problem. TIA > > B.R. > Stephen > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I haven't used xdm in ttys for a long time, and suspect this is an obsolete method. If you enter "kdm &" at a root prompt, kdm should start. I don't see why you shouldn't put it into /usr/local/etc/rc.d to make it work on startup, and I am pretty sure I used to run it that way. -- Personal : Mike.Jeays -at- rogers.com Phone : 613-724-4510 Work : Mike.Jeays -at- statcan.ca Phone : 613-951-9929 FAX 613-951-0395 Web page : http://members.rogers.com/mike.jeays