Date: Wed, 24 Apr 1996 20:03:47 +0100 From: "Gary Palmer" <gpalmer@FreeBSD.ORG> To: Nik Clayton <nik@blueberry.co.uk> Cc: questions@FreeBSD.ORG Subject: Re: /dev/console Message-ID: <3637.830372627@palmer.demon.co.uk> In-Reply-To: Your message of "Tue, 23 Apr 1996 12:53:26 BST." <199604231153.MAA09466@plum.blueberry.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3637.830372627>