Score:0

After login, Server never gets to prompt

gh flag

I am not fluent in Linux, but have been trying to expand my horizons, leveraging Ubuntu or derivatives to get more familiar with the OS.

I have run into an issue that has me grasping at straws. I have a Ubuntu 22.04.3 LTS Server install that has been working fine for months. Out of the blue, after logging into the server, no prompt comes up...just a flashing cursor after the "state of the server" information comes up on screen. Screenshot

I don't know why the ~$ prompt is no longer coming up, and I haven't had any luck finding information via online searches. There is only 1 account on the server, so there are no other accounts for me to try logging in with. I have logged in via Single User mode, ensured all patches have been applied, verified hard drive space, but haven't been able to find anything that helps me resolve the situation. Any ideas would be appreciated.

hr flag
This may be simply an empty prompt string (`$PS1`) but more often is due to a long-running or possibly recursive shell process (such as sourcing `.bashrc` from `.profile` and then sourcing `.profile` from `.bashrc`)
Rick S. avatar
gh flag
Thanks for the info. I've compared the .profile and .bashrc against a working VM I have, and they are identical, yet 1 machine works as expected and the other does not. No commands work, pressing the 'Enter' key does nothing, and typing any commands does nothing.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.