You are not logged in.

#26 2021-06-21 20:05:16

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Thank you very much for your help! I managed to solve the problem on my own smile Some time ago I was tinkering with changing my Shell from Bash to zsh and as a n00b I changed the /bin/sh link from /bin/bash to /bin/zsh. When I changed the symlink back to /bin/bash  Xorg started working again. Now I understand my mistake and I know that chsh command should have been enough and I didn't have to touch /bin/sh symlink.

Last edited by sewe2000 (2021-06-21 20:07:32)

Offline

#27 2021-06-21 20:22:40

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

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

That doesn't explain the failing/stalled X11 server at all and also zsh should be sufficiently bash-compatible to run startx.
Do you use oh-my-zsh?

Offline

#28 2021-06-21 20:29:54

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

I was happy too early, but there's a progress. The default .xinitrc works fine but mine not exactly. When I run startx the display becomes Black as normal and then after a few seconds I'm back and the command prompt. Then I can see warnings about unresolved keysyms. When I run startx as root Xorg falls back and use default xinitrc, even though I explicitly commanded to use ~/.xinitrc.

Are you using Oh my Zsh?

Yes

Last edited by sewe2000 (2021-06-21 20:34:50)

Offline

#29 2021-06-21 20:36:37

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

sewe2000 wrote:

Are you using Oh my Zsh?

Yes

Then get rid of it. It's a big pile of steaming mess that is well known to break all sorts of random things.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#30 2021-06-21 20:39:42

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

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

And get rid of xf86-video-ati, it doesn't support your GPU and should™ not be loaded and I assume it's what's messing things up (based on the Xorg log you posted)

If you have any doubts reg. OMZ: you mentioned zsh and I asked for it - the reason is that whenever the words "zsh" and "problem" appear in a sentence, OMZ is gonna be the next.
It *is* that bad.

Offline

#31 2021-06-22 05:46:12

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

OK, thank you for help and advise. I didn't know that this kind of shell customizing tool can break something in my system. I removed Oh My Zsh and  I changed my .xinitrc file in which I removed the wile loop and just left "exec dwm" and it worked. I only Had problem with glyphs on tags in dwm, but I just added monospace font which supported those glyphs and problem was gone.

Offline

Board footer

Powered by FluxBB