How does one trap the output from xdm or kdm or startx or startkde? It is
failing for some reason and without documentation, I am a loss to figure out
why. Thanks much.
Jason
Jason
Sent via Deja.comQuote:> How does one trap the output from xdm or kdm or startx or startkde?
It is
> failing for some reason and without documentation, I am a loss to
figure out
> why. Thanks much.
> Jason
Try this:Quote:> How does one trap the output from xdm or kdm or startx or startkde?
It is
> failing for some reason and without documentation, I am a loss to
figure out
> why. Thanks much.
$ startx 2>&1 > logfile
That should write all STDOUT (2) and STDERR (1) msgs to the logfile.
HTH
Bluster
Sent via Deja.com
http://www.deja.com/
# redirect errors to a file in user's home directory if we can
for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER"
"/tmp/xses-$USER"
do
if ( cp /dev/null "$errfile" 2> /dev/null )
then
chmod 600 "$errfile"
exec > "$errfile" 2>&1
break
fi
done
This would normally redirect the KDE start up messages to
"$HOME/.xsession-errors".
If you don't have it, you could add something like:
echo > ~/.xsession-errors
exec > ~/.xsession-errors 2>&1
Then you also need to be sure that kdm or xdm is being executed.
The last line of "inittab" passes control to something -- probably a script --
to start the process.
You can change this to:
x:5:once:/usr/bin/kdm
{where the number and the path might be different on your system}
and see if that fixes it.
JRT
should read
$ startx > logfile 2>&1
Sent via Deja.com
http://www.deja.com/
1. How to trap output logs from xdm, kdm, startx, etc?
How does one trap the output from xdm or kdm or startx or startkde? It is
failing for some reason and without documentation, I am a loss to figure out
why. Thanks much.
Jason
2. setting up a "client" PPP on Solaris 2.3?
3. startx, xinit, xdm, kdm, gdm,...I'm confused
4. redhat7.1 apache1.3 Reinstallation with latest release v20
5. KDM\XDM and console log problem
6. Preparation for Linux install w/2 HD's and many partitions...Help!
7. Problem logging in with XDM/KDM - User auth problems
8. Virtual hosting under Apache on RedHat Linux 5.2
9. xdm/kdm and console log problem
10. /var/log/kdm.log exceeding 800M
11. problems customizing xdm with /etc/X11/xdm/Xresources
12. getting xdm to read /etc/profile and /etc/environment
13. kdm doesn't allow root to startx