* [gentoo-user] X without console log window?
@ 2006-02-10 21:08 Urs Schuetz
2006-02-11 14:47 ` Hans-Werner Hilse
0 siblings, 1 reply; 12+ messages in thread
From: Urs Schuetz @ 2006-02-10 21:08 UTC (permalink / raw
To: gentoo-user
Everytime when I startup my computer, in X apears a minimized
"Console Log" window icon.
I would like to start my computer without console log window in X.
I could not find the script ou option which starts this window.
Where can I disable it? I don't even know what's the name of the
executable for this window.
x11-base/xorg-x11 6.8.2-r6
x11-wm/windowmaker 0.92.0-r3
app-admin/sysklogd 1.4.1-r11
Any help is appreciated.
Urs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] X without console log window?
2006-02-10 21:08 [gentoo-user] X without console log window? Urs Schuetz
@ 2006-02-11 14:47 ` Hans-Werner Hilse
2006-02-11 20:52 ` Urs Schuetz
0 siblings, 1 reply; 12+ messages in thread
From: Hans-Werner Hilse @ 2006-02-11 14:47 UTC (permalink / raw
To: gentoo-user
Hi,
On Fri, 10 Feb 2006 19:08:25 -0200
Urs Schuetz <u.schutz@bluewin.ch> wrote:
> Everytime when I startup my computer, in X apears a minimized
> "Console Log" window icon.
> [...]
> I could not find the script ou option which starts this window.
> Where can I disable it? I don't even know what's the name of the
> executable for this window.
it's "xconsole", AFAIK usually started by the default Xsession script
coming with "xdm". configuration is in /etc/X11/xdm.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] X without console log window?
2006-02-11 14:47 ` Hans-Werner Hilse
@ 2006-02-11 20:52 ` Urs Schuetz
2006-02-13 11:24 ` Michael Kintzios
0 siblings, 1 reply; 12+ messages in thread
From: Urs Schuetz @ 2006-02-11 20:52 UTC (permalink / raw
To: gentoo-user
On Sat, 11 Feb 2006, Hans-Werner Hilse wrote:
> Hi,
>
> On Fri, 10 Feb 2006 19:08:25 -0200
> Urs Schuetz <u.schutz@bluewin.ch> wrote:
>
> > Everytime when I startup my computer, in X apears a minimized
> > "Console Log" window icon.
> > [...]
> > I could not find the script ou option which starts this window.
> > Where can I disable it? I don't even know what's the name of the
> > executable for this window.
>
> it's "xconsole", AFAIK usually started by the default Xsession script
> coming with "xdm". configuration is in /etc/X11/xdm.
>
That was it! It is in /etc/X11/xdm/setup_0 where xconsole gets started.
Thanks!
Urs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [gentoo-user] X without console log window?
2006-02-11 20:52 ` Urs Schuetz
@ 2006-02-13 11:24 ` Michael Kintzios
2006-02-13 12:33 ` Hans-Werner Hilse
0 siblings, 1 reply; 12+ messages in thread
From: Michael Kintzios @ 2006-02-13 11:24 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Urs Schuetz [mailto:u.schutz@bluewin.ch]
> Sent: 11 February 2006 20:52
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] X without console log window?
>
>
> On Sat, 11 Feb 2006, Hans-Werner Hilse wrote:
> > Hi,
> >
> > On Fri, 10 Feb 2006 19:08:25 -0200
> > Urs Schuetz <u.schutz@bluewin.ch> wrote:
> >
> > > Everytime when I startup my computer, in X apears a minimized
> > > "Console Log" window icon.
> > > [...]
> > > I could not find the script ou option which starts this window.
> > > Where can I disable it? I don't even know what's the name of the
> > > executable for this window.
> >
> > it's "xconsole", AFAIK usually started by the default
> Xsession script
> > coming with "xdm". configuration is in /etc/X11/xdm.
> >
> That was it! It is in /etc/X11/xdm/setup_0 where xconsole
> gets started.
> Thanks!
What's the purpose of this window? What is it meant to log - as far as
I can tell it just stays empty . . .
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] X without console log window?
2006-02-13 11:24 ` Michael Kintzios
@ 2006-02-13 12:33 ` Hans-Werner Hilse
2006-02-13 14:23 ` Michael Kintzios
0 siblings, 1 reply; 12+ messages in thread
From: Hans-Werner Hilse @ 2006-02-13 12:33 UTC (permalink / raw
To: gentoo-user
Hi,
On Mon, 13 Feb 2006 11:24:25 -0000
"Michael Kintzios" <michaelkintzios@lycos.co.uk> wrote:
> > > On Fri, 10 Feb 2006 19:08:25 -0200
> > > Urs Schuetz <u.schutz@bluewin.ch> wrote:
> > >
> > > > Everytime when I startup my computer, in X apears a minimized
> > > > "Console Log" window icon.
> > > > [...]
>
> What's the purpose of this window? What is it meant to log - as far as
> I can tell it just stays empty . . .
That depends. It usually just outputs what is piped into /dev/xconsole.
If nothing is piped in there, it won't display anything. But in most
cases the syslog daemon is configured to output some message classes,
if not all, to this device as well (additional to outputting to the log
file and /dev/console). So it depends on syslog configuration whether
syslog messages show up here. Other programs w/ the corresponding
rights on /dev/xconsole can pipe their stuff there, too, of course.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [gentoo-user] X without console log window?
2006-02-13 12:33 ` Hans-Werner Hilse
@ 2006-02-13 14:23 ` Michael Kintzios
2006-02-13 18:15 ` Hans-Werner Hilse
0 siblings, 1 reply; 12+ messages in thread
From: Michael Kintzios @ 2006-02-13 14:23 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Hans-Werner Hilse [mailto:hilse@web.de]
> Sent: 13 February 2006 12:34
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] X without console log window?
>
> > What's the purpose of this window? What is it meant to log
> - as far as
> > I can tell it just stays empty . . .
>
> That depends. It usually just outputs what is piped into
> /dev/xconsole.
> If nothing is piped in there, it won't display anything. But in most
> cases the syslog daemon is configured to output some message classes,
> if not all, to this device as well (additional to outputting
> to the log
> file and /dev/console). So it depends on syslog configuration whether
> syslog messages show up here. Other programs w/ the corresponding
> rights on /dev/xconsole can pipe their stuff there, too, of course.
Would you mind showing a default/typical/custom (whatever) config file
so that I can compare with mine?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] X without console log window?
2006-02-13 14:23 ` Michael Kintzios
@ 2006-02-13 18:15 ` Hans-Werner Hilse
2006-02-13 23:28 ` [gentoo-user] " Mick
2006-02-15 20:20 ` Mick
0 siblings, 2 replies; 12+ messages in thread
From: Hans-Werner Hilse @ 2006-02-13 18:15 UTC (permalink / raw
To: gentoo-user
Hi,
On Mon, 13 Feb 2006 14:23:20 -0000
"Michael Kintzios" <michaelkintzios@lycos.co.uk> wrote:
> > That depends. It usually just outputs what is piped into
> > /dev/xconsole.
> > [...]
>
> Would you mind showing a default/typical/custom (whatever) config file
> so that I can compare with mine?
No problem. But it's from a debian system... From /etc/syslog.conf:
---snip---
# The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
# you must invoke `xconsole' with the `-file' option:
#
# $ xconsole -file /dev/xconsole [...]
#
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
# busy site..
#
daemon.*;mail.*;\
news.crit;news.err;news.notice;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
---snip---
I don't have currently syslog-ng running, but I think I remember that
similar configuration was in /etc/syslog-ng/syslog-ng.conf (maybe
commented out?)
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: X without console log window?
2006-02-13 18:15 ` Hans-Werner Hilse
@ 2006-02-13 23:28 ` Mick
2006-02-15 20:20 ` Mick
1 sibling, 0 replies; 12+ messages in thread
From: Mick @ 2006-02-13 23:28 UTC (permalink / raw
To: gentoo-user
Hans-Werner Hilse wrote:
> No problem. But it's from a debian system... From /etc/syslog.conf:
> ---snip---
> # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
> # you must invoke `xconsole' with the `-file' option:
> #
> # $ xconsole -file /dev/xconsole [...]
> #
> # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
> # busy site..
> #
> daemon.*;mail.*;\
> news.crit;news.err;news.notice;\
> *.=debug;*.=info;\
> *.=notice;*.=warn |/dev/xconsole
> ---snip---
>
> I don't have currently syslog-ng running, but I think I remember that
> similar configuration was in /etc/syslog-ng/syslog-ng.conf (maybe
> commented out?)
Thanks! I'll have a look.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: X without console log window?
2006-02-13 18:15 ` Hans-Werner Hilse
2006-02-13 23:28 ` [gentoo-user] " Mick
@ 2006-02-15 20:20 ` Mick
2006-02-16 11:54 ` Hans-Werner Hilse
1 sibling, 1 reply; 12+ messages in thread
From: Mick @ 2006-02-15 20:20 UTC (permalink / raw
To: gentoo-user
Hans-Werner Hilse wrote:
>
> No problem. But it's from a debian system... From /etc/syslog.conf:
> ---snip---
> # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
> # you must invoke `xconsole' with the `-file' option:
> #
> # $ xconsole -file /dev/xconsole [...]
> #
> # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
> # busy site..
> #
> daemon.*;mail.*;\
> news.crit;news.err;news.notice;\
> *.=debug;*.=info;\
> *.=notice;*.=warn |/dev/xconsole
> ---snip---
>
> I don't have currently syslog-ng running, but I think I remember that
> similar configuration was in /etc/syslog-ng/syslog-ng.conf (maybe
> commented out?)
Yes, it was commented out as the default setting is to send everything to
tty12:
================================
# By default messages are logged to tty12...
#destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
destination console_all { file("/dev/console"); };
================================
So, now I've uncommented it but every single message is shown not only in
xconsole (which is fine), but in tty1 as well. The latter makes the boot
up messages look very messy indeed.
I don't know if I am asking too much here, but is there a way to:
1. Continue with all messages shown in tty12 as per default syslog-ng
configuration.
2. Also show all/some messages to xconsole.
3. Do not pipe everything to console during/after boot - the default
messages there are adequate for my liking.
Perhaps I am a bit confused: what is the relationship between /dev/console
and xconsole?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: X without console log window?
2006-02-15 20:20 ` Mick
@ 2006-02-16 11:54 ` Hans-Werner Hilse
2006-02-22 11:49 ` Michael Kintzios
0 siblings, 1 reply; 12+ messages in thread
From: Hans-Werner Hilse @ 2006-02-16 11:54 UTC (permalink / raw
To: gentoo-user
Hi,
On Wed, 15 Feb 2006 20:20:49 +0000
Mick <michaelkintzios@lycos.co.uk> wrote:
> > I don't have currently syslog-ng running, but I think I remember that
> > similar configuration was in /etc/syslog-ng/syslog-ng.conf (maybe
> > commented out?)
>
> Yes, it was commented out as the default setting is to send everything to
> tty12:
> ================================
> # By default messages are logged to tty12...
> #destination console_all { file("/dev/tty12"); };
> # ...if you intend to use /dev/console for programs like xconsole
> # you can comment out the destination line above that references /dev/tty12
> # and uncomment the line below.
> destination console_all { file("/dev/console"); };
> ================================
> So, now I've uncommented it but every single message is shown not only in
> xconsole (which is fine), but in tty1 as well. The latter makes the boot
> up messages look very messy indeed.
What a confusion. I use debian here which seems to be configured
differently. But read below...
> I don't know if I am asking too much here, but is there a way to:
> 1. Continue with all messages shown in tty12 as per default syslog-ng
> configuration.
> 2. Also show all/some messages to xconsole.
> 3. Do not pipe everything to console during/after boot - the default
> messages there are adequate for my liking.
>
> Perhaps I am a bit confused: what is the relationship between /dev/console
> and xconsole?
Ah, the xconsole program man page explains it: By default, xconsole
reads from /dev/console. I didn't knew that.
What you want to archieve is more like the solution debian uses. I'll
post it here but I haven't tried it out so I cannot promise that it
works:
syslog-ng.conf:
---snip---
destination xconsole { pipe("/dev/xconsole"); };
destination terminal { file("/dev/tty12"); };
log { source(src); destination(xconsole); }
log { source(src); destination(terminal); }
---snip---
/etc/X11/xdm/Xsetup_0:
---snip---
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole
---snip---
That should do what you want to archieve.
Nice alternative to xconsole is root-tail...
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [gentoo-user] Re: X without console log window?
2006-02-16 11:54 ` Hans-Werner Hilse
@ 2006-02-22 11:49 ` Michael Kintzios
2006-02-22 22:39 ` [gentoo-user] " Mick
0 siblings, 1 reply; 12+ messages in thread
From: Michael Kintzios @ 2006-02-22 11:49 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Hans-Werner Hilse [mailto:hilse@web.de]
> Sent: 16 February 2006 11:55
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: X without console log window?
>
>
> Hi,
>
> On Wed, 15 Feb 2006 20:20:49 +0000
> Mick <michaelkintzios@lycos.co.uk> wrote:
>
> > I don't know if I am asking too much here, but is there a way to:
> > 1. Continue with all messages shown in tty12 as per default
> syslog-ng
> > configuration.
> > 2. Also show all/some messages to xconsole.
> > 3. Do not pipe everything to console during/after boot - the default
> > messages there are adequate for my liking.
> >
> > Perhaps I am a bit confused: what is the relationship
> between /dev/console
> > and xconsole?
>
> Ah, the xconsole program man page explains it: By default, xconsole
> reads from /dev/console. I didn't knew that.
>
> What you want to archieve is more like the solution debian uses. I'll
> post it here but I haven't tried it out so I cannot promise that it
> works:
>
> syslog-ng.conf:
> ---snip---
> destination xconsole { pipe("/dev/xconsole"); };
> destination terminal { file("/dev/tty12"); };
> log { source(src); destination(xconsole); }
> log { source(src); destination(terminal); }
> ---snip---
>
> /etc/X11/xdm/Xsetup_0:
> ---snip---
> xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn
> fixed -exitOnFail -file /dev/xconsole
> ---snip---
>
> That should do what you want to archieve.
> Nice alternative to xconsole is root-tail...
I've played around with your suggestions but had no joy with them.
Syslog-ng came up with many errors and although I tried different
combinations I couldn't get it to work.
Root-tail is cool but it gets covered up by different windows. Do you
launch it as a default by entering a line in /etc/X11/xdm/Xsetup_0 ?
Xconsole does what I want it to do, but I would also like to get tty12
printing all messages and ideally would like xconsole to be positioned
above the fluxbox toolbar (height wise).
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] RE: Re: X without console log window?
2006-02-22 11:49 ` Michael Kintzios
@ 2006-02-22 22:39 ` Mick
0 siblings, 0 replies; 12+ messages in thread
From: Mick @ 2006-02-22 22:39 UTC (permalink / raw
To: gentoo-user
Michael Kintzios wrote:
>
>
>> -----Original Message-----
>> From: Hans-Werner Hilse [mailto:hilse@web.de]
>> Sent: 16 February 2006 11:55
>> To: gentoo-user@lists.gentoo.org
>> Subject: Re: [gentoo-user] Re: X without console log window?
>>
>>
>> Hi,
>>
>> On Wed, 15 Feb 2006 20:20:49 +0000
>> Mick <michaelkintzios@lycos.co.uk> wrote:
>>
>> > I don't know if I am asking too much here, but is there a way to:
>> > 1. Continue with all messages shown in tty12 as per default
>> syslog-ng
>> > configuration.
>> > 2. Also show all/some messages to xconsole.
>> > 3. Do not pipe everything to console during/after boot - the default
>> > messages there are adequate for my liking.
>> >
>> > Perhaps I am a bit confused: what is the relationship
>> between /dev/console
>> > and xconsole?
>>
>> Ah, the xconsole program man page explains it: By default, xconsole
>> reads from /dev/console. I didn't knew that.
>>
>> What you want to archieve is more like the solution debian uses. I'll
>> post it here but I haven't tried it out so I cannot promise that it
>> works:
>>
>> syslog-ng.conf:
>> ---snip---
>> destination xconsole { pipe("/dev/xconsole"); };
>> destination terminal { file("/dev/tty12"); };
>> log { source(src); destination(xconsole); }
>> log { source(src); destination(terminal); }
>> ---snip---
>>
>> /etc/X11/xdm/Xsetup_0:
>> ---snip---
>> xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn
>> fixed -exitOnFail -file /dev/xconsole
>> ---snip---
>>
>> That should do what you want to archieve.
>> Nice alternative to xconsole is root-tail...
>
> I've played around with your suggestions but had no joy with them.
> Syslog-ng came up with many errors and although I tried different
> combinations I couldn't get it to work.
>
> Root-tail is cool but it gets covered up by different windows. Do you
> launch it as a default by entering a line in /etc/X11/xdm/Xsetup_0 ?
OK, I managed to spend some time looking into this. For those who are still
watching this thread this is what I now have working happily:
============================================
# under my destination settings:
destination xconsole { pipe("/dev/xconsole"); };
destination console { file("/dev/console"); };
# under my filter settings:
filter f_info { level(info); };
filter f_notice { level(notice); };
filter f_warn { level(warn); };
filter f_crit { level(crit); };
filter f_err { level(err); };
filter f_failed { match("failed"); };
filter f_denied { match("denied"); };
# under my log settings:
log { source(src); filter(f_emergency); destination(console); };
log { source(src); filter (f_warn); destination(console); };
log { source(src); filter (f_err); destination(console); };
log { source(src); filter (f_crit); destination(console); };
log { source(src); filter (f_notice); destination(console); };
log { source(src); filter (f_failed); destination(console); };
log { source(src); filter (f_denied); destination(console); };
============================================
You can modify the above to change verbosity or amount of messages that
xconsole spews at you. tty12 stills logs everything as per default
settings.
I've also added a bit of colour in the default blunt xterm used by xconsole,
just by editing /etc/X11/xdm/Xsetup_0:
============================================
xconsole -geometry 480x130-0-0 -fg green -bg black -daemon -notify -verbose
-fn fixed -exitOnFail
============================================
I hope this helps someone (besides me of course ;-).
Thanks for your responses which got me thinking.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-02-22 22:45 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-10 21:08 [gentoo-user] X without console log window? Urs Schuetz
2006-02-11 14:47 ` Hans-Werner Hilse
2006-02-11 20:52 ` Urs Schuetz
2006-02-13 11:24 ` Michael Kintzios
2006-02-13 12:33 ` Hans-Werner Hilse
2006-02-13 14:23 ` Michael Kintzios
2006-02-13 18:15 ` Hans-Werner Hilse
2006-02-13 23:28 ` [gentoo-user] " Mick
2006-02-15 20:20 ` Mick
2006-02-16 11:54 ` Hans-Werner Hilse
2006-02-22 11:49 ` Michael Kintzios
2006-02-22 22:39 ` [gentoo-user] " Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox