.xsession-error location

kde 4.6 and opensuse 11.4.

Could someone tel me the path/location of .xsession-error file.

I’m tired of searching

In your /home/*yourusername
View hidden files

Alt + . is the shortcut in KDE

Ctrl + H is for gnome

Start a terminal and do

cat .xsession-errors

It is given by the value assigned to ClientLogFile in /usr/share/kde4/config/kdm/kdmrc. If you didn’t change this value, it will be in your home directory - assuming you log in with kdm.

grep ClientLogFile /usr/share/kde4/config/kdm/kdmrc

It is normally .xsession-errors btw.

thanks a lot. I never knew there were hidden files in linux

If the file name begins with “.”, then it is hidden. There isn’t any special “hide” permission. It’s just a tradition, that files with name beginning “.” are not normally shown in listing.