You could try something like: script startx Then exit X when it's done, and the script command should've put the output into a text file for you. adrian