You are not logged in.

#1 2020-07-12 22:01:13

nemya9066
Member
Registered: 2020-06-13
Posts: 9

Finnaly figured out why my xorg hang the system.

Hello everyone today xinit broke on me  again and just froze the system. This a common issue I see here and the third time it happened to me personally I used to just reinstall arch but not today today I finally found out the reason why and honestly it's so dump.
Apparently xinit expect bash to work and if you change the /bin/sh to link to zsh for example it will break.
I tested with dash and xinit still worked so only zsh break it.
This isn't the only the only weird thing I found out surprisingly sx(a startx alternative you can install from the repo) work fine when sh is liking to zsh but xorg still had some problem as I couldn't exit i3 normally(it hanged when I exited) and had to kill -9 the Xorg process from another tty to  quit.
I think this is a bug as zsh should turn to posix compliant mode when linked to sh and also as I said xorg worked fine with sx as an init should I report this to xinit or to xorg-server ?

Offline

#2 2020-07-12 22:02:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Finnaly figured out why my xorg hang the system.

nemya9066 wrote:

if you change the /bin/sh to link to zsh for example it will break.

Why would you do this?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-07-12 22:03:56

nemya9066
Member
Registered: 2020-06-13
Posts: 9

Re: Finnaly figured out why my xorg hang the system.

jasonwryan wrote:
nemya9066 wrote:

if you change the /bin/sh to link to zsh for example it will break.

Why would you do this?

honestly there is no reason to if you would change sh to zsh and not dash I just like to tinker a lot smile

Offline

#4 2020-07-13 05:44:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,764

Re: Finnaly figured out why my xorg hang the system.

It's probably rather a script inside xinitrc than xinit itself and whenever says "problem with zsh" the immediate question will be: do you use OMZ?
I'd "strace -f" the xiit call to see where it stalls.

Online

Board footer

Powered by FluxBB