Re: X Trials and Tribulations was (missing library for X)
On Mon 11 Jan 1999, Christopher C Chimelis wrote:
> On Mon, 11 Jan 1999, Jeff Katcher wrote:
>
> > I want to redirect the output of startx to a file so that i can see
> > what might be the problem further up in the init, but startx >~/X.txt
> > gives me a blank file. I saw a way to do this earlier on the
> > debian-user
> > list, but forgot to save it.
>
> Try startx 2>&1 > ~/X.txt
Make that startx > ~/X.txt 2>&1 as the other example first sends
stderr to the same fd as stdout, then changes the stdout fd, leaving
the stderr fd pointing to the OLD stdout fd.
Paul Slootman
--
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
Reply to: