.xsession versus .xsessionrc

Could you explain me the difference between these two files that are located in ~ directory? What is the purpose of each of these? What should contain one and not the other, etc.?

thank you
LVL 6
xRalfAsked:
Who is Participating?
 
mccrackyConnect With a Mentor Commented:
Look here (especially at section 7.5.2 and 7.5.3:
http://www.debian.org/doc/manuals/reference/ch07.en.html#_customizing_the_x_session_classic_method

The difference seems to be whether you are overriding bits of system code or not.
0
 
arnoldConnect With a Mentor Commented:
Unix/Linux rc marks indicates a user configuration file.
i.e. .bashrc
.ntftprc
pine.rc.

This is where a user can customize the behavior of their shell/application that is different from the default system configuration.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.