Red Hat Bugzilla – Bug 8671
X messages go to console
Last modified: 2008-05-01 11:37:53 EDT
Instead of cluttering up tty1 with X messages, why not redirect its output to a file in /tmp?
? Where are you getting X messages from - startx?
Er.. no, I thought it was happening in runlevel 5. I can't seem to reproduce it
now. Must have imagined it..(!)
Aha, found it. If you install a KDE workstation, X messages go to tty1. kdm
problem I guess.
This still happens in piglet-0220.
This still happens in piglet-0228.
tim: which X messages are these: the startup information from X, or other
Startup from X. It only seems to affect my home machine (a 486), so perhaps
there's a timing issue.
Also happens on my PII 330.
--- /etc/X11/prefdm.orig Thu Aug 24 12:01:24 2000
+++ /etc/X11/prefdm Thu Aug 24 12:03:46 2000
@@ -36,6 +36,6 @@
if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
- exec `which $preferred` $*
+ exec `which $preferred` $* &> /var/log/xdm.log
I think notting may have incorporated this patch (or one like it).
7.0 redirects output of *dm to /dev/null (Yes, I'd prefer /var/log/something,