From owner-freebsd-questions Sun Jun 22 12:22:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA18783 for questions-outgoing; Sun, 22 Jun 1997 12:22:25 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA18778 for ; Sun, 22 Jun 1997 12:22:20 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id VAA23691; Sun, 22 Jun 1997 21:22:04 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199706221922.VAA23691@helbig.informatik.ba-stuttgart.de> Subject: Re: xdm In-Reply-To: <19970622183852.AAB18227@telcel.telcel.net.ve> from =?ISO-8859-1?Q?Ricardo_N=FA=F1ez?= at "Jun 22, 97 02:39:26 pm" To: rinunez@telcel.net.ve (=?ISO-8859-1?Q?Ricardo_N=FA=F1ez?=) Date: Sun, 22 Jun 1997 21:22:03 +0200 (MET DST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Dear Gentlemen, > > I was reading "The Complete FreeBSD" book from Greg Lehey, and I just > installed X11 with no problem. > > The problem is that I installed "xdm" as the book says... I mean: > > 1) I added the following line to "/etc/ttys": > ttyv4 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure ^ shouldn't this be 3, ie ttyv3 ? AFAIK on freshly installed system only devicefiles for ttyv0 to ttyv3 are allocated. To get more do a cd /dev sh MAKEDEV vty10 This will get you ten virtual terminals. > > I reboot and after that I switch to a graphics mode where it asks me the > login and password. > > FreeBSD seems to accept me, but after a second it logs me out. I canīt log > as a superuser neither. > > I supposed I had to boot in single user mode, but from that mode it doesnīt > let me neither modify /etc/ttys (I canīt start any editor) nor delete that > file (it tells me itīs read only). Try to switch to your system console by pressing , login there and change your /etc/ttys. If that does not work, boot in single user mode and enter a mount -a on the command line. This should give you the editor in /usr/bin and the write permissions in / . If you still cannot write in the root partition, do a mount -w -u /. Wolfgang > > What can I do? > > Yours faithfully, > > Ricardo Nunez >