You are not logged in.

#1 2007-10-29 14:49:18

itchanddino
Member
Registered: 2007-10-29
Posts: 3

I want to view the terminal output of startxfce4

Hello.  I want to be able to view the output from startxfce4.  I checked the logs in /var/log but none of them had the information I wanted.  Is there a way I can save this output to a file?  For example, when fooling around with iptables I'll do something like iptables-save > /home/xxxx/iptables.bak.  Thanks!

Offline

#2 2007-10-29 15:19:59

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: I want to view the terminal output of startxfce4

Startxfce4 itself is a script, just redirect the output smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2007-10-29 15:35:01

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: I want to view the terminal output of startxfce4

If you start that from vc/1 for example, you can just go back to that terminal with alt + ctrl + F1 and view the output. Alternatively you do startxfce4 &>> xfce4output.txt.

Offline

#4 2007-10-29 15:50:14

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: I want to view the terminal output of startxfce4

Depending on how you start X (_dm or otherwise), all the relevant stuff should all be in ~/xsession-errors.  GDM does this automagically.

If you call the start from your inittab as I do, I use the following command to make sure I still get stderr logs:

x:5:respawn:/bin/su buttons -l -c "/bin/bash --login -c startx >/dev/null 2>/home/buttons/.xsession-errors"

Obviously if you'd rather see that stdout output, change ">/dev/null" into something more useful.


Cthulhu For President!

Offline

Board footer

Powered by FluxBB