.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
Who is Participating?
mccrackyConnect With a Mentor Commented:
Look here (especially at section 7.5.2 and 7.5.3:

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

This is where a user can customize the behavior of their shell/application that is different from the default system configuration.
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.