This sounds a bit strange, especially if it only happens sometimes
It seems as if, when you run the first terminal, it is invoking bash in non-interactive mode. That would explain the lack of a command prompt. The fact that you get the 'license and no warranty message and the last login time message' also suggests that it is being run as a login shell which is not what I would expect when running from the desktop.
Do you get the license message on the second terminal?
You could insert 'echo' commands in the startup scripts to provide some debugging info.
The scripts that are executed by bash at startup for a login shell are
though on my system ~/.bash_profile and ~/.bash_login do not exist.
For normal interactive shells the startup scripts are
You could start by adding an 'echo' command to the start and end of each of these files to identify which ones are being executed. Something like
Code: Select all
echo "Start /etc/profile"
echo "End /etc/profile"
at the top and bottom of '/etc/profile' and similarly for the other startup scripts.
Note that you will need to edit the files in '/etc/' as root by using 'sudo nano <filename>'.
For more details about bash startup have a look at the 'man' page
especially the INVOCATION section.