You are not logged in.

#1 2012-03-13 19:13:17

MachinegunDojo
Member
Registered: 2012-03-10
Posts: 6

Unable to locate startx log file

I get some random errors when I do "startx", nothing that is preventing me from working but things I'd like to look into.  I am easily able to locate the Xorg.0.log file, but I am wanting to find the logs I can see when I do a Ctrl+Alt+F1 after doing "startx".  When I am trying to do a search for where this log is located all I ever find is the Xorg.0.log file, but it is not showing the information I am looking for. For example one of my errors is about the xfce4-mixer-plugin:847 and there are 3 of them, which is not in the xorg.0.log file but showing up in my screen when I do Ctrl+Alt+F1(BTW is there a proper name for this screen?).  I am sure I can search and figure out these problems on my own if I only knew where the heck this log file was to make life easier than having to retype everything out manually.

Offline

#2 2012-03-13 19:59:18

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Unable to locate startx log file

A log of what you want isn't normally kept.  Try

$ startx > $HOME/startx.log 2>&1

Output and error messages should now be saved to the 'startx.log' file in your home directory.

Offline

#3 2012-03-13 20:52:12

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Unable to locate startx log file

$ startx &> ~/.Xoutput

Or you could set up aliases, either in /etc/bash.bashrc (system-wide) or in ~/.bashrc:

alias startx='startx &> ~/.Xoutput'
alias bgterm='aterm -T bgterm -tr +sb -bg white -fg black -g 130x15+33+830 -bl -cr "#A5A5A5" -e tail -F -n +3 ~/.Xoutput'

The second one is for a transparent terminal (aterm) on the desktop that constantly tails the tty1 (Ctrl+Alt+F1) output, starting from line #3. That bgterm window can be set to "skip_taskbar" in the Openbox rc.xml file or with the help of wmctrl:

$ wmctrl -r bgterm -b add,below,skip_taskbar

Have fun.

Last edited by DSpider (2012-03-13 22:48:36)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB