Loading the OpenFOAM bashrc by default makes the Ubuntu 20.10 desktop unale to load (X11-only)
I stumbled upon a very weird issue that I can consistently reproduce on the same system. After installing OpenFOAM v2006 on Ubuntu 20.10 (see #1902 (closed)) and adding source "/usr/lib/openfoam/openfoam2006/etc/bashrc"
to my ~/.bashrc
, my desktop fails to launch in X11, while it loads normally on Wayland.
There is no error, the system simply returns to the login screen after a few seconds. Removing this line from my ~/.bashrc
or making it an alias (so that I load it on demand) fixes the issue.
Any clue why this could happening? Can you reproduce it?