From owner-freebsd-questions Wed Apr 24 14:01:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24241 for questions-outgoing; Wed, 24 Apr 1996 14:01:46 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA24230 for ; Wed, 24 Apr 1996 14:01:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with SMTP id UAA03640 ; Wed, 24 Apr 1996 20:03:47 +0100 (BST) To: Nik Clayton cc: questions@FreeBSD.ORG From: "Gary Palmer" Subject: Re: /dev/console In-reply-to: Your message of "Tue, 23 Apr 1996 12:53:26 BST." <199604231153.MAA09466@plum.blueberry.co.uk> Date: Wed, 24 Apr 1996 20:03:47 +0100 Message-ID: <3637.830372627@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Nik Clayton wrote in message ID <199604231153.MAA09466@plum.blueberry.co.uk>: > Hi, > > Does anyone have the correct permissions for /dev/console handy. Programs > like xconsole (or xterm -C) have never worked for me. > > At the moment, /dev/console is > > crw------- 1 root wheel 0, 0 Apr 23 11:09 /dev/console > > which is obviously wrong. All I really want is for console messages to > come up in one of my xterms when in X (which I start with 'startx', not > xdm). > > This is on a 2.1-stable kernel with "XSERVER" and "UCONSOLE" compiled in. > Couldn't find anything about this in the man pages. Try this: gary@palmer:~> cat /etc/fbtab /dev/ttyv0 0600 /dev/console Then log out and back onto vty0 and after starting X you should be able to grab the console. The problem is that programs like xconsole and xterm -C check that you are the owner of the console device, not that you have read permissions. I can see why this can be nice, but since we don't have this by default, it becomes a FAQ :-( Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.