GNOME Bugzilla – Bug 748491
~/.bash_profile run by gnome during login -- user has 'ulimit -u MAXPROCESSES' . result: gnome crippled
Last modified: 2015-08-13 15:33:34 UTC
My ~/.bash_profile has this statement: ulimit -u 225 In fedora 20 and 21 when I login to gnome, apparently gnome runs my ~/.bash_profile, and the 'ulimit -u 225'. The result is that gnome is crippled. If I open a terminal window right after gnome login: # notice I have not run 'bash --login': $ ulimit -u $ 225 Why does gnome run my ~/.bash_profile on startup? -- thanks, Tom
the Xsession script shipped with some distros runs a single login shell as part of the login process, precisely so ~/.bash_profile is run at start up. Not all distros do this, and we don't even run the Xsession script for wayland sessions, so it's not clear what the future holds for this behavior.
*** This bug has been marked as a duplicate of bug 736660 ***