Date: Thu, 10 Sep 1998 10:19:09 -0400 From: Norman C Rice <nrice@emu.sourcee.com> To: Gregory Sutter <gsutter@pobox.com> Cc: questions@FreeBSD.ORG Subject: Re: Users can't open console Message-ID: <19980910101909.A13677@emu.sourcee.com> In-Reply-To: <19980910014555.A18589@notabene.zer0.org>; from Gregory Sutter on Thu, Sep 10, 1998 at 01:45:55AM -0700 References: <19980908013001.A1878@notabene.zer0.org> <19980908091330.A4718@emu.sourcee.com> <19980909193413.A16949@notabene.zer0.org> <19980910000120.A11713@emu.sourcee.com> <19980910014555.A18589@notabene.zer0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 10, 1998 at 01:45:55AM -0700, Gregory Sutter wrote: > On Thu, Sep 10, 1998 at 12:01:20AM -0400, Norman C Rice wrote: > > On Wed, Sep 09, 1998 at 07:34:13PM -0700, Gregory Sutter wrote: > > > > > > This does indeed work. Thanks, Norman. It only solves half my > > > problem, though. I have an X server and want to, upon startup of > > > the server, open an xconsole on the local machine and on another > > > machine in the local network, both of which display on the X server. > > > Now the first xconsole works properly, but the second still does > > > not, because I'm not opening the console on any tty, but just with > > > the command: > > > rsh notabene '/usr/X11R6/bin/xconsole -verbose -display edge:0.0' > > > > > Can you telnet or rlogin to notabene and launch xconsole > > successfully? ``/usr/X11R6/bin/xconsole -display unix:0'' > > Sure, but the only way it successfully opens the console is if I > run it as root. The program itself executes fine; I'm having no > trouble with that part. It just doesn't have permission to open > the console device. If you can't telnet or rlogin to notabene and launch the command as yourself, then you are not going to be able to launch it as yourself via rsh. You need to resolve this issue first. Remember that xconsole cannot be already running on notabene when you try this. On notabene, is X started by you (not by root or anyone else) from ttyv0? > > Ensure that notabene's /etc/fbtab contains > > > > /dev/ttyv0 0600 /dev/console > > It does, but unlike edge (the X box), where the xconsole (run with > the exact same command line sans the rsh command, and having the > same line in the /etc/fbtab file), on which the xconsole is > attached to a terminal, > > edge gsutter ~ $ps -ax | grep xconsol[e] > 903 v0 S 0:00.10 xconsole > > on notabene, the xconsole is not attached to any terminal. > > notabene gsutter ~ $ps -ax | grep xconsol[e] > 18547 ?? I 0:01.20 /usr/X11R6/bin/xconsole This is normal/correct. > Therefore the fbtab line is not applied. Is there a way around > this, other than executing the xconsole command as root? When you log in to notabene from edge, the contents of /etc/fbtab will be parsed. Try setting /etc/fbtab's contents to an illegal value (permissions set to 4666) and you should see an error reported if xconsole is running (which it shouldn't be if you want to launch it as yourself). -- Regards, Norman C. Rice, Jr. > > Greg > -- > Gregory S. Sutter My reality check just bounced. > mailto:gsutter@pobox.com > http://www.pobox.com/~gsutter/ > PGP DSS public key 0x40AE3052 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?19980910101909.A13677>