linutil icon indicating copy to clipboard operation
linutil copied to clipboard

[Bug]: MyBash causes booting issues on Omarchy

Open fivves opened this issue 2 months ago • 9 comments

Problem Description

Installing bash prompt in Linutil causes a login screen loop on the latest issue of Omarchy (3.1)

Proposed solution

Fix the bash script to be compatible with Omarchy 3.1

Alternatives

No response

Additional Context

No response

Checklist

  • [x] I checked for duplicate issues.
  • [x] I checked already existing discussions.
  • [x] This feature is not included in the roadmap.

fivves avatar Oct 19 '25 20:10 fivves

I was experiencing the same thing. I would get to the Omarchy login, enter my password and it would kick me to a different login page (maybe SDDM?). I'd enter my password there, the screen would go blank for a moment and kick me back to the SDDM(?) login screen.

I restored my backup of the original .bashrc and was able to get logged in.

https://github.com/basecamp/omarchy/issues/2620

TMartinPPC avatar Oct 22 '25 15:10 TMartinPPC

We resolved this via adding a missing guard. https://github.com/basecamp/omarchy/commit/83d4349ea13c514abfe52b0ae31276d54b5bdf4a

ryanrhughes avatar Oct 25 '25 19:10 ryanrhughes

@fivves @TMartinPPC can you confirm this can be closed?

adamperkowski avatar Oct 25 '25 22:10 adamperkowski

Looking at this again; while our inserting that guard helps, it's really only a temporary shim. The installer here appears to override the .bashrc entirely which will cause this same issue for others in the future.

https://github.com/ChrisTitusTech/linutil/blob/1ae1b7e1f7545a11f59fc749c40f041e38e5d172/core/tabs/applications-setup/mybash-setup.sh#L106

The default .bash_profile contains [[ -f ~/.bashrc ]] && . ~/.bashrc which will just yank everything in and when sourced by SDDM in, will cause this same issue we had people seeing.

ryanrhughes avatar Oct 26 '25 06:10 ryanrhughes

@ryanrhughes what do you suggest?

adamperkowski avatar Oct 26 '25 09:10 adamperkowski

Confirmed still happening as of 10/28/2025

PowershellBacon avatar Oct 28 '25 23:10 PowershellBacon

This issue still persists, I tried it today and loop is boring to fix I had to re-install Omarchy again.

Kevinmuriks avatar Oct 29 '25 12:10 Kevinmuriks

There is no reason to reinstall Omarchy if you have this issue, follow the advice of @fivves here: https://www.reddit.com/r/omarchy/comments/1odjce6/updated_today_and_now_i_am_booting_into_a/

propkop avatar Nov 08 '25 07:11 propkop

I had the same problem with COSMIC, I think the problem is on Wayland only DEs with these lines in the .bashrc

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then

exec startx

fi

I commented that out and I was able to login

dpertierra avatar Nov 18 '25 11:11 dpertierra

I had the same problem with COSMIC, I think the problem is on Wayland only DEs with these lines in the .bashrc

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then

exec startx

fi I commented that out and I was able to login

This has been commited to official mybash repo so it will not do this anymore.

ChrisTitusTech avatar Dec 02 '25 20:12 ChrisTitusTech