After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748491 - ~/.bash_profile run by gnome during login -- user has 'ulimit -u MAXPROCESSES' . result: gnome crippled
~/.bash_profile run by gnome during login -- user has 'ulimit -u MAXPROCESSES...
Status: RESOLVED DUPLICATE of bug 736660
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-26 17:23 UTC by gnomebug
Modified: 2015-08-13 15:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnomebug 2015-04-26 17:23:49 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
Comment 1 Ray Strode [halfline] 2015-04-27 13:51:56 UTC
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.
Comment 2 Ray Strode [halfline] 2015-08-13 15:33:34 UTC

*** This bug has been marked as a duplicate of bug 736660 ***