From owner-freebsd-questions@FreeBSD.ORG Sun Mar 8 13:11:02 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E677BCC8 for ; Sun, 8 Mar 2015 13:11:02 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by mx1.freebsd.org (Postfix) with ESMTP id A807AD0D for ; Sun, 8 Mar 2015 13:11:01 +0000 (UTC) Received: from [75.187.32.8] ([75.187.32.8:55131] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 96/C6-22943-56A4CF45; Sun, 08 Mar 2015 13:11:01 +0000 Received: from [192.168.1.55] (helo=dell.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1YUayy-0000CZ-Ox for freebsd-questions@freebsd.org; Sun, 08 Mar 2015 09:11:00 -0400 Message-ID: <54FC4A64.701@columbus.rr.com> Date: Sun, 08 Mar 2015 09:11:00 -0400 From: scrat User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Questions Subject: Re: Xorg problems: FIXED References: <54FB2862.2050600@columbus.rr.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2015 13:11:03 -0000 On 03/07/15 20:53, Warren Block wrote: > On Sat, 7 Mar 2015, scrat wrote: > [putolin] >> I have installed FreeBSD 10.0 and updated it to 10.1 using >> freebsd-update > > Why not just install 10.1? It doesn't matter, though. I had a USB drive already setup with 10.0 before 10.1 came out. I then used that as practice for updating the base system > >> Ss root entered the following: >> /bin/sh >> Xorg -configure > xorg.log 2>&1 > > Why? Always try to run X without an xorg.conf first. Only create one > if necessary. > I did that as to try to fix this problem, more later. [putolin] >> Configuration failed >> >> If I then following the book >> >> *|Xorg -config xorg.conf.new -retro|* > > So it works with the generated xorg.conf? After I set the video driver to vesa in the generated xorg.conf it worked. > >> I can not (from the book) do the following: >> >> To exit the test, switch to the virtual console used to start it by >> pressing *Ctrl*+*Alt*+*F/|n|/* (*F1* for the first virtual console) >> and press *Ctrl*+*C*. > >> it simply doesn't work ie I can not go to the term F1 and Ctrl+C to >> stop xorg. > > That is because KMS is being used and requires vt(4) to switch back to > the console. Add to /boot/loader.conf: > kern.vty=vt Ok I learned something here. Adding kern.vty=vt to /boot/loader.conf fixed my issues > >> Continuing I built Xfce4 from ports, configured it to start from the >> command line and started it. >> I cannot simply log out and return to the command line as the display >> goes haywire. To stop the computer I have to open a terminal in xfce >> and su to root and issue a poweroff to shutdown. > > This is the same vt(4) issue. See above fixed it. All working now :) Need to read up on KMS and vt The Xorg section of the handbook needs some updating: Maybe add something that points one to adding the kern.vt line to boot/loader. Fix the section on xorg configuration. The urw-fonts port installs to /usr/local/lib/X11/fonts/urw-fonts directory not /usr/local/lib/X11/fonts/URW. The /usr/local/lib/X11/fonts/URW directory doesn't exist. Thank you for all your help you have been a tremendous help You have made my day.