Date: Fri, 13 Jul 2001 00:00:14 -0400 From: parv <parv_@yahoo.com> To: User & Ian Patrick Thomas <ipthomas_77@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: using xconsole with startx Message-ID: <20010713000014.A48618@moo.holy.cow> In-Reply-To: <20010712232222.A711@localhost>; from ipthomas_77@yahoo.com on Thu, Jul 12, 2001 at 11:22:22PM -0400 References: <20010712164457.A39967@localhost> <20010712165630.A23236@moo.holy.cow> <20010712232222.A711@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010713000014.A48618>
