Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2005 13:16:52 -0500
From:      Mike Hauber <m.hauber@mchsi.com>
To:        freebsd-questions@freebsd.org
Cc:        Steven Friedrich <FreeBSD@insightbb.com>
Subject:   Re: Within X, how can I see console messages?
Message-ID:  <200502041316.53001.m.hauber@mchsi.com>
In-Reply-To: <20050204180003.GH8365@gentoo-npk.bmp.ub>
References:  <200502041201.06478.FreeBSD@insightbb.com> <4203AD1D.1090203@gmx.net> <20050204180003.GH8365@gentoo-npk.bmp.ub>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 04 February 2005 01:00 pm, Nathan Kinkade wrote:
> On Fri, Feb 04, 2005 at 06:13:01PM +0100, Benjamin Walkenhorst 
wrote:
> > Steven Friedrich wrote:
> > >I know I can Control-Alt-F1 to go back to the console, but
> > > is there a way to see these messages in an xterm or
> > > something?
> >
> > xconsole
> >
> > When xdm starts, xconsole gets started, too, on my machine,
> > I can't remember doing anything to get this behaviour,
> > though.

This is setup automatically, and can be configured/removed 
from /usr/X11R6/lib/Xsetup_0.  The command is as follows (it will 
probably wrap):

xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed 
-exitOnFail

> >
> > Kind regards,
> > Benjamin
>
> Keep in mind that /dev/console may only be readable by root. 
> You might have to change permissions on the device, or perhaps
> launch xconsole as the root user.  There may be other ways to
> get around this.  I just throw this into the mix as a problem
> that you may encounter.
>
> Nathan

I'm not running as root and I'm not having any problems issuing 
the following command with xterm:

xconsole -daemon -notify -verbose -exitOnFail

Of course, you'd probably prefer creating a link to the 
application for your Desktop and/or menu.

Hope that helps,

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502041316.53001.m.hauber>