Within X, how can I see console messages?

Mike Hauber m.hauber at mchsi.com
Fri Feb 4 10:14:18 PST 2005


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


More information about the freebsd-questions mailing list