From owner-freebsd-questions Thu Jul 12 20:56:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc21.worldnet.att.net (mtiwmhc21.worldnet.att.net [204.127.131.46]) by hub.freebsd.org (Postfix) with ESMTP id ED0E337B405 for ; Thu, 12 Jul 2001 20:56:21 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.225]) by mtiwmhc21.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010713035618.PEFC3208.mtiwmhc21.worldnet.att.net@worldnet.att.net>; Fri, 13 Jul 2001 03:56:18 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id 012D650D5F; Fri, 13 Jul 2001 00:00:14 -0400 (EDT) Date: Fri, 13 Jul 2001 00:00:14 -0400 From: parv To: User & Ian Patrick Thomas Cc: freebsd-questions@freebsd.org Subject: Re: using xconsole with startx Message-ID: <20010713000014.A48618@moo.holy.cow> Mail-Followup-To: User & Ian Patrick Thomas , freebsd-questions@freebsd.org References: <20010712164457.A39967@localhost> <20010712165630.A23236@moo.holy.cow> <20010712232222.A711@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010712232222.A711@localhost>; from ipthomas_77@yahoo.com on Thu, Jul 12, 2001 at 11:22:22PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG on Jul 12 23:36, i got this from User... > I uncommmented this line and I'm still getting the same message. > This would make sense as the permissions are read write for root only, > not for normal users. The only way I have seen this done is through > the use of xdm and a Give Take console script. I suppose I could > mirror this functionality somehow in my .xinitrc file. Thanks. > > Ian > > As it was put forth by parv on Thu, Jul 12, 2001 at 04:56:30PM -0400... > > on Jul 12 16:53, i got this from User... > > > Is there a way to get the xconsole command to work for normal users with startx? As a > > > normal user, when I execute the command xconsole I get the error message > > > > > > couldn't open console > > > > > > The permissions for /dev/ttyv0 are > > > > > > crw------- 1 root wheel 12, 0 Jul 11 08:49 ttyv0 > > > > > > and /etc/fbtab has this > > > > > > #/dev/ttyv0 0600 /dev/console > > > > > > Is there a way to use the xauth command to add the ability to a read the console, but not > > > write to it? Would it be wise to uncomment the line in /etc/fbtab and make the permissions > > > more lenient? > > > > > > > just uncomment the line and not change the permissions of /dev/console, > > then try again. > > well, i also got thru same thing and changing permissions of /dev/(console|ttyv0) didn't help. anyway here is what i have... ------------ # ls -l /dev/ttyv0 /dev/console ; echo ; cat /etc/fbtab crw------- 1 parv people 0, 0 Jul 12 23:37 /dev/console crw------- 1 parv tty 12, 0 Jul 11 00:33 /dev/ttyv0 # $FreeBSD: src/etc/fbtab,v 1.3 1999/09/13 17:09:07 peter Exp $ # /dev/ttyv0 0600 /dev/console #/dev/ttyv0 0600 /dev/pcaudio:/dev/pcaudioctl ------------ mind you owner & group of /dev/console & owner of /dev/ttyv0 will change depending on who is logged on to ttyv0. also, one needs to be the owner of /dev/ttyv0 in order to use /dev/console w/ xconsole. and that means, if you are not logged in ttyv0 then you cannot use xconsole. anybody else want to chime in (as i now i have run out of suggestions)? - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message